|
File-Mapping Objects
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.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|