CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Aug 2009

    Return values of some WMI classes

    I have a question regarding the output values of the WMI class Win32_PageFileSetting Class.

    I am executing a WQL query, and want to retrieve the property values of InitialSize and MaximumSize. However, they return a value of 0. Since my pagefile is set to be managed by Windows automatically, could that be a reason it returns a 0 value?
    Also, does that mean that custom page file sizes will produce other outputs? How would I know (using the WMI) that a pagefile size has been set to custom?

    Thanks everyone!
    Last edited by aommaster; August 15th, 2009 at 08:49 AM. Reason: Solved two of my problems and moved another question to a separate thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

By using this site, you agree to the Privacy Policy