IDebugSystemObjects3::GetCurrentSystemServerName method (dbgeng.h)

Gets the server name for the current process.

Syntax

HRESULT GetCurrentSystemServerName(
  [out]           PSTR   Buffer,
  [in]            ULONG  BufferSize,
  [out, optional] PULONG NameSize
);

Parameters

[out] Buffer

A pointer to an output buffer.

[in] BufferSize

The size of the buffer. 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

IDebugSystemObjects3