Detaches a service manager from a Natural Access queue.
DWORD xxxDetachServiceManager (CTAQUEUEHD ctaqueuehd, void *queuecontext)
|
Argument |
Description |
|
ctaqueuehd |
Handle created by the dispatcher in the call to ctaCreateQueue. |
|
queuecontext |
Pointer to the data structure allocated in xxxAttachServiceManager. |
SUCCESS or any Natural Access or service-specific error code.
xxxDetachServiceManager is invoked when the Natural Access queue is destroyed using ctaDestroyQueue.
This function should de-allocate any resources allocated in xxxAttachServiceManager and unregister any wait objects.
For more information about this function, refer to Shutting down event handling.