Using File Management
The following samples use the file management functions.
In this section
| Topic | Description |
|---|---|
|
Example code that shows how to add a new user to an existing encrypted file by using the AddUsersToEncryptedFile function. | |
|
Example code that shows how an application can append one file to the end of another file, including how to open and close files, read and write to files, and lock and unlock files. | |
|
Example code that shows how to create a temporary file for data manipulation purposes by using the GetTempFileName and GetTempPath functions. | |
|
Example code that shows byte range locking and unlocking by using the LockFileEx and UnlockFileEx functions. | |
|
Example code that shows how to use the CreateFile function to create a new file or open an existing file. | |
|
Example code that shows how to use the GetFileAttributesEx function to retrieve file attributes. | |
|
Example code that shows how to test for the end of file during a synchronous read operation and during an asynchronous read operation. | |
|
Example code that shows how to use basic NTFS file system streams. |