|
Description
|
Shuts down a previously started ISDN protocol stack instance and releases all on-board resources and buffers used by the protocol stack instance.
|
|
Prototype
|
DWORD isdnStopProtocol ( CTAHD ctahd )
ctahd CTA context handle associated with a D channel, returned by ctaCreateContext or adiOpenPort.
|
|
Return Values
|
SUCCESS
CTAERR_INVALID_CTAHD
The CTA context handle is invalid.
CTAERR_INVALID_STATE
An ISDN protocol stack instance has not been started on the specified CTA context handle, or the instance is being started, or the instance is already stopped, or the instance is already in the process of stopping.
|
|
Events
|
ISDNEVN_STOP_PROTOCOL
The value field of this event contains the completion status of the protocol stopping operation. If the instance stopped successfully, the value field contains SUCCESS. Otherwise, an error appears here.
|
|
Details
|
Shuts down a previously started ISDN protocol stack instance and releases all HDLC LAPD or Q.931 ACU resources and buffers associated with the instance.
|
|
See Also
|
isdnStartProtocol
|