Hi all,
I want to detect the capacity of the video ram installed into the system. is there any win32 api which detects the system resources such as Video RAM, Processor, RAM, capacity of hard drive and so on.
Thanks and Regards,
Bidesh
Printable View
Hi all,
I want to detect the capacity of the video ram installed into the system. is there any win32 api which detects the system resources such as Video RAM, Processor, RAM, capacity of hard drive and so on.
Thanks and Regards,
Bidesh
I am not sure if it is the same, but WMI class Win32_VideoController has a member called AdapterRAM.
WMI C++ Application Examples.
Thanks krishnaa i read the document on the mentioned link. i might be able to write the code to read the capacity.
Thanks and Regards,
Bidesh
You can use the registry - read from the video card area on the registry. Here is how:
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\VIDEO\Device\Video0
it is a string value which points to the address of the video card details, including the VRAM.
To use it as an address, you must remove the "\Registry\Machine" part of the string, and there you have your address.
It is usually in the registry key:
HKEY_LOCAL_MACHINE\System\ControlSet001\Control\Video\(computer defined area)\0000
There is a binary entry there called "HardwareInformation.MemorySize"