6. LIBRARY FUNCTIONS
6-9
(2) Function interface (GendoControlEx)
<Name>
GendoControlEx - Output control for the general purpose external contacts (GENDO0 /
GENDO1 / GENDO2)
<Syntax>
#include <w2kras.h>
BOOL GendoControlEx(DWORD dwPort, DWORD dwCmd);
<Description>
This function performs the action specified by dwCmd on the general purpose external
contact (GENDO0, GENDO1, or GENDO2) of the RAS external contacts interface specified
by dwPort.
Table 6-4 shows a list of actions that can be specified by dwPort.
Table 6-4 List of Actions of the GendoControlEx Function Specified by dwPort
dwPort
Explanation of the action
GENDO0_PORT (0x01)
Performs the action on the general purpose external
contact (GENDO0).
GENDO1_PORT (0x02)
Performs the action on the general purpose external
contact (GENDO1).
GENDO2_PORT (0x03)
Performs the action on the general purpose external
contact (GENDO2).
Table 6-5 shows a list of actions that can be specified by dwCmd.
Table 6-5 List of Actions of the GendoControlEx Function Specified by dwCmd
dwCmd
Explanation of the action
GENDO_OPEN (0x00)
Opens the general purpose external contact specified by
dwPort.
GENDO_CLOSE (0x01)
Closes the general purpose external contact specified by
dwPort.
If a value other than the above is specified, this function terminates with an error. If you call
the GetLastError Windows API function, an error code W2KRAS_INVALID_PARAMETER
is returned.
Summary of Contents for HF-W7500 40
Page 1: ...WIN 63 0090 03 ...
Page 2: ...WIN 63 0090 03 ...
Page 23: ...This page is intentionally left blank ...
Page 105: ...This page is intentionally left blank ...