pFlag (PULONG) - output

      A pointer to a ULONG containing a set of attribute flags describing the type of allocation and access protection for the specified range of addresses.

      Allocation Type

      PAG_COMMIT (0x00000010)

        Pages within the specified region are committed.
      PAG_SHARED (0x00002000)
        Pages within the specified region are in a shared memory object. Otherwise, the addresses are in a private memory object.
      PAG_FREE (0x00004000)
        Pages within the specified region are free.
      PAG_BASE (0x00010000)
        First address in the specified region is the first address in an allocated memory object.
      Access Protection

      PAG_READ (0x00000001)

        Read access to the committed range of addresses is allowed.
      PAG_WRITE (0x00000002)
        write access to the committed range of addresses is allowed.
      PAG_EXECUTE (0x00000004)
        Execute access to the committed range of addresses is allowed.
      PAG_GUARD (0x00000008)
        Access to the committed range of addresses causes a "guard address entered" condition to be raised in the subject process.


      [Back: DosTestAddr Parameter - pcb]
      [Next: DosTestAddr Return Value - ulrc]