Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.04.18;
Скачать: CL | DM;

Вниз

Марка проца.....   Найти похожие ветки 

 
Djon007 ©   (2004-02-15 21:26) [0]

Добрый вечер мастера. Подскажите где в реестре посмотреть марку проца.(cel,pen,atlon и т д)


 
Soft ©   (2004-02-15 22:18) [1]

int GetProcessorType(void);
GetProcessorType determines the type of processor being run on the user"s system.
Return Value
The return value is either zero (for 8086), one (for 80186), two (for 80286), three (for 80386), or four (for 80486).


Точнее на MSDN http://msdn.microsoft.com/


 
Soft ©   (2004-02-15 22:39) [2]

The GetSystemInfo function returns information about the current system.
VOID GetSystemInfo(
   LPSYSTEM_INFO lpSystemInfo  // address of system information structure  
  );


Parameters
lpSystemInfo
Points to a SYSTEM_INFO structure to be filled in by this function.


he SYSTEM_INFO structure contains information about the current computer system. This includes the architecture and type of the processor, the number of processors in the system, the page size, and other such information.

typedef struct _SYSTEM_INFO { // sinf  
   union {
       DWORD  dwOemId;
       struct {
           WORD wProcessorArchitecture;
           WORD wReserved;
       };
   };
   DWORD  dwPageSize;
   LPVOID lpMinimumApplicationAddress;
   LPVOID lpMaximumApplicationAddress;
   DWORD  dwActiveProcessorMask;
   DWORD  dwNumberOfProcessors;
   DWORD  dwProcessorType;
   DWORD  dwAllocationGranularity;
   WORD  wProcessorLevel;
   WORD  wProcessorRevision;

} SYSTEM_INFO;


 
Игорь Шевченко ©   (2004-02-15 23:10) [3]


> где в реестре посмотреть марку проца


Ключ
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
Ключ верен на NT-системах, на Win9X вероятно, может не быть 0 на конце.

Параметр
ProcessorNameString
или
Identifier



Страницы: 1 вся ветка

Текущий архив: 2004.04.18;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.032 c
9-1066389446
Landgraph
2003-10-17 15:17
2004.04.18
Подскажите, пожалуйста, ссылку =)


1-1080705443
мыш
2004-03-31 07:57
2004.04.18
Глупое дерево


14-1080293236
Dmitriy O.
2004-03-26 12:27
2004.04.18
О методах шифрованного общения через иннет.


6-1076701830
Gefest
2004-02-13 22:50
2004.04.18
Подсчет трафика!


3-1079942830
ikondakov
2004-03-22 11:07
2004.04.18
Синхронизация нескольких таблиц .dbf