Table 6-4 List Of Actions Of The Gendocontrolex Function Specified By Dwport; Table 6-5 List Of Actions Of The Gendocontrolex Function Specified By Dwcmd - Hitachi HF-W7500 40 Manual

Industrial computer, ras features
Table of Contents

Advertisement

(2) Function interface (GendoControlEx)
<Name>
GendoControlEx - Output control for the general purpose external contacts (GENDO0 /
<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
GENDO0_PORT (0x01)
GENDO1_PORT (0x02)
GENDO2_PORT (0x03)
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
GENDO_OPEN (0x00)
GENDO_CLOSE (0x01)
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.
GENDO1 / GENDO2)
Performs the action on the general purpose external
contact (GENDO0).
Performs the action on the general purpose external
contact (GENDO1).
Performs the action on the general purpose external
contact (GENDO2).
Opens the general purpose external contact specified by
dwPort.
Closes the general purpose external contact specified by
dwPort.
Explanation of the action
Explanation of the action
6-9
6. LIBRARY FUNCTIONS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents