MXIO_GetModuleType

 

This function reports the model name of the Network Adapter and the I/O modules.

 

C/C++

int MXIO_GetModuleType(int hConnection,

BYTE bytSlot,

WORD * wType);

 

Visual Basic

Declare Function MXIO_GetModuleType Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytSlot As Byte, iType As Integer) As Long

 

Arguments:

hConnection

I/O device handle for a connection.

bytSlot

Slot number of the I/O device to be checked. The ioLogik 4000 Network Adapter's Slot number is always 0. The Slot number ranges from 0 to 32. . But this parameter is inactive in ioLogik 2000.

wType

A pointer that stores the model name. If the value is 0x4010, the model name is NA-4010.

Refer to the Model name reference table for more information.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.