Allows the debugger to create objects in the application process.
Syntax
HRESULT CreateInstanceAtApplication( REFCLSID rclsid, IUnknown *pUnkOuter, DWORD dwClsContext, REFIID riid, IUnknown **ppvObject );
Parameters
- rclsid
- [in] Class identifier of the object being created.
- pUnkOuter
- [in] Address of the IUnknown interface of the outer object, if the current instance of IRemoteDebugApplication is part of an aggregate.
- dwClsContext
- [in] Unsigned long integer value that specifies the context of the running executable code.
- riid
- [in] Interface identifier of the object being created.
- ppvObject
- [out, iid_is(riid)] Address of a pointer to the requested IUnknown interface.
Remarks
This method delegates object creation to CoCreateInstance.
Return Value
Returns S_OK if successful, or an error code otherwise.