操作文件的API(国外英文资料).docVIP

  • 12
  • 0
  • 约1.75万字
  • 约 22页
  • 2017-07-05 发布于河南
  • 举报
操作文件的API(国外英文资料)

操作文件的API Recently, I looked at DLLCALL, so I looked at API and saw that these functions on the operation file were closed Here are the API functions and functions that are provided in windows for file operations: CloseHandle closes a kernel object. These include files, file mappings, processes, threads, security and synchronization objects, and so on. CompareFileTime compares the time of the two files based on the information of the FILETIME structure CopyFile copy files. Note: you can only copy files, not directories CreateFile this is a fully functional function that opens and creates files, pipes, mail slots, communications services, devices, and consoles DeleteFile deletes the specified file FindClose closes a search handle created by the FindFirstFile function FindFirstFile finds files based on file names FindNextFile looks for the next file based on a file name specified when calling the FindFirstFile function FlushFileBuffers refreshes the internal file buffer against the specified file handle GetBinaryType determines whether the file can be executed GetFileAttributes determines the properties of the specified file The GetFileInformationByHandle function can access all of the above function can access the information, such as size, attributes, but also unable to get some other local information, such as file label, index and link information. GetFileSize determines the file length GetFileTime gets the time information for the specified file, with three file times: creation time, last access time, and last writing time. GetFileType determines the file type on the premise that the file handle is given GetFileVersionInfo gets file version information from a module that supports version Tags GetFileVersionInfoSize for a file that contains version resources, it takes a large buffer to determine how much file version information is required to accommodate GetFullPathName gets the file path, which gets the full pathname of the file. Note: only when the file is in th

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档