The TAPICLIENT_ClientShutdown function is called when a client detaches from the telephony server.
Every Client Management DLL must export TAPICLIENT_ClientShutdown.
LONG TAPICLIENT_ClientShutdown(
HMANAGEMENTCLIENT hmClient
);
Returns zero if the function succeeds; otherwise returns one of the following values:
LINEERR_NOMEM
LINEERR_OPERATIONFAILED