Code :
LPUNKNOWN pUnkOuter; DWORD dwClsContext; LPVOID *ppv = NULL; static CLSID const clsid = { 0xe97ee6eb, 0x7fbe, 0x43b1, { 0xb6, 0xd8, 0xc4, 0xd8, 0x6c, 0x78, 0xc5, 0xa0 } }; static CLSID const riid = {}; if( CoCreateInstance(clsid,pUnkOuter,dwClsContext,riid,ppv) == S_OK ) ...
|