次の方法で共有


IOCTL_SERVICE_CALLBACK_FUNCTIONS (Windows Embedded CE 6.0)

1/6/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 GetLastError function.

Requirements

Header service.h

See Also

Reference

Services.exe IOCTLS