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