Called when a service manager is closed on a context.
DWORD xxxCloseServiceManager (CTAHD ctahd, void *mgrcontext)
|
Argument |
Description |
|
ctahd |
Context handle. |
|
mgrcontext |
Pointer to data structure containing device information for a single client returned by xxxOpenServiceManager. |
SUCCESS or any Natural Access or service-specific error code.
xxxCloseServiceManager is invoked immediately after the last service provided by this service manager is closed on a context using ctaCloseServices.
This function should de-allocate any resources allocated in xxxOpenServiceManager and unregister any wait objects.
For more information about this function, refer to Shutting down services.
dispUnregisterWaitObject, xxxAttachServiceManager, xxxCloseService