Debugging Tools for Windows |
The GetIdentity and GetIdentityWide methods return a string describing the computer and user this client represents.
HRESULT
IDebugClient::GetIdentity(
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG IdentitySize
);
HRESULT
IDebugClient5::GetIdentityWide(
OUT OPTIONAL PWSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG IdentitySize
);
#ifdef UNICODE
#define GetIdentityT GetIdentityWide
#else
#define GetIdentityT GetIdentity
#endif
This method may also return error values. See Return Values for more details.
GetIdentity is available in all versions of IDebugClient. GetIdentityWide is available in IDebugClient5 and later versions.
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.
Headers: Defined in dbgeng.h. Include dbgeng.h.