IDebugSystemObjects4::GetCurrentSystemServerNameWide method (dbgeng.h)

Gets the server name for the current process.

Syntax

HRESULT GetCurrentSystemServerNameWide(
  [out]           PWSTR  Buffer,
  [in]            ULONG  BufferSize,
  [out, optional] PULONG NameSize
);

Parameters

[out] Buffer

A pointer to an output buffer as a Unicode character string.

[in] BufferSize

The buffer size. This size includes the space for the '\0' terminating character.

[out, optional] NameSize

A pointer to the name size. This size includes the space for the '\0' terminating character.

Return value

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

Return code Description
S_OK
The method was successful.

Requirements

Requirement Value
Target Platform Windows
Header dbgeng.h (include Dbgeng.h)

See also

Debugging Session and Execution Model

IDebugSystemObjects4