If this parameter is zero, the application can query certain metadata such as file, directory, or device attributes without accessing that file or device, even if GENERIC_READ access would have been denied. For more information, see Generic Access Rights, File Security and Access Rights, File Access Rights Constants, and ACCESS_MASK. The most commonly used values are GENERIC_READ, GENERIC_WRITE, or both ( GENERIC_READ | GENERIC_WRITE). The requested access to the file or device, which can be summarized as read, write, both or neither zero). For more information, see File Streams.įor information about opting out of the MAX_PATH limitation without prepending "\\?\", see the "Maximum Path Length Limitation" section of Naming Files, Paths, and Namespaces for details. To create a file stream, specify the name of the file, a colon, and then the name of the stream. The name of the file or device to be created or opened.įor information on special device names, see Defining an MS-DOS Device Name. LPCREATEFILE2_EXTENDED_PARAMETERS pCreateExParams Syntax WINSTORAGEAPI HANDLE noexcept CreateFile2FromAppW( The behavior of this function is identical to CreateFile2, except that this function adheres to the Universal Windows Platform app security model.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |