Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6774371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:46:45+00:00 2026-05-26T15:46:45+00:00

What win32 APIs are useful to code a tool as described here: My goal

  • 0

What win32 APIs are useful to code a tool as described here:

My goal is a tool that can be used to check/report if a specific part of a file is located/available in-memory (RAM) or in virtual memory (disk) at a moment ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:46:45+00:00Added an answer on May 26, 2026 at 3:46 pm

    VirtualQuery QueryWorkingSetEx does that, specifically the Locked bit in PSAPI_WORKING_SET_EX_BLOCK. VirtualQuery as I’ve incorrectly pointed out initially merely lets you tell whether pages are committed and such, not whether they’re actually in physical RAM. For Linux, it would be mincore, which simply returns a byte vector (LSB == 1 for in-core).

    Note that the information you get is a snapshot, which means the information may in principle already be outdated at the time the function returns (much like GetCurrentProcessorNumber).
    So, treat the information as a (probably more or less accurate, but unreliable) hint, not a guarantee.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Win32-specific APIs, is there an easy way to start an external application to
What are the Win32 APIs to use to programically delete files and folders? Edit
I've got a moderately complex iterator written which wraps the FindXFile apis on Win32.
In writing Win32 C++ code, I'd appreciate some hints on how to handle errors
I know that I can consume COM components but is there a way to
Can anyone clarify if the GDI StretchBlt function for the workstation Win32 API performs
I'm aware that I can grab the CPU identifier and the volume serial number
Unix has a variety of sleep APIs (sleep, usleep, nanosleep). The only Win32 function
Using the Win32 APIs, is it possible to create a Window or Dialog in
How can I implement encryption between server side in (php/python) and C++ (Win32/Native Windows)?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.