xxxDetachServiceManager

Detaches a service manager from a Natural Access queue.

Prototype

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.


Return values

SUCCESS or any Natural Access or service-specific error code.

Details

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.

See also

dispUnregisterWaitObject