DI2K_GetFilter

 

This function code is used to get the filter of a specific D/I channel.

 

C/C++

int DI_GetFilter( int hConnection,

BYTE bytChannel,

WORD * wFilter);

 

Visual Basic

Declare Function DI2K_GetFilter Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, iFilter As Integer) As Long

 

Arguments:

hConnection

The handle for an I/O device's connection.

bytChannel

The specific channel to be get.

wFilter

A pointer that stores a specific D/I channel's filter value.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.