Windows API function Encyclopedia four __ function

Source: Internet
Author: User
Tags local time message queue mutex visibility
Hardware and system functions of the API
Activatekeyboardlayout activates a new keyboard layout. The keyboard layout defines the position and meaning of the key on a physical keyboard
Beep is used to generate simple sounds
Chartooem converts a string from the ANSI character set to the OEM character set
Clipcursor limit the pointer to a specified range
Convertdefaultlocale converts a special local identifier into a real local ID
CreateCaret creates a caret (cursor) based on the specified information and selects it as the default caret for the specified window
Destroycaret clears (destroys) a caret
Enumcalendarinfo enumeration of calendar information available in the specified "local" environment
Enumdateformats enumerates the long, short date formats available in the specified local setting
Enumsystemcodepages enumerate installed or supported code pages on the system
Enumsystemlocales enumerate the "local" settings that the system has installed or provided support for
Enumtimeformats enumerates the applicable time formats for a specified place
ExitWindowsEx exit Windows and restart with specific options
ExpandEnvironmentStrings Extended Environment string
Freeenvironmentstrings translation of specified environment string blocks
GETACP to determine which ANSI code page is currently in effect
Getasynckeystate the state of the specified virtual key when a function call is judged
Getcaretblinktime to determine the blink frequency of the caret cursor
Getcaretpos to determine the current position of the caret
Getclipcursor gets a rectangle that describes the clipping area currently defined for the mouse pointer
GetCommandLine gets a pointer to the current command line buffer
GetComputerName get the name of this computer
Getcpinfo get information about the specified code page
Getcurrencyformat formats a number according to the currency format for the specified "local" setting
GetCursor gets the handle of the currently selected mouse pointer
GetCursorPos get the current position of the mouse pointer
GetDateFormat format a system date for the specified "local" format
Getdoubleclicktime determines the interval between two consecutive mouse clicks that will be processed into a double click event
Getenvironmentstrings assigns and returns a handle to a memory block that contains the current environment string setting
GetEnvironmentVariable gets the value of an environment variable
Getinputstate to determine whether there are any pending (pending) mouse or keyboard events
Getkbcodepage is replaced by GETOEMCP, and the functions are identical.
Getkeyboardlayout gets a handle that describes the keyboard layout of the specified application
Getkeyboardlayoutlist obtain a list of all keyboard layouts that are applicable to the system
Getkeyboardlayoutname gets the name of the currently active keyboard layout
Getkeyboardstate gets the current state of each virtual key on the keyboard
GetKeyboardType information about the keyboard you are using
Getkeynametext in the context of the scan code, the key name is judged
Getkeystate the state of the specified virtual key for the last time you enter information for the key that has been processed
GetLastError Use this function to obtain extended error information for the API function that was previously invoked
GetLocaleInfo obtain information relating to the designated "place"
Getlocaltime get local date and time
Getnumberformat formats a number in a specific format for the specified "place"
GETOEMCP to determine the Windows code pages that are converted between the OEM and ANSI character sets
Getqueuestatus a message type that determines pending (pending) in an application message queue
GetSysColor determine the color of the specified Windows display object
GetSystemDefaultLangID Gets the default language ID for the system
GetSystemDefaultLCID get the current default system "place"
GetSystemInfo to obtain information about the underlying hardware platform
GetSystemMetrics returns information about the Windows environment
GetSystemPowerStatus to obtain information about the current system power state
GetSystemTime gets the current system time, which is the "coordinated World Time" (UTC, also called GMT) format
Getsystemtimeadjustment Synchronize the internal system clock with an external clock signal source
Getthreadlocale gets the local ID of the current thread
GetTickCount is used to get the length of time that has elapsed since Windows started (milliseconds)
Gettimeformat formats a system time in a specific format for the currently specified "place"
GetTimeZoneInformation to obtain information about the system time zone settings
Getuserdefaultlangid Gets the default language ID for the current user
GetUserDefaultLCID gets the default "local" setting for the current user
GetUserName gets the name of the current user
GetVersion to determine which Windows and DOS versions are currently running
GetVersionEx obtain version information about the platform and operating system
HideCaret hides the caret (cursor) in the specified window
IsValidCodePage determine if a code page is valid
Isvalidlocale determine if local identifiers are valid
Keybd_event This function simulates keyboard action.
Loadkeyboardlayout Load a keyboard layout
Mapvirtualkey performs different scan code and character conversions based on the specified mapping type
Mapvirtualkeyex performs different scan code and character conversions based on the specified mapping type
MessageBeep play a system sound. The system sound distribution scheme is determined in the control Panel.
Mouse_event simulate a mouse event
Oemkeyscan determines the scan code and SHIFT key state of an ASCII character in the OEM character set
Oemtochar converts a string from the OEM character set to the ANSI character set
SETCARETBLINKTIME Specifies the blink rate of the caret (cursor)
Setcaretpos specify the position of the caret
Setcomputername set a new computer name
SetCursor sets the specified mouse pointer to the current pointer
Setcursorpos set the position of the pointer
Setdoubleclicktime sets the interval between two consecutive mouse clicks that the system considers to be a double-click event
Setenvironmentvariable set an environment variable to the specified value
Setkeyboardstate sets the current status of each virtual key on the keyboard
SetLocaleInfo change User "local" settings information
Setlocaltime Set Current local time
SetSysColors sets the color of the specified window display object
Setsystemcursor change any one of the standard system pointers
SetSystemTime Set Current system time
Setsystemtimeadjustment periodically adds a calibration value to synchronize the internal system clock with an external clock signal source
SetThreadLocale set the place for the current thread
Settimezoneinformation Set system time zone information
ShowCaret Displays the caret (cursor) in the specified window
ShowCursor controls the visibility of the mouse pointer
Swapmousebutton decide whether to swap the right and left mouse button function
SystemParametersInfo gets and sets a large number of Windows system parameters
Systemtimetotzspecificlocaltime converts system time to local time
TOASCII converts a virtual key to an ASCII character based on the current scan code and keyboard information
Tounicode converts a virtual key to a Unicode character based on the current scan code and keyboard information
Unloadkeyboardlayout uninstall the specified keyboard layout
Vkkeyscan determines the state of the virtual key and shift keys for an ASCII character in the Windows character set
The process and thread functions of the API
Cancelwaitabletimer This function to cancel a timer operation that can wait
Callnamedpipe This function is called by a client process that wants to communicate through a pipeline
Connectnamedpipe instructs a server to wait until the client is connected to the same named pipe
CreateEvent Create an Event object
Createmailslot Create a postman. The returned handle is used by the Postman Server (recipient)
CreateMutex Create a mutex (mutex)
CreateNamedPipe Create a named pipe. The returned handle is used by the server side of the pipe
CreatePipe Create an anonymous pipe
CreateProcess Create a new process (such as executing a program)
CreateSemaphore to create a new signal machine
CreateWaitableTimer to create a waiting timer object
Disconnectnamedpipe Disconnect one customer from a named pipe
DuplicateHandle creates a new handle for that object when it indicates the current handle to an existing system object
ExitProcess Abort a process
Findclosechangenotification close a Change notification object
FindExecutable find the file name of a program that is associated with a specified file
FindFirstChangeNotification creates a file notification object. This object is used to monitor changes in the file system
Findnextchangenotification Reset a file change the notification object so that it continues to monitor the next change
FreeLibrary release of the specified dynamic link 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
GetCurrentThreadID gets a unique thread identifier for the current thread
Getexitcodeproces Gets the exit code for an interrupted process
GetExitCodeThread Gets the exit code for an aborted thread
Gethandleinformation to get information about a system object handle
Getmailslotinfo to get information about a postman
GetModuleFileName gets the full path name of a loaded template
GetModuleHandle gets the module handle of an application or dynamic-link library
Getpriorityclass to get the priority level of a particular process
Getprocessshutdownparameters investigation system shutdown when a specified process relative to the shutdown of other processes early
Getprocesstimes get information about the elapsed time of a process
Getprocessworkingsetsize understand how much memory an application actually delivers to it during the run
Getsartupinfo get startup information for a process
GetThreadPriority to get the priority level of a particular thread
Gettheardtimes gets information about the elapsed time of a thread
GetWindowThreadProcessId gets a process and thread identifier associated with the specified window
LoadLibrary loads the specified dynamic link library and maps it to the address space used by the current process
LoadLibraryEx 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
MsgWaitForMultipleObjects a single object or a series of objects to emit a signal. If the return condition is satisfied, return immediately
Setpriorityclass set the priority level of a process
Setprocessshutdownparameters sets the order of the shutdown for the specified process in relation to other programs during system shutdown
SetProcessWorkingSetSize sets the amount of memory that the operating system actually divides into the process
SetThreadPriority set the priority level of the thread
ShellExecute Find the file name of the program associated with the specified file
TerminateProcess End a process
WinExec Run the specified program
Controls and message functions for APIs
Adjustwindowrect given a window style that calculates the window size needed to get the target client area rectangle
Anypopup determine if any pop-up windows are present on the screen
Arrangeiconicwindows arranges a minimized child window for a parent window
AttachThreadInput Connection Thread Input function
Begindeferwindowpos starts the process of building a series of new window locations
BringWindowToTop brings the specified window to the top of the window list
Cascadewindows arranges windows in a cascading manner
Childwindowfrompoint returns the handle of the first child window that contains the specified point in the parent window
ClientToScreen determines the screen coordinates of a point in the window that is represented by the client area coordinates
CloseWindow to minimize the specified window
Copyrect Rectangular Content Copy
DeferWindowPos This function to specify a new window position for a particular window
DestroyWindow clears the specified window and all its child windows
DrawAnimatedRects depicts a series of dynamic rectangles
EnableWindow allows or disables all mouse and keyboard input in the specified window
Enddeferwindowpos simultaneously updates the position and status of all windows specified when DeferWindowPos calls
Enumchildwindows to enumerate child windows for the specified parent window
EnumThreadWindows enumeration of Windows associated with a specified task
EnumWindows Enumerate all the parent windows in the list of Windows
Equalrect determine whether two rectangular structures are the same
FindWindow find the first top-level window in the list of Windows that matches a specified condition
FindWindowEx the window list to find the first child window that matches the specified criteria
FlashWindow flashing display of specified window
GetActiveWindow gets the handle of the active window
GetCapture gets a handle to a window that is in the current input thread and has mouse capture (mouse activity is received by it)
GetClassInfo gets a copy of the WNDCLASS structure (or wndclassex structure) that contains information about the specified class
Getclasslong gets a long variable entry for the window class
GetClassName the class name for the specified window
Getclassword gets an integer variable for the window class
GetClientRect returns the size of the client area rectangle for the specified window
GetDesktopWindow Get a window (desktop window) handle that represents the entire screen
GetFocus gets the handle of the window that has the input focus
GetForegroundWindow gets the handle to the foreground window
Getlastactivepopup gets the handle to a pop-up window that was recently activated in a given parent window
GetParent determines the parent window of the specified window
Gettopwindow searches the internal window list for a handle to the first window of the specified window
GetUpdateRect gets a rectangle that depicts the part of the specified window that needs to be updated
GetWindow gets a handle to a window that has a specific relationship to a source window
Getwindowcontexthelpid gets the help scene ID associated with the window
GetWindowLong gets information from the structure of the specified window
GetWindowPlacement Gets the status and location information for the specified window
GetWindowRect gets the entire window's bounding rectangle, and the window's border, title bar, scroll bar, and menu are all within this rectangle.
GetWindowText Gets the title (caption) Text of a form, or the contents of a control
Getwindowtextlength Survey window title text or the length of the contents of the control
Getwindowword to obtain information about the specified window structure
Inflaterect increase or decrease the size of a rectangle
Intersectrect This function loads a rectangle in the Lpdestrect, which is the intersection of the Lpsrc1rect and the Lpsrc2rect two rectangles
InvalidateRect masks all or part of a client area of a window
IsChild determines whether a window is a child of another window or a subordinate window
Isiconic determine if the window has been minimized
Isrectempty to determine whether a rectangle is empty
IsWindow determine if a window handle is valid
iswindowenabled determine if the window is active
Iswindowunicode determines whether a window is a unicode window. This means that the window receives Unicode text for all text-based messages
IsWindowVisible determine if the window is visible
Iszoomed to determine whether the window is maximized
LockWindowUpdate locks The specified window, prevents it from being updated
MapWindowPoints a client area coordinate system that converts the point of one window client area to another window
MoveWindow change the position and size of the specified window
Offsetrect the rectangle to move by applying a specified offset
Openicon restores a minimized program and activates it
PtInRect determines whether the specified point is inside the rectangle
RedrawWindow to repaint all or part of a window
ReleaseCapture release mouse capture for the current application
ScreenToClient to determine the client area coordinates of a specified point on the screen
ScrollWindow scrolling window All or part of the client area
Scrollwindowex the entire or part of the client area of the window, depending on the additional options
SetActiveWindow activates the specified window
SetCapture sets mouse capture to the specified window
Setclasslong set a long variable entry for the window class
Setclassword set an entry for the window class
SETFOCUSAPI sets the input focus to the specified window. Activates the window if necessary
SetForegroundWindow the window to the foreground window of the system
SetParent specifies a new parent for a window
SetRect sets the contents of the specified rectangle
Setrectempty the rectangle to an empty rectangle
Setwindowcontexthelpid Set the Help scene (context) ID for the specified window
SetWindowLong set information for the specified window in the window structure
SetWindowPlacement Set window status and location information
SetWindowPos Specify a new location and state for the window
SetWindowText to set the caption text of a window or the contents of a control
Setwindowword set information for the specified window in the window structure
Showownedpopups Show or hide all pop-up windows from the specified window
ShowWindow controls the visibility of the window
Showwindowasync and ShowWindow Similar
Subtractrect loads the rectangular lprcdst, which is the result of subtracting lprcSrc2 from the rectangular lprcSrc1
Tilewindows windows in Tile Order
Unionrect loads a lpdestrect target rectangle, which is the result of a combination of lpsrc1rect and lpsrc2rect.
UpdateWindow Force Immediate Update window
ValidateRect all or part of the client area of the checkout window
Windowfrompoint returns the handle of the window that contains the specified point. Ignore masks, hides, and transparent windows

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.