File processing functions of WIN32 APIs CloseHandle closes a kernel object. This includes file, file ing, process, thread, security, and synchronization objects.
CompareFileTime: Compare the time of two files
CopyFile
CreateDirectory create a new directory
CreateFile
CreateFileMapping creates a new file ing object
DeleteFile: delete a specified file
DeviceIoControl
DosDateTimeToFileTime converts the DOS date and time value to a win32 FILETIME value.
FileTimeToDosDateTime converts a win32 FILETIME value to a DOS Date and Time Value.
FileTimeToLocalFileTime converts a FILETIME structure to the local time
FileTimeToSystemTime loads a SYSTEMTIME structure based on the content of a FILETIME structure.
FindClose closes a search handle created by the FindFirstFile function.
FindFirstFile
FindNextFile searches for the next file based on a file name specified when the FindFirstFile function is called.
FlushFileBuffers refreshes the internal file buffer for the specified file handle
FlushViewOfFile refreshes all data written into the file ing buffer to the disk.
GetBinaryType determines whether the file can be executed
GetCompressedFileSize: determines the actual number of bytes occupied by a compressed file on the disk.
GetCurrentDirectory loads the current directory in a buffer
GetDiskFreeSpace obtains information about the organization of a disk and the capacity of the remaining space.
GetDiskFreeSpaceEx obtains information about the organization of a disk and the remaining space.
GetDriveType determines the type of a disk drive
GetExpandedName: Get the full name of a compressed file
GetFileAttributes determines the attributes of a specified file
GetFileInformationByHandle: This function provides a mechanism for obtaining file information.
GetFileSize determines the file length
GetFileTime: Get the time information of the specified object
GetFileType: determines the file type while giving the file handle.
GetFileVersionInfo obtains the file version information from a module that supports version tagging.
GetFileVersionInfoSize determines the size of a buffer zone for a file containing version Resources
GetFullPathName: Get the complete path name of the specified file
GetLogicalDrives
GetLogicalDriveStrings gets a string containing the root drive path of all current logical drives
GetOverlappedResult determines the current status of an overlapping operation
GetPrivateProfileInt gets an integer for the entry specified in the initialization file (. ini file ).
GetPrivateProfileSection obtains a list Of all item names and values in the specified section (in the. ini file ).
GetPrivateProfileString is the string obtained for the specified entry in the initialization file
GetProfileInt gets an integer of the specified entry in the win. ini initialization file.
GetProfileSection obtains a list Of all item names and values in the specified section (in the win. ini file ).
GetProfileString is the string specified in the win. ini initialization file.
GetShortPathName: Get the short path name of the specified file
GetSystemDirectory: Obtain the complete path name of the Windows System directory (that is, the System directory ).
The GetTempFileName function contains the name of a temporary file, which can be used by applications.
GetTempPath: Get the path specified for the temporary file
GetVolumeInformation obtains information about a disk volume.
GetWindowsDirectory: Obtain the complete path name of the Windows directory
Hread reference lread
Hwrite reference lwrite Function
Lclose closes the specified file
Lcreat creates a file
Llseek sets the current location for reading and writing in the file
LockFile locks a part of the file so that it is not shared with other applications.
LockFileEx is similar to LockFile, but it provides more functions.
Lopen opens the specified file in binary mode.
Lread reads data from files into the memory buffer.
Lwrite writes data from the memory buffer to a file
LZClose closes a file opened by the LZOpenFile or LZInit function.
Copy an object through LZCopy
LZInit: This function is used to initialize the internal buffer.
LZOpenFile: this function can process a large number of different files and is compatible with compressed files.
LZRead reads data from files into the memory buffer
LZSeek sets the current position for reading and writing a file.
MapViewOfFile maps a file ing object to the address space of the current application.
MoveFile
The OpenFile function can perform a large number of different file operations.
OpenFileMapping open a ready-made file ing object
QueryDosDevice in Windows NT, the DOS device name is mapped to the NT System device name. This function can be used to determine the current device ing status.
ReadFile reads data from a file
ReadFileEx is similar to ReadFile, but it can only be used for asynchronous read operations and contains a complete callback.
RegCloseKey disables an entry (or key) in the system registry)
RegConnectRegistry accessing some registries of the remote system
RegCreateKey creates or opens an item under the specified item
RegCreateKeyEx is a more complex way to create a new project under a specified item. We recommend that you use this function in the Win32 environment.
RegDeleteKey: delete a specified subitem under an existing item.
RegDeleteValue deletes a value under a specified item
RegEnumKey refers to the subitem of a specified item. Use RegEnumKeyEx in Win32
RegEnumKeyEx enumeration subitem under a specified item
RegEnumValue enumeration value of a specified item
RegFlushKey writes the changes made to the item and its sub-item to the disk.
RegGetKeySecurity obtains the security information related to a registry key.
RegLoadKey loads registry information from a file previously created using the RegSaveKey Function
This function provides a notification mechanism when the registry key or any of its subkeys change.
RegOpenKey open an existing registry key
RegOpenKeyEx opens an existing item. This function is recommended in win32.
RegQueryInfoKey obtains information related to an item.
RegQueryValue gets the default (untitled) value of a specified item or subitem
RegQueryValueEx obtains the setting value of an item.
RegReplaceKey replaces the registry information with the information saved in a disk file, and creates a backup that contains the current registry information.
RegRestoreKey restores registry information from a disk file
RegSaveKey saves an item and all its sub-items to a disk file.
RegSetKeySecurity: sets the security features of a specified item.
RegSetValue: sets the default value of a specified item or subitem.
RegSetValueEx
RegUnLoadKey uninstalls the specified item and all its sub-items.
RemoveDirectory: delete a specified directory
SearchPath
SetCurrentDirectory
SetEndOfFile sets the current file location to the end of the file for an opened file
SetFileAttributes
SetFilePointer sets the current read/write location in a file
SetFileTime: Set the file creation, access, and last modification time.
The SetHandleCount function does not need to be used in win32. Even if it is used, it will not have any effect.
SetVolumeLabel sets the Label of a disk)
SystemTimeToFileTime loads a SYSTEMTIME structure based on the content of a FILETIME structure.
UnlockFile unlocks a file
UnlockFileEx unlocks a file
UnmapViewOfFile unmaps a file ing object from the memory address space of the current application.
VerFindFile uses this function to determine where a file should be installed.
VerInstallFile uses this function to install a file
Verrentagename: this function can obtain the name of a language based on 16-bit language code.
VerQueryValue: This function is used to obtain information from version resources.
WriteFile writes data to a file
WriteFileEx is similar to WriteFile, but it can only be used for asynchronous write operations and includes a complete callback.
WritePrivateProfileSection sets all item names and values for the section specified in an initialization file (. ini ).
WritePrivateProfileString
WriteProfileSection is a specified section in the Win. ini initialization file.
WriteProfileString: Set a string in the specified section of the Win. ini initialization file.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service