Description This command is used to set the status of one of the Doors.
Input Param LPWFSSIUSETDOOR
lpSetDoor;
typedef struct _wfs_siu_set_door
{
WORD wDoor;
WORD fwCommand;
} WFSSIUSETDOOR, * LPWFSSIUSETDOOR;
wDoor
Specifies the index of the Door to set as one of the following values:
Value Meaning
WFS_SIU_CABINET Bolt/unbolt the Cabinet doors.
WFS_SIU_SAFE Bolt/unbolt the Safe doors.
WFS_SIU_VANDALSHIELD Set position of the Vandal Shield.
fwCommand
Specifies if the Cabinet or Safe doors should be bolted or unbolted or if the position of the Vandal Shield should be changed, as one of the following flags:
Value Meaning
WFS_SIU_BOLT Bolt the Safe- or Cabinet doors.
WFS_SIU_UNBOLT Unbolt the Safe- or Cabinet doors.
WFS_SIU_OPEN Open the Vandal Shield.
WFS_SIU_SERVICE Position the Vandal Shield in service position.
WFS_SIU_KEYBOARD Position the Vandal Shield to permit access to the keyboard.
WFS_SIU_CLOSED Close the Vandal Shield.
See WFS_CMD_SIU_SET_PORTS command for a detailed description.
Output Param None.
Error Codes The following additional error codes can be generated by this command:
Value Meaning
WFS_ERR_SIU_INVALID_PORT An attempt to set a port to a new value was invalid because the port does not exist or the port is pre-configured as an input port.
WFS_ERR_SIU_SYNTAX The command was invoked with incorrect input data.
WFS_ERR_SIU_PORT_ERROR A hardware error occurred while executing the command.
Events The following additional events can be generated by this command:
Value Meaning
WFS_EXEE_SIU_PORT_ERROR An error occurred while attempting to set the status of the door.
Comments None.