Brick icon

DirectXParse

Brick | PRO | 10/03/16 02:38:14 AM UTC | 0 ⭐ | 249 👁️ | Never ⏰ | []
C++ |

760 B

|

None

|

0 👍

/

0 👎

#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 } }

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎