GetWsChanges

The GetWsChanges function retrieves information about the pages that have been added to the working set of the specified process since the InitializeProcessForWsWatch function initiated monitoring.

BOOL GetWsChanges(
  HANDLE hProcess,  // handle to the process
  PPSAPI_WS_WATCH_INFORMATION lpWatchInfo,
                    // structure that receives information
  DWORD cb          // size of the structure
);
 

Parameters

hProcess
Handle to the process.
lpWatchInfo
Pointer to the PSAPI_WS_WATCH_INFORMATION structure that receives information about a page added to a process working set.
cb
Specifies the size, in bytes, of the PSAPI_WS_WATCH_INFORMATION structure.

Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

See Also

Process Status Helper Overview, PSAPI Functions, EnumProcesses, InitializeProcessForWsWatch, PSAPI_WS_WATCH_INFORMATION