(Page 9 of 11 in this chapter)


CxDriverCommand

Description

Issues the specified driver command.

Prototype

SWPINT SWPENTRY CxDriverCommand (SwiHANDLE sw,
SWPINT SwCmd,
SWPINT FAR *SwParams,
SWPINT num_params);

sw Switch handle returned by CxGetSwitchHd.

SwCmd Command name as defined in swext.h.

SwParams Pointer to buffer of parameters for command.

num_params Size of buffer in SWPINTs.

Return Values

SUCCESS, or an error code from swpath.h. (See the SwitchPath Technical Reference Manual for more information about this file.)

Availability

OS/2 UNIX Windows NT

Note: In SwitchPath version 1.1 for OS/2, the CxDriverCommand function is not referenced in swpath.lib. Obtain the latest versions of swpath.h and swpath.lib by contacting Developer Support or by downloading the files from the Natural MicroSystems bulletin board.

5.7.2 Command Descriptions

On the following pages are descriptions of the QUERY_TIMESLOT and CONFIG_GAIN commands.



(Page 9 of 11 in this chapter)


Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights reserved.