Presentation is loading. Please wait.

Presentation is loading. Please wait.

WinAPI i System Plików 1. Volume Management 2. Disk Management 3. Directory Management 4. File Management Autor: Tomasz Jurkiewicz.

Similar presentations


Presentation on theme: "WinAPI i System Plików 1. Volume Management 2. Disk Management 3. Directory Management 4. File Management Autor: Tomasz Jurkiewicz."— Presentation transcript:

1 WinAPI i System Plików 1. Volume Management 2. Disk Management 3. Directory Management 4. File Management Autor: Tomasz Jurkiewicz

2 WinAPI i System Plików http://tinyurl.com/winapiwindo ws http://www.fizyka.umk.pl/~jacek/dydaktyka/winprog/referaty/2010- 2011/TJurkiewicz_SystemyPlikow.zip

3 Volume Management 1. GetVolumeInformation 2. GetDriveType 3. GetLogicalDrives 4. GetLogicalDriveStrings 5. SetVolumeMountPoint 6. DeleteVolumeMountPoint 7. GetVolumeNameForVolumeMountPoint

4 Volume Management 8. QueryDosDevice 9. FindFirstVolume 10. FindNextVolume 11. GetVolumePathNamesForVolumeName

5 Volume Management

6

7

8

9

10 Disk Management 1. GetDiskFreeSpaceEx 2. GetDiskFreeSpace

11 Disk Management

12

13 Directory Management 1. CreateDirectory 2. RemoveDirectory 3. GetCurrentDirectory 4. SetCurrentDirectory

14 File Management 1. CreateFile 2. OpenFile 3. WriteFile 4. ReadFile 5. CopyFile 6. EncryptFile 7. DecryptFile

15 File Management 8. DeleteFile 9. FindFirstFile 10. FindNextFile 11. GetBinaryType 12. CreateHardLink 13. GetFileAttributes

16 File Management 14. GetFileSize 15. GetFileType 16. MoveFile

17 File Management Desired Access: GENERIC_ALL GENERIC_EXECUTE GENERIC_READ GENERIC_WRITE Share Mode: 0 FILE_SHARE_DELETE FILE_SHARE_READ FILE_SHARE_WRITE

18 File Management Creation Disposition: CREATE_ALWAYS CREATE_NEW OPEN_ALWAYS OPEN_EXISTING TRUNCATE_EXISTING Flags and attibutes: FILE_ATTRIBUTE_ARCHIVE FILE_ATTRIBUTE_ENCRYPTED FILE_ATTRIBUTE_HIDDEN FILE_ATTRIBUTE_NORMAL FILE_ATTRIBUTE_OFFLINE FILE_ATTRIBUTE_READONLY FILE_ATTRIBUTE_SYSTEM FILE_ATTRIBUTE_TEMPORARY Template File

19 File Management

20

21

22


Download ppt "WinAPI i System Plików 1. Volume Management 2. Disk Management 3. Directory Management 4. File Management Autor: Tomasz Jurkiewicz."

Similar presentations


Ads by Google