Adp4K_ReadAlarmedSlot

 

This function code is used to read the Alarm slot list.

 

C/C++

int Adp4K_ReadAlarmedSlot( int hConnection,

DWORD * dwAlarm);

 

Visual Basic

Declare Function Adp4K_ReadAlarmedSlot Lib "MXIO.dll" (ByVal hConnection As Long, nAlarm As Long) As Long

 

Arguments:

hConnection

The handle for a connection.

DwAlarm

A pointer that stores the Alarm slot list. The corresponding bit represents slot position. The wAlarm bit 0 is represented by the first slot and bit 31 is represented by the last slot. The values are:

0: Normal slot

1: Alarm slot

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.