I want to get graphic card informations like name, memory size, driver
version.
How to do that?
It must works on every versions of Windows. (not only on NT or on 95/98).
I think the best way to do that is read it from Windows registry.. but...
where is it ?
Darrow
Hi Darrow,
In case of XP Look into the path
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\
From the Class section find the Class ID for the display device
It will be something like this {4D36E968-E325-11CE-BFC1-08002BE10318}
see inside /0000 key you will get graphics card name, driver version
etc.
The path will be different for different OS versions .
Inorder to tackle this find "proper key path programmatically" by
using your windows version number.
Regards
[Anaz K Kabeer]
Thanks Anaz!
I am using Windows XP Pro and here is complete information but...
There is no info about video card memory size...
There is name, driver version , driver name and a lot of other useful
informations but without memory size...
Where I can find it ?
Darrow
I've never used it but it looks like it'll do the job.
Regards,
Ed
"Darrow" <rus...@wp.pl> wrote in message
news:bgqv3q$fpf$1...@nemesis.news.tpi.pl...
instance of Win32_VideoController
{
AdapterCompatibility = "NVIDIA";
AdapterDACType = "Integrated RAMDAC";
AdapterRAM = 33554432;
Availability = 3;
Caption = "NVIDIA GeForce2 MX/MX 400";
ConfigManagerErrorCode = 0;
ConfigManagerUserConfig = FALSE;
CreationClassName = "Win32_VideoController";
CurrentBitsPerPixel = 32;
CurrentHorizontalResolution = 800;
CurrentNumberOfColors = "4294967296";
CurrentNumberOfColumns = 0;
CurrentNumberOfRows = 0;
CurrentRefreshRate = 72;
CurrentScanMode = 4;
CurrentVerticalResolution = 600;
Description = "NVIDIA GeForce2 MX/MX 400";
DeviceID = "VideoController1";
DeviceSpecificPens = 4294967295;
DriverDate = "20021118091500.000000-000";
DriverVersion = "6.13.10.4109";
InfFilename = "oem0.inf";
InfSection = "nv4";
InstalledDisplayDrivers = "nv4_disp.dll";
MaxRefreshRate = 240;
MinRefreshRate = 60;
Monochrome = FALSE;
Name = "NVIDIA GeForce2 MX/MX 400";
NumberOfColorPlanes = 1;
PNPDeviceID =
"PCI\\VEN_10DE&DEV_0110&SUBSYS_00000000&REV_B2\\4&9FD38EF&0&0008";
Status = "OK";
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = "DDO";
VideoArchitecture = 5;
VideoMemoryType = 2;
VideoModeDescription = "800 x 600 x 4294967296 米.";
VideoProcessor = "GeForce2 MX/MX 400";
};
--
Dmitry Davletbaev
ha...@mgn.ru
"Darrow" <rus...@wp.pl> wrote in message:
news:bgttn6$kmr$1...@nemesis.news.tpi.pl...
It looks very nice but I don't know what WMI is :(
Where I can learn WMI ?
Currently I am using both Pascal(Delphi) and C++
Darrow
--
Dmitry Davletbaev
ha...@mgn.ru
"Darrow" <rus...@wp.pl> wrote in message:
news:bh32qk$lcp$1...@nemesis.news.tpi.pl...