Skip to main content
PxeGetServerInfo function

Returns information about the PXE server.

Syntax


DWORD PXEAPI PxeGetServerInfo(
  _In_   PXE_GSI_TYPE uInfoType,
  _Out_  PVOID pBuffer,
  _In_   ULONG uBufferLen
);

Parameters

uInfoType [in]

Selects the information that will be returned.

ValueMeaning
PXE_GSI_TRACE_ENABLED
1

Returns a BOOL that indicates whether tracing is enabled for the server. TRUE indicates that tracing is enabled.

 

pBuffer [out]

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.

uBufferLen [in]

Size of buffer pointed to by the pBuffer parameter.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]

Header

WdsPxe.h

Library

WdsPxe.lib

DLL

WdsPxe.dll

See also

Windows Deployment Services Server Functions