ServicesexeCallbackFunctions
This structure contains a set of callback functions. Services.exe passes this structure to the xxx_IOControl function during the startup of stand-alone services.
typedef struct _ServicesExeCallbackFunctions {
PFN_SERVICE_SHUTDOWN pfnServiceShutdown;
}ServicesExeCallbackFunctions;
Members
- pfnServiceShutdown
Pointer to the PFN_SERVICE_SHUTDOWN callback function, which is called by the service to shut down a service that is running in standalone mode.
Remarks
The PFN_SERVICE_SHUTDOWN callback function is only called when a service is running in stand-alone mode, in its own copy of Services.exe. The service calls this function to request itself to be unloaded and the Services.exe process to exit. For services that are not running in stand-alone mode, the DeregisterService should be used instead to cause the service to be unloaded.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Service.h.
See Also
xxx_IOControl | DeregisterService
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.