PSAPI_WORKING_SET_EX_BLOCK union

Contains extended working set information for a page.

Syntax


typedef union _PSAPI_WORKING_SET_EX_BLOCK {
  ULONG_PTR Flags;
  struct {
    ULONG_PTR Valid  :1;
    ULONG_PTR ShareCount  :3;
    ULONG_PTR Win32Protection  :11;
    ULONG_PTR Shared  :1;
    ULONG_PTR Node  :6;
    ULONG_PTR Locked  :1;
    ULONG_PTR LargePage  :1;
    ULONG_PTR Reserved  :7;
    ULONG_PTR Bad  :1;
#if defined(_WIN64)
    ULONG_PTR ReservedUlong  :32;
#endif 
  };
  struct {
    ULONG_PTR Valid  :1;
    ULONG_PTR Reserved0  :14;
    ULONG_PTR Shared  :1;
    ULONG_PTR Reserved1  :15;
    ULONG_PTR Bad  :1;
#if defined(_WIN64)
    ULONG_PTR ReservedUlong  :32;
#endif 
  } Invalid;
} PSAPI_WORKING_SET_EX_BLOCK, *PPSAPI_WORKING_SET_EX_BLOCK;

Members

Flags

The working set information. See the description of the structure members for information about the layout of this variable.

Valid

If this bit is 1, the subsequent members are valid; otherwise they should be ignored.

ShareCount

The number of processes that share this page. The maximum value of this member is 7.

Win32Protection

The memory protection attributes of the page. For a list of values, see Memory Protection Constants.

Shared

If this bit is 1, the page can be shared.

Node

The NUMA node. The maximum value of this member is 63.

Locked

If this bit is 1, the virtual page is locked in physical memory.

LargePage

If this bit is 1, the page is a large page.

Reserved

Reserved.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This member is not available before Windows Server 2012 and Windows 8.

Bad

If this bit is 1, the page is has been reported as bad.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This member is not available before Windows Server 2012 and Windows 8.

ReservedUlong

Reserved. This member is only available on 64-bit code running on 64-bit editions of Windows.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This member is not available before Windows Server 2012 and Windows 8.

Invalid

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This structure is not available before Windows Server 2012 and Windows 8.

Valid

If this bit is 0, the subsequent members are valid; otherwise they should be ignored.

Reserved0

Reserved.

Shared

If this bit is 1, the page can be shared.

Reserved1

Reserved.

Bad

If this bit is 1, the page is has been reported as bad.

ReservedUlong

Reserved. This member is only available on 64-bit code running on 64-bit editions of Windows.

Requirements

Minimum supported client

Windows Vista, Windows XP Professional x64 Edition [desktop apps only]

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only]

Header

Psapi.h

See also

PSAPI Structures
PSAPI_WORKING_SET_EX_INFORMATION
QueryWorkingSetEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft