ConfigurationBlock.h

Go to the documentation of this file.
00001 //**************************************************************************/
00002 // Copyright (c) 1998-2008 Autodesk, Inc.
00003 // All rights reserved.
00004 // 
00005 // These coded instructions, statements, and computer programs contain
00006 // unpublished proprietary information written by Autodesk, Inc., and are
00007 // protected by Federal copyright law. They may not be disclosed to third
00008 // parties or copied or duplicated in any form, in whole or in part, without
00009 // the prior written consent of Autodesk, Inc.
00010 //**************************************************************************/
00011 #pragma once
00012 
00013 #include <WTypes.h>
00014 #include "..\maxheap.h"
00015 #include "..\strbasic.h"
00016 
00017 
00022 struct ConfigurationBlock : public MaxHeapOperators
00023 {
00025     SIZE_T dwTotalPhys;            //-- GlobalMemoryStatus();
00027     DWORD   dwNumberOfProcessors;   //-- GetSystemInfo();
00029     DWORD   dwMajorVersion;         //-- GetVersionEx();
00031     DWORD   dwMinorVersion;         //-- GetVersionEx();
00033     DWORD   dwBuildNumber;          //-- GetVersionEx();
00035     DWORD   dwPlatformId;           //-- GetVersionEx();
00037     MCHAR   szCSDVersion[128];      //-- GetVersionEx();
00039     MCHAR   user[MAX_PATH];         //-- GetUserName();
00041     MCHAR   tempdir[MAX_PATH];      //-- ExpandEnvironmentStrings()
00043     MCHAR   name[MAX_PATH];         //-- GetComputerName()
00046     char    workDisk;               //-- Disk used for Server files (incomming jobs, etc. A = 0, B = 1, etc)
00049     DWORD   disks;                  //-- Available disks (bitmap A=0x1, B=0x2, C=0x4, etc)
00052     DWORD   diskSpace[26];          //-- Space available on disks in MegaBytes (A=diskSpace[0], B=diskSpace[1], etc.)
00055     BYTE    mac[8];                 //-- Computer NIC address (00:00:00:00:00:00) 6 bytes + 2 padding
00057     char    reserved[32];
00058 };