Structure ConfigurationBlock

3DS Max Plug-In SDK

Structure ConfigurationBlock

See Also: Class MaxNetManager, Structure ManagerInfo, Structure ServerInfo, Structure ClientInfo

Description:

This structure is available in release 4.0 and later only.

This structure is used by the Network Rendering API to store information about the system.

typedef struct {

DWORD dwTotalPhys;

The system’s total physical memory, retrieved through GlobalMemoryStatus().

DWORD dwNumberOfProcessors;

The number of processors in the system, retrieved through GetSystemInfo().

DWORD dwMajorVersion;

The system’s major version, retrieved through GetVersionEx().

DWORD dwMinorVersion;

The system’s minor version, retrieved through GetVersionEx().

DWORD dwBuildNumber;

The system’s build number, retrieved through GetVersionEx().

DWORD dwPlatformId;

The system’s platform ID, retrieved through GetVersionEx().

TCHAR szCSDVersion[128];

The system’s CSD version, retrieved through GetVersionEx().

char user[MAX_PATH];

The logged in user’s name, retrieved through GetUserName().

char tempdir[MAX_PATH];

The temporary directory, retrieved through ExpandEnvironmentStrings().

char name[MAX_PATH];

The name of the computer, retrieved through GetComputerName().

char workDisk;

The disk, indexed by drive letter, used for server files such as incomming jobs. The index is alphabetical, disk A = 0, disk B = 1, etc.

DWORD disks;

The bit map representing the available disks. Disk A = 0x1, B = 0x2, C = 0x4, etc.

DWORD diskSpace[26];

The space available on disks in MegaBytes, indexed by drive letter. Disk A = diskSpace[0], B = diskSpace[1], etc.

BYTE mac[8];

The computer NIC hardware address (00:00:00:00:00:00), which is 6 bytes and 2 padding bytes.

char reserved[32];

Reserved for future use.

} ConfigurationBlock;