Page 1 of 1

can't find some constants

Posted: Fri Jul 23, 2004 2:47 pm
by tonnelier
I need the value of IID_IWbemObjectSink and IID_IUnknown, but don't find it in my doc and header files.
Does anybody khnow where to find the IIDs? (the format is the GUID one)

Posted: Fri Jul 23, 2004 9:27 pm
by Sparkie
I got these from the MSDN SDK OLE/COM Object Viewer...

Code: Select all

DataSection

;7C857801-7381-11CF-884D-00AA004B2E24
IID_IWbemObjectSink:
Data.l $7C857801
Data.w $7381, $11CF
Data.b $88, $4D, $00, $AA, $00, $4B, $2E, $24 

;00000000-0000-0000-C000-000000000046
IID_IUnknown:
Data.l $00000000
Data.w $0000, $0000
Data.b $C0, $00, $00, $00, $00, $00, $00, $46

EndDataSection