Click to return to the Component Development home page    
IRemoteDebugApplication::...     IRemoteDebugApplication::...     IRemoteDebugApplication I...    
Web Workshop  |  Component Development

IRemoteDebugApplication::CreateInstanceAtApplication Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.