IDebugClient2::GetIdentity method

The GetIdentity method returns a string describing the computer and user this client represents.

Syntax

HRESULT GetIdentity(
  PSTR   Buffer,
  ULONG  BufferSize,
  PULONG IdentitySize
);

Parameters

Buffer

Specifies the buffer to receive the string. If Buffer is NULL, this information is not returned.

BufferSize

Specifies the size of the buffer Buffer.

IdentitySize

Receives the size of the string. If IdentitySize is NULL, this information is not returned.

Return Value

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

Return code Description
S_OK
The method was successful
S_FALSE
The size of the string was greater than the size of the buffer, so it was truncated to fit into the buffer.

Remarks

The specific content of the string varies with the operating system. If the client is remotely connected, some network information may also be present.

For more information about client objects, see Client Objects.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

OutputIdentity