Compartir a través de


IOCTL_SERVICE_CALLBACK_FUNCTIONS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Header service.h
Windows Mobile Windows Mobile Version 5.0 and later