ServicesexeCallbackFunctions
A version of this page is also available for
4/8/2010
This structure contains a set of callback functions. Services.exe passes this structure to the xxx_IOControl (Services.exe)function during the startup of stand-alone services.
Syntax
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 stand-alone 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.
Requirements
Header | service.h |
Windows Embedded CE | Windows CE .NET 4.2 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |