53 *ppvObject =
static_cast<IPersist*
>(
this);
56 else if (iid == IID_IStdMarshalInfo)
80#define DECLARE_QIPTR(type) CComQIIDPtr<I_ID(type)>
81#elif defined(__GNUC__)
82#define DECLARE_QIPTR(type) CComQIIDPtr<I_ID(type)>
83#elif defined(__RATL__)
84#define DECLARE_QIPTR(type) CComQIIDPtr<I_ID(type)>
86#define DECLARE_QIPTR(type) CComQIPtr<type>
119 CComPtr<IUnknown> spUnk(unk);
#define DECLARE_QIPTR(type)
#define InterlockedIncrement
#define InterlockedDecrement
#define ok_long(expression, result)
STDMETHOD() QueryInterface(REFIID iid, void **ppvObject)
STDMETHOD_(ULONG, AddRef)()
STDMETHOD() GetClassID(CLSID *pClassID)
STDMETHOD_(ULONG, Release)()
STDMETHOD() GetClassForHandler(DWORD dwDestContext, void *pvDestContext, CLSID *pClsid)