Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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_SHUTDOWNcallback 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 SetLastErrorfunction.

Requirements

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