CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2006
    Posts
    37

    Thumbs down Detecting Capacity Of VRAM Installed

    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

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Detecting Capacity Of VRAM Installed

    I am not sure if it is the same, but WMI class Win32_VideoController has a member called AdapterRAM.

    WMI C++ Application Examples.
    Regards,
    Ramkrishna Pawar

  3. #3
    Join Date
    Dec 2006
    Posts
    37

    Wink Re: Detecting Capacity Of VRAM Installed

    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

  4. #4
    Join Date
    Jan 2007
    Posts
    11

    Re: Detecting Capacity Of VRAM Installed

    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"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured