NODE_STRUCT Structure

The NODE_STRUCT structure contains the Connect:Direct® node information. This structure contains the node name, the login information, operating system information, and protocol information. This information is stored in the Registry and is sent to the client after successfully logging on.

Structure

 struct Node_Struct 
 { 
	TCHAR Name[MAX_NODE_NAME_LEN+1]; 
	TCHAR CDName[MAX_NODE_NAME_LEN+1]; 
	TCHAR Server[MAX_OBJECT_NAME+1]; 
	long ApiVersion; 
	long SecurePlusVersion; 
	int CompLevel; 
	int SelectedOSType; 
	int OSType 
	int SubType 
	TCHAR Userid[MAX_OBJECT_NAME+1]; 
	TCHAR Password[MAX_OBJECT_NAME+1]; 
	BOOL bTemporary; 
	BOOL bRememberPW; 
	int Protocol TCHAR TcpAddress[MAX_TCP_ADDRESS+1] 
 }; 
 typedef struct Node_Struct NODE_STRUCT;

Members

Member Description
Name [MAX_NODE_NAME_LEN+1] The Connect:Direct node alias name.
CDName [MAX_NODE_NAME_LEN+1] The Connect:Direct node name.
Server [MAX_OBJECT_NAME+1] The file server name.
ApiVersion The API version.
SecurePlusVersion The Secure+ version; value is 0 if Secure+ is not supported.
CompLevel The KQV Communications Compatibility Level.
SelectedOSType The user-selected operating system type.
OSType The operating system type.
SubType Specifies subtype information.
Userid [MAX_OBJECT_NAME+1] The user name.
Password [MAX_OBJECT_NAME+1] The user-defined password.
bTemporary Specifies to hold the user information temporary.
bRememberPW Specifies to save the password in the Registry.
Protocol Protocol type.