A process or thread cannot wait on an access-token object because the access-token object type does not support the SYNCHRONIZE standard access type.
The access rights defined for file-mapping objects are STANDARD_RIGHTS_REQUIRED and the rights given in the following table.
Value | Meaning |
FILE_MAP_READ | Read access to the file-mapping object is requested. This allows a readable view of the file to be mapped. |
FILE_MAP_WRITE | Write access to the file mapping object is requested. This allows a writable view of the file to be mapped. If the file mapping access rights do not include PAGE_READWRITE, this access type does not allow writing the mapped file. |
SECTION_EXTEND_SIZE | Required to extend the size of a file mapping object. |
SECTION_MAP_EXECUTE | Required to complete an operation in a file mapping object. |
SECTION_MAP_READ | Equivalent to FILE_MAP_READ. |
SECTION_MAP_WRITE | Equivalent to FILE_MAP_WRITE. |
SECTION_QUERY | Required to query a file mapping object. |
If the call to the CreateFileMapping function specifies the PAGE_READWRITE protection flag, the handle to the file mapping object has SECTION_QUERY | SECTION_MAP_READ | SECTION_MAP_WRITE access. If the call to CreateFileMapping specifies PAGE_READONLY, the handle of the file mapping object has SECTION_QUERY | SECTION_MAP_READ access.
The FILE_MAP_ALL_ACCESS access right specifies all possible access rights for the file mapping object. The SECTION_ALL_ACCESS access right is equivalent to it.
For more information about file-mapping objects, see File Mapping.