Export (0) Print
Expand All

IDebugClient::CreateClient method

The CreateClient method creates a new client object for the current thread.

Syntax


HRESULT CreateClient(
  [out]  IDebugClient **Client
);

Parameters

Client [out]

Receives an interface pointer for the new client.

Return value

This method may also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

 

Remarks

This method creates a client that may be used in the current thread.

Clients are specific to the thread that created them. Calls from other threads fail immediately. The CreateClient method is a notable exception; it allows creation of a new client for a new thread.

All callbacks for a client are made in the thread with which the client was created.

For more information about client objects and how they are used in the debugger engine, see Client Objects.

Requirements

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugClient
IDebugClient2
IDebugClient3
IDebugClient4
IDebugClient5
DebugCreate

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft