The GetIdentity method returns a string describing the computer and user this client represents.
HRESULT GetIdentity( PSTR Buffer, ULONG BufferSize, PULONG IdentitySize );
Specifies the buffer to receive the string. If Buffer is NULL, this information is not returned.
Specifies the size of the buffer Buffer.
Receives the size of the string. If IdentitySize is NULL, this information is not returned.
This method may also return error values. See Return Values for more details.
||The method was successful|
||The size of the string was greater than the size of the buffer, so it was truncated to fit into the buffer.|
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.
|Header||dbgeng.h (include Dbgeng.h)|