IApplicationDebugger::CreateInstanceAtDebugger Method
Delegates to CoCreateInstance.
Syntax
HRESULT CreateInstanceAtDebugger(
REFCLSID rclsid,
IUnknown *pUnkOuter,
DWORD dwClsContext,
REFIID riid,
IUknown **ppvObject
);
Parameters
- rclsid
- [in] Class identifier (CLSID) of the object.
- pUnkOuter
- [in] Address of an IUnknown interface.
- dwClsContext
- [in] Unsigned long integer value that specifies the context for running executable code.
- riid
- [in] Interface identifier.
- ppvObject
- [out] Address of a pointer to an IUnknown interface.
Return Value
Returns S_OK if successful, or an error code otherwise.