5.4 infoType Parameter Values

The NWCCGetConnInfo and NWCCGetConnRefInfo functions use one of the following flags in the infoType parameter to indicate the type of data to return:

C Value

Value

Minimum Buffer Size: Description

0x0000

NWCC_INFO_NONE

 

0x0001

NWCC_INFO_AUTHENT_STATE

nuint: Returns Authentication state

0x0002

NWCC_INFO_BCAST_STATE

nuint: Returns Broadcast state

0x0003

NWCC_INFO_CONN_REF

nuint32: Returns connection reference

0x0004

NWCC_INFO_TREE_NAME

nstr * length of NW_MAX_TREE_NAME_LEN(33): Returns NDS tree name

0x0005

NWCC_INFO_CONN_NUMBER

nuint: Returns connection number

0x0006

NWCC_INFO_USER_ID

nuint32

0x0007

NWCC_INFO_SERVER_NAME

nstr * length of NW_MAX_SERVER_NAME_LEN(49)

0x0008

NWCC_INFO_NDS_STATE

nuint

0x0009

NWCC_INFO_MAX_PACKET_SIZE

nuint

0x000A

NWCC_INFO_LICENSE_STATE

nuint

0x000B

NWCC_INFO_DISTANCE

nuint

0x000C

NWCC_INFO_SERVER_VERSION

sizeof NWCCVersion

0x000D

NWCC_INFO_TRAN_ADDR

sizeof NWCCTranAddr

0x000E

NWCC_INFO_IDENTITY_HANDLE

nuint32

0xFFFF

NWCC_INFO_RETURN_ALL

Pointer to NWCCConnInfo