Compartilhar via


ServicesexeCallbackFunctions (Windows CE 5.0)

Send Feedback

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.

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

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

See Also

xxx_IOControl (Services.exe) | DeregisterService

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.