PxeProviderServiceControl callback function

Called when a service control code is received by the WDS service. This callback function is registered by calling the PxeRegisterCallback function with the CallbackType parameter set to PXE_CALLBACK_SERVICE_CONTROL.

Syntax

DWORD PXEAPI PxeProviderServiceControl(
  _In_ PVOID pContext,
       DWORD dwControl
);

Parameters

pContext [in]

Context value passed to the PxeRegisterCallback function.

dwControl

Control code. For the list of possible values, see the dwControl parameter of the HandlerEx function.

Return value

If the provider shutdown succeeds, the callback should return ERROR_SUCCESS. In case of failure, an appropriate error code should be returned.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]

See also

Windows Deployment Services Server Functions

PxeRegisterCallback