flag (ULONG) - input

      A set of attribute flags that specify the desired access protection for the shared memory object.

      Desired Access Protection

      The following access protections are available:

    • PAG_READ
      Read access

    • PAG_WRITE
      Write access

    • PAG_EXECUTE
      Execute access to the committed pages in the shared memory object.

    • PAG_GUARD
      Access to the committed pages in the shared memory object causes a "guard page entered" condition to be raised in the subject process.

      At least one of the bits PAG_READ, PAG_WRITE, or PAG_EXECUTE must be specified.


    [Back] [Next]