API Breakpoint Daquan

Source: Internet
Author: User

1. Restricting program function function

EnableMenuItem allow, disallow, or darken a specified menu entry
EnableWindow allows or disables the mouse and keyboard control of specified windows and entries (the menu is dimmed when forbidden)

2. dialog box function

Createdialog Creating a Non modal dialog window from a resource template
Createdialogparam Creating a Non modal dialog window from a resource template
Createdialogindirect creating a non-modal dialog window from a memory template
Createdialogindirectparam creating a non-modal dialog window from a memory template

DialogBox Creating a modal dialog window from a resource template
Dialogboxparam Creating a modal dialog window from a resource template
Dialogboxindirect Creating a modal dialog window from a memory template
Dialogboxindirectparam Creating a modal dialog window from a memory template
EndDialog end a modal dialog window

MessageBox displays a message dialog box
Messageboxex Display a message dialog box
Messageboxindirect Display a Certain Information dialog box

Getdlgitemint to specify an integer value for the input box
GetDlgItemText to specify input box input string
Getdlgitemtexta to specify input box input string
hmemcpy memory Replication (non-application direct call)

3. Disk processing function

Getdiskfreespacea get information about the organization of a disk, and understand the capacity of the remaining space
Getdiskfreespaceexa get information about the organization of a disk and the amount of space remaining
Getdrivetypea determine the type of a disk drive
GetLogicalDrives determine which logical drive letters exist in the system
Getfullpathnamea gets the detailed path of the specified file
Getvolumeinformationa getting information about a disk volume
Getwindowsdirectorya get the full path name of the Windows directory
Getsystemdirectorya get the full pathname of the Windows system directory (that is, the system directory)

4. File processing function

Createfilea opening and creating files, pipelines, mail slots, communications services, devices, and consoles
OpenFile This function can perform a number of different file operations
ReadFile reading data from a file
ReadFileEx is similar to ReadFile, except that it can only be used for asynchronous read operations and contains a complete callback
WriteFile writing data to a file
WriteFileEx is similar to WriteFile, except that it can only be used for asynchronous write operations and includes a complete callback
SetFilePointer setting the current read and write location in a file
SetEndOfFile sets the current file location to the end of the file for an open file
CloseHandle closes a kernel object. These include files, file mappings, processes, threads, security, and synchronization objects.

_lcreat Creating a file
_lopen to open the specified file in binary mode
_lread reading data from a file into a memory buffer
_lwrite writes data from a memory buffer to a file
_llseek the current location for reading and writing in the settings file
_lclose closing the specified file
_hread reading data from a file into a memory buffer
_hwrite writes data from a memory buffer to a file

Openfilemappinga open a ready-made file mapping object
Createfilemappinga creating a new file-mapping object
MapViewOfFile mapping a file mapping object to the address space of the current application
Mapviewoffileex (Content Ibid.)

Createdirectorya Create a new directory
Createdirectoryexa Create a new directory
Removedirectorya Delete the specified directory
Setcurrentdirectorya Setting the current directory

Movefilea Moving files
DeleteFileA Delete the specified file
Copyfilea Copying files
Comparefiletime vs. two files time
Setfileattributesa Setting file properties
Setfiletime setting file creation, access, and last modified time
Findfirstfilea finding files by file name
Findnextfilea finds the next file based on a file name specified when the FindFirstFile function is called
FindClose close a search handle created by the FindFirstFile function
Searchpatha finding the specified file
Getbinarytypea determine if the file can be executed
Getfileattributesa to determine the properties of a specified file
GetFileSize determine file length
Getfiletime time information to obtain the specified file
Getfiletype to determine the file type if the file handle is given

5. Registry handler function

Regopenkeya Open an existing registry key
Regopenkeyexa Open an existing registry key
Regcreatekeya Create or open an item under the specified key
Regcreatekeyexa more complex ways to create new items under a specified item
Regdeletekeya Delete a specified subkey under an existing item
Regdeletevaluea Delete a value below the specified item
Regqueryvaluea gets the setting value of an item
Regqueryvalueexa gets the setting value of an item
Regsetvaluea setting the value of the specified item or subkey
Regsetvalueexa setting the value of the specified item
RegCloseKey Close an entry (or key) in the system registry

6. Time processing function

Comparefiletime compare two file time
Getfiletime file creation, last visit, modified time
Getlocaltime Current local time
GetSystemTime Current system time
GetTickCount Windows boot to current millisecond
Setfiletime Setting file time
Setlocaltime Setting local time
SetSystemTime Setting the system time

7. Process function

CreateProcessA Create a new process
ExitProcess close a process in a clean way
Findexecutablea Find the file name of the program associated with a specified file
Freelibray Releases the specified dynamic chain library
GetCurrentProcess gets a pseudo handle to the current process
GetCurrentProcessId gets a unique identifier for the current process
GetCurrentThread Gets a pseudo handle to the current thread
Getexitcodeproces gets the exit code for a closed process
GetExitCodeThread gets the exit code for a closed thread
Getmodulehandlea Gets the module handle of an application or dynamic-link library
Getpriorityclassa gets the priority level of a particular process
LoadLibraryA loads the specified dynamic-link library and maps it to the address space used by the current process
Loadlibraryexa loads the specified dynamic-link library and maps it to the address space for the current process
LoadModule loads a Windows application and runs in the specified environment
TerminateProcess end a process

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.