Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FAR
- #define PURE
- #define PASCAL __stdcall
- #define WINAPI __stdcall
- #define CALLBACK __stdcall
- #define DECLARE_INTERFACE_(s, b) \
- struct s ## Vtbl; \
- struct s \
- { \
- s ## Vtbl * lpVtbl; \
- }; \
- struct s ## Vtbl
- #define STDMETHOD_(type,method) type (WINAPI * method)
- #define STDMETHOD(method) STDMETHOD_(HRESULT, method)
- #define THIS INTERFACE*
- #define THIS_ THIS,
- typedef IID* REFIID;
- typedef GUID* REFGUID;
- typedef CLSID* REFCLSID;
- typedef void VOID;
- #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement