PxeGetServerInfo function (wdspxe.h)

Returns information about the PXE server.

Syntax

DWORD PXEAPI PxeGetServerInfo(
  [in]  PXE_GSI_TYPE uInfoType,
  [out] PVOID        pBuffer,
  [in]  ULONG        uBufferLen
);

Parameters

[in] uInfoType

Selects the information that will be returned.

Value Meaning
PXE_GSI_TRACE_ENABLED
1
Returns a BOOL that indicates whether tracing is enabled for the server. TRUE indicates that tracing is enabled.

[out] pBuffer

Address of a buffer that will receive the results of the query. The size and format of the results depends on the value of the uInfoType parameter.

[in] uBufferLen

Size of buffer pointed to by the pBuffer parameter.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]
Target Platform Windows
Header wdspxe.h
Library WdsPxe.lib
DLL WdsPxe.dll

See also

Windows Deployment Services Server Functions