IOCTL_SERVICE_CALLBACK_FUNCTIONS

This IOCTL provides a pointer to a callback function. Services.exe supports certain callback functions that must be called from a service running in the space of Services.exe, and not through one of the functions exposed by Services.exe. To communicate these callbacks to a service, Services.exe calls this IOCTL on startup and with the functions filled in a function table.

Parameters

  • pBufIn
    [in] Pointer to the PFN_SERVICE_SHUTDOWN callback function, which is used to shut down a stand-alone service.

Return Values

Returns TRUE if successful, FALSE otherwise. To obtain extended error information, call the SetLastError function.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Service.h.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.