ppxCloseSwitch

Forces the PPX server to close an open switch.

Prototype

DWORD ppxCloseSwitch ( CTAHD ctahd, unsigned swnum)

Argument

Description

ctahd

Context handle returned by ctaCreateContext or ctaAttachContext.

swnum

Unsigned switch number.


Return values

Return value

Description

SUCCESS

 

CTAERR_BAD_ARGUMENT

Invalid switch number.

CTAERR_SVR_COMM

Natural Access server communication error.

PPXERR_COMM_FAILURE

Problems were encountered when communicating with the PPX server.


Details

ppxCloseSwitch forces the PPX server to close a switch handle (to perform a swiCloseSwitch). The switch connections remain in place, and the handle to the switch closes.