xxxCloseServiceManager

Called when a service manager is closed on a context.

Prototype

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.


Return values

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

Details

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.

See also

dispUnregisterWaitObject, xxxAttachServiceManager, xxxCloseService