The DebugCreate function creates a new client object and returns an interface pointer to it.
HRESULT DebugCreate( REFIID InterfaceId, PVOID *Interface );
Specifies the interface identifier (IID) of the desired debugger engine client interface. This is the type of the interface that will be returned in Interface. For information about the interface identifier, see Using Client Objects.
Receives an interface pointer for the new client. The type of this interface is specified by InterfaceId.
This method may also return other error values. See Return Values for more details.
||The function was successful.|
||The client object doesn't implement the specified interface.|
The parameters passed to DebugCreate are the same as those passed to IUnknown::QueryInterface, and they are treated the same way.
As with IUnknown::QueryInterface, when the returned interface is no longer needed, its IUnknown::Release method should be called.
|Header||dbgeng.h (include Dbgeng.h)|