CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How do you get ALL system metrics ?

    Is there a call to get all the system metrics with one call instead of using TOO MANY calls to GetSystemMetrics() to get each metric one at at time.


  2. #2
    Join Date
    Apr 1999
    Location
    Miami, FL
    Posts
    67

    Re: How do you get ALL system metrics ?

    I don't know of any way to do what you're asking and I kinda doubt that there is a way.

    What I can recommend is to create yourself a structure with all the items you need to retrieve and then pass it into a function that fills it up (through multiple calls to GetSystemMetrics, of course). This will simulate what you need: one call to do it all.

    Cheers!
    Alvaro


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