CoGetClassObject function ole32
int
CoGetClassObject(
- Pointer<
GUID> rclsid, - int dwClsContext,
- Pointer<
NativeType> pvReserved, - Pointer<
GUID> riid, - Pointer<
Pointer< ppv,NativeType> >
Provides a pointer to an interface on a class object associated with a specified CLSID. CoGetClassObject locates, and if necessary, dynamically loads the executable code required to do this.
HRESULT CoGetClassObject(
REFCLSID rclsid,
DWORD dwClsContext,
LPVOID pvReserved,
REFIID riid,
LPVOID *ppv
);
Implementation
int CoGetClassObject(Pointer<GUID> rclsid, int dwClsContext, Pointer pvReserved,
Pointer<GUID> riid, Pointer<Pointer> ppv) =>
_CoGetClassObject(rclsid, dwClsContext, pvReserved, riid, ppv);