_TrackMouseEvent The _TrackMouseEvent function posts messages when the mouse pointer leaves a window or hovers over a window for a specified amount of time. This function calls TrackMouseEvent if it exists, otherwise it emulates it. AbnormalTermination Indicates whether the __try block of a termination handler terminated normally. AbortDoc Stops the current print job and erases everything drawn since the last call to the StartDoc function. AbortPath Closes and discards any paths in the specified device context. AbortPrinter Deletes a printer's spool file if the printer is configured for spooling. AbortProc An application-defined callback function used with the SetAbortProc function. AbortSystemShutdown Stops a system shutdown that has been initiated. AcquireSRWLockExclusive Acquires a slim reader/writer (SRW) lock in exclusive mode. AcquireSRWLockShared Acquires a slim reader/writer (SRW) lock in shared mode. ActivateKeyboardLayout The ActivateKeyboardLayout function sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard. AddAtom The AddAtom function adds a character string to the local atom table and returns a unique value (an atom) identifying the string. AddClipboardFormatListener Places the given window in the system-maintained clipboard format listener list. AddConsoleAlias Defines a console alias for the specified executable. AddFontMemResourceEx Adds an embedded font to the system font table. AddFontResource Adds a font resource to the system font table. AddFontResourceEx Adds a private or non-enumerable font to the system font table. AddForm Adds a form to the list of available forms that can be selected for the specified printer. AddIntegrityLabelToBoundaryDescriptor Adds a new required security identifier (SID) to the specified boundary descriptor. AddJob Adds a print job to the list of print jobs that can be scheduled by the print spooler. AddLogContainer Adds a container to the physical log that is associated with the log handle, if the calling process has write access to the .blf file and the ability to create files in the target directory of the container. AddLogContainerSet Adds multiple log containers to the physical log that is associated with the log handle, if the calling process has access to the log handle. AddMonitor Installs a local port monitor and links the configuration, data, and monitor files. AddPort Adds the name of a port to the list of supported ports. AddPrinter Adds a printer to the list of supported printers for a specified server. AddPrinterConnection Adds a connection to the specified printer for the current user. AddPrinterConnection2 Adds a connection to the specified printer for the current user. AddPrinterDriver Installs a local or remote printer driver and links the configuration, data, and driver files. AddPrinterDriverEx Installs a local or remote printer driver and links the configuration, data, and driver files. AddPrintProcessor Installs a print processor on the specified server and adds the print-processor name to an internal list of supported print processors. AddPrintProvidor Installs a local print provider and links the configuration, data, and provider files. AddSecureMemoryCacheCallback Registers a callback function to be called when a secured memory range is freed or its protections are changed. AddSIDToBoundaryDescriptor Adds a new security identifier (SID) to the specified boundary descriptor. AddUsersToEncryptedFile Adds user keys to a specified encrypted file. AddVectoredContinueHandler Registers a vectored continue handler. AddVectoredExceptionHandler Registers a vectored exception handler. AdjustCalendarDate Deprecated. Adjusts a date by a specified number of years, months, weeks or days. AdjustWindowRect The AdjustWindowRect function calculates the required size of the window rectangle, based on the desired client-rectangle size. The window rectangle can then be passed to the CreateWindow function to create a window whose client area is the desired size. To specify an extended window style, use the AdjustWindowRectEx function. AdjustWindowRectEx The AdjustWindowRectEx function calculates the required size of the window rectangle, based on the desired size of the client rectangle. The window rectangle can then be passed to the CreateWindowEx function to create a window whose client area is the desired size. AdvancedDocumentProperties Displays a printer-configuration dialog box for the specified printer, allowing the user to configure that printer. AdvanceLogBase Advances the base log sequence number (LSN) of a log stream to the specified LSN. AlertSamplesAvailFunc Notifies the system that there are new samples available. AlignReservedLog Calculates the sector-aligned reservation size for a set of records. AllocateUserPhysicalPages Allocates physical memory pages to be mapped and unmapped within any AWE region of the process. AllocateUserPhysicalPagesNuma Reserves or commits a region of memory within the virtual address space of the specified process, and specifies the NUMA node for the physical memory. AllocConsole Allocates a new console for the calling process. AllocReservedLog Allocates sector-aligned space for a set of reserved records. AllowSetForegroundWindow The AllowSetForegroundWindow function enables the specified process to set the foreground window using the SetForegroundWindow function. The calling process must already be able to set the foreground window. For more information, see Remarks later in this topic. AlphaBlend Displays a bitmap with transparent or semitransparent pixels. AngleArc Draws a line segment and an arc. AnimatePalette Replaces entries in the specified logical palette. AnimateWindow The AnimateWindow function enables you to produce special effects when showing or hiding windows. There are four types of animation: roll, slide, collapse or expand, and alpha-blended fade. AnyPopup The AnyPopup function indicates whether an owned, visible, top-level pop-up, or overlapped window exists on the screen. The function searches the entire screen, not just the calling application's client area. This function is provided only for compatibility with 16-bit versions of Windows. It is generally not useful. APCProc An application-defined callback function used with the QueueUserAPC function. AppendMenu The AppendMenu function appends a new item to the end of the specified menu bar, drop-down menu, submenu, or shortcut menu. You can use this function to specify the content, appearance, and behavior of the menu item. ApplicationRecoveryFinished Indicates that the calling application has completed its data recovery. ApplicationRecoveryInProgress Indicates that the calling application is continuing to recover data. Arc Draws an elliptical arc. ArcTo Draws an elliptical arc. AreFileApisANSI Determines whether the file I/O functions are using the ANSI or OEM character set code page. ArrangeIconicWindows The ArrangeIconicWindows function arranges all the minimized (iconic) child windows of the specified parent window. AssignProcessToJobObject Associates a process with an existing job object. AttachConsole Attaches the calling process to the console of the specified process. AttachThreadInput Attaches the input processing mechanism of one thread to that of another thread. AvQuerySystemResponsiveness Retrieves the system responsiveness setting used by the multimedia class scheduler service. AvRevertMmThreadCharacteristics Indicates that a thread is no longer performing work associated with the specified task. AvRtCreateThreadOrderingGroup Creates a thread ordering group. AvRtCreateThreadOrderingGroupEx Creates a thread ordering group and associates the server thread with a task. AvRtCreteThreadOrderingGroup Create one or more threads ordering groups AvRtDeleteOnThreadOrderingGroup Delete thread ordering groups AvRtDeleteThreadOrderingGroup Deletes the specified thread ordering group created by the caller. AvRtJoinThreadOrderingGroup Joins client threads to a thread ordering group. AvRtLeaveOnThreadOrderingGroup Used by client to remove itself from a thread ordering group AvRtLeaveThreadOrderingGroup Enables client threads to leave a thread ordering group. AvRtWaitOnThreadOrderingGroup Enables client threads of a thread ordering group to wait until they should execute. AvSetMmMaxThreadCharacteristics Associates the calling thread with the specified tasks. AvSetMmThreadCharacteristics Associates the calling thread with the specified task. AvSetMmThreadPriority Adjusts the thread priority of the calling thread relative to other threads performing the same task. BackupEventLog Saves the specified event log to a backup file. BackupRead Reads data associated with a specified file or directory into a buffer. BackupSeek Seeks forward in a data stream. BackupWrite Writes a stream of data from a buffer to a specified file or directory. Beep Generates simple tones on the speaker. BeginDeferWindowPos The BeginDeferWindowPos function allocates memory for a multiple-window- position structure and returns the handle to the structure. BeginPaint Prepares a window for painting. BeginPath Opens a path bracket in the specified device context. BindIoCompletionCallback Associates the I/O completion port owned by the thread pool with the specified file handle. On completion of an I/O request involving this file, a non-I/O worker thread will execute the specified callback function. BitBlt Performs a bit-block transfer. BlockInput The BlockInput function blocks keyboard and mouse input events from reaching applications. BringWindowToTop The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated. BroadcastSystemMessage The BroadcastSystemMessage function sends a message to the specified recipients. The recipients can be applications, installable drivers, network drivers, system-level device drivers, or any combination of these system components. To receive additional information if the request is defined, use the BroadcastSystemMessageEx function. BroadcastSystemMessageEx The BroadcastSystemMessageEx function sends a message to the specified recipients. The recipients can be applications, installable drivers, network drivers, system-level device drivers, or any combination of these system components. This function is similar to BroadcastSystemMessage except that this function can return more information from the recipients. BuildCommDCB Fills a specified DCB structure with values specified in a device-control string. BuildCommDCBAndTimeouts Translates a device-definition string into appropriate device-control block codes and places them into a device control block. BytesToUnicode Do not use. CalculatePopupWindowPosition Calculates an appropriate pop-up window position using the specified anchor point, pop-up window size, flags, and the optional exclude rectangle. When the specified pop-up window size is smaller than the desktop window size, use the CalculatePopupWindowPosition function to ensure that the pop-up window is fully visible on the desktop window, regardless of the specified anchor point. CallbackMayRunLong Indicates that the callback may not return quickly. CallMsgFilter The CallMsgFilter function passes the specified message and hook code to the hook procedures associated with the WH_SYSMSGFILTER and WH_MSGFILTER hooks. A WH_SYSMSGFILTER or WH_MSGFILTER hook procedure is an application-defined callback function that examines and, optionally, modifies messages for a dialog box, message box, menu, or scroll bar. CallNamedPipe Connects to a message-type pipe, writes to and reads from the pipe, and then closes the pipe. CallNextHookEx The CallNextHookEx function passes the hook information to the next hook procedure in the current hook chain. A hook procedure can call this function either before or after processing the hook information. CallNtPowerInformation Sets or retrieves power information. CallWindowProc The CallWindowProc function passes message information to the specified window procedure. CallWndProc The CallWndProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. * Windows 95/98/Me, Windows NT 3.51: The system calls this function whenever the thread calls the SendMessage function. The WH_CALLWNDPROC hook is called in the context of the thread that calls SendMessage, not the thread that receives the message. * Windows NT 4.0 and later: The system calls this function before calling the window procedure to process a message sent to the thread. The HOOKPROC type defines a pointer to this callback function. CallWndProc is a placeholder for the application-defined or library-defined function name. CallWndRetProc The CallWndRetProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function after the SendMessage function is called. The hook procedure can examine the message; it cannot modify it. The HOOKPROC type defines a pointer to this callback function. CallWndRetProc is a placeholder for the application-defined or library-defined function name. CancelDC Cancels any pending operation on the specified device context. CancelIo Cancels all pending I/O operations that are issued by the calling thread for a specified file handle. CancelIoEx Marks all pending I/O operations for the specified file handle in the current process as canceled, regardless of which thread created the I/O operation. CancelSynchronousIo Marks pending synchronous I/O operations that are issued by the specified thread as canceled. CancelThreadpoolIo Cancels the notification from the StartThreadpoolIo function. CancelWaitableTimer Sets the specified waitable timer to the inactive state. CanUserWritePwrScheme Determines whether the current user has sufficient privilege to write a power scheme. PowerSettingAccessCheck CaptureStackbackTrace Captures a stack back trace by walking up the stack and recording the information for each frame. CascadeWindows The CascadeWindows function cascades the specified child windows of the specified parent window. CBTProc The CBTProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function before activating, creating, destroying, minimizing, maximizing, moving, or sizing a window; before completing a system command; before removing a mouse or keyboard event from the system message queue; before setting the keyboard focus; or before synchronizing with the system message queue. A computer-based training (CBT) application uses this hook procedure to receive useful notifications from the system. The HOOKPROC type defines a pointer to this callback function. CBTProc is a placeholder for the application-defined or library-defined function name. CCHookProc Receives messages or notifications intended for the default dialog box procedure of the Color dialog box. This is an application-defined or library-defined callback function that is used with the ChooseColor function. The LPCCHOOKPROC type defines a pointer to this callback function. CCHookProc is a placeholder for the application-defined function name. CdromDisableDigitalPlayback Disables digital playback for the specified CD-ROM or DVD drive. CdromEnableDigitalPlayback Enables digital playback for the specified CD-ROM or DVD drive. CdromIsDigitalPlaybackEnabled Determines whether digital playback is enabled for the specified CD-ROM or DVD drive. CdromKnownGoodDigitalPlayback Determines whether the specified CD-ROM or DVD drive has digital playback that is known to be good. CFHookProc Receives messages or notifications intended for the default dialog box procedure of the Font dialog box. This is an application-defined or library-defined callback procedure that is used with the ChooseFont function. ChangeClipboardChain The ChangeClipboardChain function removes a specified window from the chain of clipboard viewers. ChangeDisplaySettings Changes the settings of the default display device to the specified graphics mode. ChangeDisplaySettingsEx Changes the settings of the specified display device to the specified graphics mode. ChangeServiceConfig Changes the configuration parameters of a service. ChangeServiceConfig2 Changes the optional configuration parameters of a service. ChangeTimerQueueTimer Updates a timer-queue timer. ChangeWindowMessageFilter Adds or removes a message from the User Interface Privilege Isolation (UIPI) message filter. ChangeWindowMessageFilterEx Modifies the UIPI message filter for a specified window. CharLower Converts a character string or a single character to lowercase. If the operand is a character string, the function converts the characters in place. CharLowerBuff Converts uppercase characters in a buffer to lowercase characters. The function converts the characters in place. CharNext The CharNext function retrieves a pointer to the next character in a string. This function can handle strings consisting of either single- or multi-byte characters. CharNextExA The CharNextExA function retrieves the pointer to the next character in a string. This function can handle strings consisting of either single- or multi-byte characters. CharPrev The CharPrev function retrieves a pointer to the preceding character in a string. This function can handle strings consisting of either single- or multi-byte characters. CharPrevExA The CharPrevExA function retrieves the pointer to the preceding character in a string. This function can handle strings consisting of either single- or multi-byte characters. CharToOem The CharToOem function translates a string into the OEM-defined character set. CharToOemBuff The CharToOemBuff function translates a specified number of characters in a string into the OEM-defined character set. CharUpper Converts a character string or a single character to uppercase. If the operand is a character string, the function converts the characters in place. CharUpperBuff Converts lowercase characters in a buffer to uppercase characters. The function converts the characters in place. CheckDlgButton Changes the check state of a button control. CheckMenuItem The CheckMenuItem function sets the state of the specified menu item's check-mark attribute to either selected or clear. CheckMenuRadioItem The CheckMenuRadioItem function checks a specified menu item and makes it a radio item. At the same time, the function clears all other menu items in the associated group and clears the radio-item type flag for those items. CheckNameLegalDOS8Dot3 Determines whether a specified name can be used to create a file on a FAT file system. CheckRadioButton Adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group. CheckRemoteDebuggerPresent Determines whether the specified process is being debugged. ChildWindowFromPoint The ChildWindowFromPoint function determines which, if any, of the child windows belonging to a parent window contains the specified point. The search is restricted to immediate child windows. Grandchildren, and deeper descendant windows are not searched. To skip certain child windows, use the ChildWindowFromPointEx function. ChildWindowFromPointEx The ChildWindowFromPointEx function determines which, if any, of the child windows belonging to the specified parent window contains the specified point. The function can ignore invisible, disabled, and transparent child windows. The search is restricted to immediate child windows. Grandchildren and deeper descendants are not searched. ChooseColor Creates a Color dialog box that enables the user to select a color. ChooseFont Creates a Font dialog box that enables the user to choose attributes for a logical font. These attributes include a font family and associated font style, a point size, effects (underline, strikeout, and text color), and a script (or character set). Chord Draws an area bounded by an ellipse and a line segment. ClearCommBreak Restores character transmission for a specified communications device and places the transmission line in a nonbreak state. ClearCommError Retrieves information about a communications error and reports the current status of a communications device. ClearEventLog Clears the specified event log, and optionally saves the current copy of the log to a backup file. ClientToScreen Converts the client-area coordinates of a specified point to screen coordinates. ClipCursor The ClipCursor function confines the cursor to a rectangular area on the screen. If a subsequent cursor position (set by the SetCursorPos function or the mouse) lies outside the rectangle, the system automatically adjusts the position to keep the cursor inside the rectangular area. CloseAndResetLogFile Resets the log file and then shuts the log. CloseClipboard The CloseClipboard function closes the clipboard. CloseEncryptedFileRaw Close an encrypted file opened with OpenEncryptedFileRaw. Closes an encrypted file after a backup or restore operation, and frees the associated system resources. CloseEnhMetaFile Closes an enhanced-metafile device context. CloseEventLog Closes a read handle to the specified event log. CloseFigure Closes an open figure in a path. CloseHandle Closes an open object handle. ClosePrinter Closes the specified printer object. ClosePrivateNamespace Closes an open namespace handle. CloseServiceHandle Closes the specified handle to a service control manager object or a service object. CloseThreadpool Closes the specified thread pool. CloseThreadpoolCleanupGroup Closes the specified cleanup group. CloseThreadpoolCleanupGroupMembers Releases the members of the specified cleanup group, waits for all callback functions to complete, and optionally cancels any outstanding callback functions. CloseThreadpoolIo Releases the specified I/O completion object. CloseThreadpoolTimer Releases the specified timer object. CloseThreadpoolWait Releases the specified wait object. CloseThreadpoolWork Releases the specified work object. CloseThreadWaitChainSession missing CloseWindow The CloseWindow function minimizes (but does not destroy) the specified window. CombineRgn Combines two regions and stores the result in a third region. CombineTransform Concatenates two world-space to page-space transformations. CommConfigDialog Displays a driver-supplied configuration dialog box. CommDlgExtendedError Returns a common dialog box error code. This code indicates the most recent error to occur during the execution of one of the common dialog box functions. CommitComplete Indicates that a RM has finished committing a transaction that was requested by the transaction manager (TM). CommitEnlistment Commits the transaction for the specified enlistment. CommitTransaction Requests that the specified transaction be committed. CommitTransactionAsync Requests that the specified transaction be committed. CompareFileTime Compares two file times. CompareString Compares two character strings, for a locale specified by identifier. Compares two character strings, using the specified locale. Note For compatibility with Unicode, your applications are recommended to prefer CompareStringEx or the Unicode version of CompareString. CompareStringEx Compares two Unicode (wide character) strings, for a locale specified by name. CompareStringOrdinal Compares two Unicode strings to test binary equivalence. ConfigurePort Displays the port-configuration dialog box for a port on the specified server. ConnectNamedPipe Enables a named pipe server process to wait for a client process to connect to an instance of a named pipe. ConnectToPrinterDlg Displays a dialog box that lets users browse and connect to printers on a network. ContinueDebugEvent Enables a debugger to continue a thread that previously reported a debugging event. ControlService Sends a control code to a service. ControlServiceEx Sends a control code to a service. ConvertCalDateTimeToSystemTime Deprecated. Converts a specified CALDATETIME structure to a SYSTEMTIME structure. ConvertDefaultLocale Converts a default locale value to an actual locale identifier. ConvertFiberToThread Converts the current fiber into a thread. ConvertSystemTimeToCalDateTime Deprecated. Converts a specified SYSTEMTIME structure to a CALDATETIME structure. ConvertThreadToFiber Converts the current thread into a fiber. ConvertThreadToFiberEx Converts the current thread into a fiber. CopyAcceleratorTable The CopyAcceleratorTable function copies the specified accelerator table. This function is used to obtain the accelerator-table data that corresponds to an accelerator-table handle, or to determine the size of the accelerator-table data. CopyCursor The CopyCursor function copies the specified cursor. CopyEnhMetaFile Copies the contents of an enhanced-format metafile to a specified file. CopyExtendedContext Copies processor state from one processor context record to another. CopyFile Copies an existing file to a new file. CopyFileEx Copies an existing file to a new file, and notifies an application of the progress through a callback function. CopyFileTransacted Copies an existing file to a new file as a transacted operation, notifying the application of its progress through a callback function. CopyIcon The CopyIcon function copies the specified icon from another module to the current module. CopyMemory Copies a block of memory from one location to another. CopyProgressRoutine Callback function used with the CopyFileEx and MoveFileWithProgress functions, called when a portion of a copy or move operation is completed. CopyRect Copies the coordinates of one rectangle to another. CorePrinterDriverInstalled Reports whether a core printer driver with a specified GUID, date, and version is installed. CountClipboardFormats The CountClipboardFormats function retrieves the number of different data formats currently on the clipboard. CreateAcceleratorTable The CreateAcceleratorTable function creates an accelerator table. CreateBitmap Creates a bitmap. CreateBitmapIndirect Creates a bitmap. CreateBoundaryDescriptor Creates a boundary descriptor. CreateBrushIndirect Creates a brush with a specified style, color, and pattern CreateCaret The CreateCaret function creates a new shape for the system caret and assigns ownership of the caret to the specified window. The caret shape can be a line, a block, or a bitmap. CreateCompatibleBitmap Creates a bitmap compatible with a device. CreateCompatibleDC Creates a memory device context compatible with the specified device. CreateConsoleScreenBuffer Creates a console screen buffer. CreateCursor The CreateCursor function creates a cursor having the specified size, bit patterns, and hot spot. CreateDC Creates a device context for a device using the specified name. CreateDialog The CreateDialog macro creates a modeless dialog box from a dialog box template resource. The CreateDialog macro uses the CreateDialogParam function. CreateDialogIndirect The CreateDialogIndirect macro creates a modeless dialog box from a dialog box template in memory. The CreateDialogIndirect macro uses the CreateDialogIndirectParam function. CreateDialogIndirectParam The CreateDialogIndirectParam function creates a modeless dialog box from a dialog box template in memory. Before displaying the dialog box, the function passes an application-defined value to the dialog box procedure as the lParam parameter of the WM_INITDIALOG message. An application can use this value to initialize dialog box controls. CreateDialogParam The CreateDialogParam function creates a modeless dialog box from a dialog box template resource. Before displaying the dialog box, the function passes an application-defined value to the dialog box procedure as the lParam parameter of the WM_INITDIALOG message. An application can use this value to initialize dialog box controls. CreateDIBitmap Creates a device-dependent bitmap (DDB) from a DIB. CreateDIBPatternBrushPt Creates a brush with the pattern from a DIB CreateDIBSection Creates a DIB that applications can write to directly. CreateDirectory Creates a new directory. CreateDirectoryEx Creates a new directory with the attributes of a specified template directory. CreateDirectoryTransacted Creates a new directory as a transacted operation, with the attributes of a specified template directory. CreateEllipticRgn Creates an elliptical region. CreateEllipticRgnIndirect Creates an elliptical region. CreateEnhMetaFile Creates a device context for an enhanced-format metafile. CreateEnlistment Creates an enlistment, sets its initial state, and opens a handle to the enlistment with the specified access. CreateEnvironmentBlock Retrieves the environment variables for the specified user. CreateEvent Creates or opens a named or unnamed event object. CreateEventEx Creates or opens a named or unnamed event object and returns a handle to the object. CreateFiber Allocates a fiber object, assigns it a stack, and sets up execution to begin at the specified start address. CreateFiberEx Allocates a fiber object, assigns it a stack, and sets up execution to begin at the specified start address. CreateFile Creates or opens a file, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, or named pipe. CreateFileMapping Creates or opens a named or unnamed file mapping object for a specified file. CreateFileMappingNuma Creates or opens a named or unnamed file mapping object for a specified file, and specifies the NUMA node for the physical memory. CreateFileTransacted Creates or opens a file, file stream, or directory as a transacted operation. CreateFont Creates a logical font. CreateFontIndirect Creates a logical font from a structure. CreateFontIndirectEx Creates a logical font from a structure. CreateHalftonePalette Creates a halftone palette for the specified device context (DC). CreateHardLink Establishes a hard link between an existing file and a new file. CreateHardLinkTransacted Establishes a hard link between an existing file and a new file as a transacted operation. CreateHatchBrush Creates a brush with a hatch pattern and color CreateIC Creates an information context for the specified device. CreateIcon The CreateIcon function creates an icon that has the specified size, colors, and bit patterns. CreateIconFromResource The CreateIconFromResource function creates an icon or cursor from resource bits describing the icon. To specify a desired height or width, use the CreateIconFromResourceEx function. CreateIconFromResourceEx The CreateIconFromResourceEx function creates an icon or cursor from resource bits describing the icon. CreateIconIndirect The CreateIconIndirect function creates an icon or cursor from an ICONINFO structure. CreateIoCompletionPort Associates an I/O completion port with one or more file handles, or creates an I/O completion port that is not associated with a file handle. CreateJobObject Creates or opens a job object. CreateLogContainerScanContext Creates a scan context to use with ScanLogContainers to enumerate all log containers that are associated with a log, and performs the first scan. CreateLogFile Creates or opens a log. CreateLogMarshallingArea Creates a marshalling area for a log, and when successful it returns a marshalling context. CreateMailslot Creates a mailslot with the specified name. CreateMDIWindow The CreateMDIWindow function creates a MDI child window. CreateMemoryResourceNotification Creates a memory resource notification object. CreateMenu The CreateMenu function creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions. CreateMutex Creates or opens a named or unnamed mutex object. CreateMutexEx Creates or opens a named or unnamed mutex object and returns a handle to the object. CreateNamedPipe Creates an instance of a named pipe and returns a handle for subsequent pipe operations. CreatePalette Creates a logical palette. CreatePatternBrush Creates a brush with a bitmap pattern CreatePen Creates a logical pen that has the specified style, width, and color. CreatePenIndirect Creates a logical cosmetic pen that has the style, width, and color specified in a structure. CreatePolygonRgn Creates a polygonal region. CreatePolyPolygonRgn Creates a region consisting of a series of polygons. CreatePopupMenu The CreatePopupMenu function creates a drop-down menu, submenu, or shortcut menu. The menu is initially empty. You can insert or append menu items by using the InsertMenuItem function. You can also use the InsertMenu function to insert menu items and the AppendMenu function to append menu items. CreatePrintAsyncNotifyChannel Creates a communication channel between the spooler-hosted printing component, such as a print driver or port monitor, and an application that needs to receive notifications from the component. CreatePrivateNamespace Creates a private namespace. CreateProcess Creates a new process and its primary thread. CreateProcessAsUser Creates a new process and its primary thread. The new process runs in the security context of the user represented by the specified token. CreateProcessWithLogonW Creates a new process and its primary thread. The new process then runs the specified executable file in the security context of the specified credentials (user, domain, and password). CreateProcessWithTokenW Creates a new process and its primary thread. The new process runs in the security context of the specified token. CreateProfile Creates a new user profile. (Windows Vista and later only.) CreateRectRgn Creates a rectangular region. CreateRectRgnIndirect Creates a rectangular region. CreateRemoteThread Creates a thread that runs in the virtual address space of another process. CreateRemoteThreadEx Creates a thread that runs in the virtual address space of another process and optionally specifies extended attributes such as processor group affinity. CreateResourceManager Creates a new RM object, and associates the RM with a transaction manager (TM). CreateRoundRectRgn Creates a rectangular region with rounded corners. CreateScalableFontResource Creates a font resource file for a scalable font. CreateSemaphore Creates or opens a named or unnamed semaphore object. CreateSemaphoreEx Creates or opens a named or unnamed semaphore object and returns a handle to the object. CreateService Creates a service object and adds it to the specified service control manager database. CreateSolidBrush Creates a brush with a solid color CreateSymbolicLink Creates a symbolic link. CreateSymbolicLinkTransacted Creates a symbolic link as a transacted operation. CreateTapePartition Reformats a tape. CreateTextServices The CreateTextServices function creates an instance of a text services object. The text services object supports a variety of interfaces, including ITextServices and the Text Object Model (TOM). CreateThread Creates a thread to execute within the virtual address space of the calling process. CreateThreadpool Allocates a new pool of threads to execute callbacks. CreateThreadpoolCleanupGroup Creates a cleanup group that applications can use to track one or more thread pool callbacks. CreateThreadpoolIo Creates a new I/O completion object. CreateThreadpoolTimer Creates a new timer object. CreateThreadpoolWait Creates a new wait object. CreateThreadpoolWork Creates a new work object. CreateTimerQueueTimer Creates a timer-queue timer. CreateToolhelp32Snapshot Takes a snapshot of the specified processes, as well as the heaps, modules, and threads used by these processes. CreateTransaction Creates a new transaction object. CreateTransactionManager Creates a new TM object and returns a handle with the specified access. CreateUmsCompletionList Creates a UMS completion list. CreateUmsThreadContext Creates a UMS thread context to represent a UMS worker thread. CreateWaitableTimer Creates or opens a waitable timer object. CreateWaitableTimerEx Creates or opens a waitable timer object and returns a handle to the object. CreateWindow The CreateWindow function creates an overlapped, pop-up, or child window. It specifies the window class, window title, window style, and (optionally) the initial position and size of the window. The function also specifies the window's parent or owner, if any, and the window's menu. To use extended window styles in addition to the styles supported by CreateWindow, use the CreateWindowEx function. CreateWindowEx The CreateWindowEx function creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function. For more information about creating a window and for full descriptions of the other parameters of CreateWindowEx, see CreateWindow. DdeAbandonTransaction The DdeAbandonTransaction function abandons the specified asynchronous transaction and releases all resources associated with the transaction. DdeAccessData The DdeAccessData function provides access to the data in the specified DDE object. An application must call the DdeUnaccessData function when it has finished accessing the data in the object. DdeAddData The DdeAddData function adds data to the specified DDE object. An application can add data starting at any offset from the beginning of the object. If new data overlaps data already in the object, the new data overwrites the old data in the bytes where the overlap occurs. The contents of locations in the object that have not been written to are undefined. DdeCallback The DdeCallback function is an application-defined callback function used with the Dynamic Data Exchange Management Library (DDEML) functions. It processes DDE transactions. The PFNCALLBACK type defines a pointer to this callback function. DdeCallback is a placeholder for the application-defined function name. DdeClientTransaction The DdeClientTransaction function begins a data transaction between a client and a server. Only a DDE client application can call this function, and the application can use it only after establishing a conversation with the server. DdeCmpStringHandles The DdeCmpStringHandles function compares the values of two string handles. The value of a string handle is not related to the case of the associated string. DdeConnect The DdeConnect function establishes a conversation with a server application that supports the specified service name and topic name pair. If more than one such server exists, the system selects only one. DdeConnectList The DdeConnectList function establishes a conversation with all server applications that support the specified service name and topic name pair. An application can also use this function to obtain a list of conversation handles by passing the function an existing conversation handle. The Dynamic Data Exchange Management Library removes the handles of any terminated conversations from the conversation list. The resulting conversation list contains the handles of all currently established conversations that support the specified service name and topic name. DdeCreateDataHandle The DdeCreateDataHandle function creates a DDE object and fills the object with data from the specified buffer. A DDE application uses this function during transactions that involve passing data to the partner application. DdeCreateStringHandle The DdeCreateStringHandle function creates a handle that identifies the specified string. A DDE client or server application can pass the string handle as a parameter to other Dynamic Data Exchange Management Library (DDEML) functions. DdeDisconnect The DdeDisconnect function terminates a conversation started by either the DdeConnect or DdeConnectList function and invalidates the specified conversation handle. DdeDisconnectList The DdeDisconnectList function destroys the specified conversation list and terminates all conversations associated with the list. DdeEnableCallback The DdeEnableCallback function enables or disables transactions for a specific conversation or for all conversations currently established by the calling application. DdeFreeDataHandle The DdeFreeDataHandle function frees a DDE object and deletes the data handle associated with the object. DdeFreeStringHandle The DdeFreeStringHandle function frees a string handle in the calling application. DdeGetData The DdeGetData function copies data from the specified DDE object to the specified local buffer. DdeGetLastError The DdeGetLastError function retrieves the most recent error code set by the failure of a DDEML function and resets the error code to DMLERR_NO_ERROR. DdeImpersonateClient The DdeImpersonateClient function impersonates a DDE client application in a DDE client conversation. DdeInitialize The DdeInitialize function registers an application with the Dynamic Data Exchange Management Library (DDEML). An application must call this function before calling any other DDEML function. DdeKeepStringHandle The DdeKeepStringHandle function increments the usage count associated with the specified handle. This function enables an application to save a string handle passed to the application's DDE callback function. Otherwise, a string handle passed to the callback function is deleted when the callback function returns. This function should also be used to keep a copy of a string handle referenced by the CONVINFO structure returned by the DdeQueryConvInfo function. DdeNameService The DdeNameService function registers or unregisters the service names a DDE server supports. This function causes the system to send XTYP_REGISTER or XTYP_UNREGISTER transactions to other running Dynamic Data Exchange Management Library (DDEML) client applications. DdePostAdvise The DdePostAdvise function causes the system to send an XTYP_ADVREQ transaction to the calling (server) application's DDE callback function for each client with an active advise loop on the specified topic and item. A server application should call this function whenever the data associated with the topic name or item name pair changes. DdeQueryConvInfo The DdeQueryConvInfo function retrieves information about a DDE transaction and about the conversation in which the transaction takes place. DdeQueryNextServer The DdeQueryNextServer function retrieves the next conversation handle in the specified conversation list. DdeQueryString The DdeQueryString function copies text associated with a string handle into a buffer. DdeReconnect The DdeReconnect function enables a client Dynamic Data Exchange Management Library (DDEML) application to attempt to reestablish a conversation with a service that has terminated a conversation with the client. When the conversation is reestablished, the DDEML attempts to reestablish any preexisting advise loops. DdeSetQualityOfService The DdeSetQualityOfService function specifies the quality of service (QOS) a raw Dynamic Data Exchange (DDE) application desires for future DDE conversations it initiates. The specified QOS applies to any conversations started while those settings are in place. A DDE conversation's quality of service lasts for the duration of the conversation; calls to the DdeSetQualityOfService function during a conversation do not affect that conversation's QOS. DdeSetUserHandle The DdeSetUserHandle function associates an application-defined value with a conversation handle or a transaction identifier. This is useful for simplifying the processing of asynchronous transactions. An application can use the DdeQueryConvInfo function to retrieve this value. DdeUnaccessData The DdeUnaccessData function unaccesses a DDE object. An application must call this function after it has finished accessing the object. DdeUninitialize The DdeUninitialize function frees all DDEML resources associated with the calling application. DebugActiveProcess Enables a debugger to attach to an active process and debug it. DebugActiveProcessStop Stops the debugger from debugging the specified process. DebugBreak Causes a breakpoint exception to occur in the current process. DebugBreakProcess Causes a breakpoint exception to occur in the specified process. DebugProc The DebugProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function before calling the hook procedures associated with any type of hook. The system passes information about the hook to be called to the DebugProc hook procedure, which examines the information and determines whether to allow the hook to be called. The HOOKPROC type defines a pointer to this callback function. DebugProc is a placeholder for the application-defined or library-defined function name. DebugSetProcessKillOnExit Sets the action to be performed when the calling thread exits. DecryptFile Decrypts an encrypted file or directory. DefDlgProc The DefDlgProc function calls the default dialog box window procedure to provide default processing for any window messages that a dialog box with a private window class does not process. DeferWindowPos The DeferWindowPos function updates the specified multiple-window – position structure for the specified window. The function then returns a handle to the updated structure. The EndDeferWindowPos function uses the information in this structure to change the position and size of a number of windows simultaneously. The BeginDeferWindowPos function creates the structure. DefFrameProc The DefFrameProc function provides default processing for any window messages that the window procedure of a MDI frame window does not process. All window messages that are not explicitly processed by the window procedure must be passed to the DefFrameProc function, not the DefWindowProc function. DefineDosDevice Defines, redefines, or deletes MS-DOS device names. DefMDIChildProc The DefMDIChildProc function provides default processing for any window message that the window procedure of a MDI child window does not process. A window message not processed by the window procedure must be passed to the DefMDIChildProc function, not to the DefWindowProc function. DefRawInputProc The DefRawInputProc function calls the default raw input procedure to provide default processing for any raw input messages that an application does not process. This function ensures that every message is processed. DefRawInputProc is called with the same parameters received by the window procedure. DefWindowProc The DefWindowProc function calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure. DeleteAtom The DeleteAtom function decrements the reference count of a local string atom. If the atom's reference count is reduced to zero, DeleteAtom removes the string associated with the atom from the local atom table. DeleteBoundaryDescriptor Deletes the specified boundary descriptor. DeleteCriticalSection Releases all resources used by an unowned critical section object. DeleteDC Deletes the specified device context. DeleteEnhMetaFile Deletes an enhanced-format metafile or an enhanced-format metafile handle. DeleteFiber Deletes an existing fiber. DeleteFile Deletes an existing directory. Deletes an existing file. DeleteFileTransacted Deletes an existing file as a transacted operation. DeleteForm Removes a form name from the list of supported forms. DeleteLogByHandle Marks the specified log for deletion. DeleteLogFile Marks a log for deletion. DeleteLogMarshallingArea Deletes a marshalling area that is created by a successful call to CreateLogMarshallingArea. DeleteMenu The DeleteMenu function deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu. DeleteMonitor Removes a port monitor added by the AddMonitor function. DeleteObject Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. DeletePort Displays a dialog box that allows the user to delete a port name. DeletePrinter Deletes the specified printer object. DeletePrinterConnection Deletes a connection to a printer. DeletePrinterData Deletes specified configuration data for a printer. DeletePrinterDataEx Deletes a specified value from the configuration data for a printer. DeletePrinterDriver Removes the specified printer-driver name from the list of names of supported drivers for a server. DeletePrinterDriverEx Removes the specified printer-driver name from the list of names of supported drivers for a server and deletes the files associated with the driver. DeletePrinterDriverPackage Deletes a printer driver package from the driver store. DeletePrinterKey Deletes a specified key and all its subkeys for a specified printer. DeletePrintProcessor Removes a printer processor. DeletePrintProvidor Removes a local print provider. DeleteProcThreadAttributeList Deletes the specified list of attributes for process and thread creation. DeleteProfile Deletes the user profile and all user-related settings from the specified computer. DeletePwrScheme Deletes the specified power scheme. PowerDeleteScheme DeleteService Marks the specified service for deletion from the service control manager database. DeleteTimerQueue Deletes a timer queue. DeleteTimerQueueEx Deletes a timer queue. DeleteTimerQueueTimer Cancels a timer-queue timer. DeleteUmsCompletionList Deletes the specified UMS completion list. The list must be empty. DeleteUmsThreadContext Deletes the specified UMS thread context. The thread must be terminated. DeleteVolumeMountPoint Deletes a drive letter or mounted folder. DequeueUmsCompletionListItems Retrieves UMS worker threads from the specified UMS completion list. DeregisterEventSource Closes a write handle to the specified event log. DeregisterShellHookWindow Unregisters a specified Shell window that is registered to receive Shell hook messages. It unregisters windows that are registered with a call to the RegisterShellHookWindow function. DestroyAcceleratorTable The DestroyAcceleratorTable function destroys an accelerator table. DestroyCaret The DestroyCaret function destroys the caret's current shape, frees the caret from the window, and removes the caret from the screen. DestroyCursor The DestroyCursor function destroys a cursor and frees any memory the cursor occupied. Do not use this function to destroy a shared cursor. DestroyEnvironmentBlock Frees environment variables created by the CreateEnvironmentBlock function. DestroyIcon Destroys an icon and frees any memory the icon occupied. DestroyMenu The DestroyMenu function destroys the specified menu and frees any memory that the menu occupies. DestroyThreadpoolEnvironment Deletes the specified callback environment. Call this function when the callback environment is no longer needed for creating new thread pool objects. DestroyWindow The DestroyWindow function destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it. The function also destroys the window's menu, flushes the thread message queue, destroys timers, removes clipboard ownership, and breaks the clipboard viewer chain (if the window is at the top of the viewer chain). If the specified window is a parent or owner window, DestroyWindow automatically destroys the associated child or owned windows when it destroys the parent or owner window. The function first destroys child or owned windows, and then it destroys the parent or owner window. DestroyWindow also destroys modeless dialog boxes created by the CreateDialog function. DeviceCapabilities Retrieves the capabilities of a printer device driver. DeviceIoControl Sends a control code directly to a specified device driver. DevicePowerClose Frees all nodes in the device list and destroys the device list. DevicePowerEnumDevices Enumerates devices on the system that meet the specified criteria. DevicePowerOpen Initializes a device list by querying all the devices. DevicePowerSetDeviceState Modifies the specified data on the specified device. DialogBox The DialogBox macro creates a modal dialog box from a dialog box template resource. DialogBox does not return control until the specified callback function terminates the modal dialog box by calling the EndDialog function. The DialogBox macro uses the DialogBoxParam function. DialogBoxIndirect The DialogBoxIndirect macro creates a modal dialog box from a dialog box template in memory. DialogBoxIndirect does not return control until the specified callback function terminates the modal dialog box by calling the EndDialog function. The DialogBoxIndirect macro uses the DialogBoxIndirectParam function. DialogBoxIndirectParam The DialogBoxIndirectParam function creates a modal dialog box from a dialog box template in memory. Before displaying the dialog box, the function passes an application-defined value to the dialog box procedure as the lParam parameter of the WM_INITDIALOG message. An application can use this value to initialize dialog box controls. DialogBoxParam The DialogBoxParam function creates a modal dialog box from a dialog box template resource. Before displaying the dialog box, the function passes an application-defined value to the dialog box procedure as the lParam parameter of the WM_INITDIALOG message. An application can use this value to initialize dialog box controls. DialogProc The DialogProc function is an application-defined callback function used with the CreateDialog and DialogBox families of functions. It processes messages sent to a modal or modeless dialog box. The DLGPROC type defines a pointer to this callback function. DialogProc is a placeholder for the application-defined function name. DisableThreadLibraryCalls Disables thread attach and thread detach notifications for the specified DLL. DisassociateCurrentThreadFromCallback Removes the association between the currently executing callback function and the object that initiated the callback. The current thread will no longer count as executing a callback on behalf of the object. DisconnectNamedPipe Disconnects the server end of a named pipe instance from a client process. DispatchMessage The DispatchMessage function dispatches a message to a window procedure. It is typically used to dispatch a message retrieved by the GetMessage function. DlgDirList Replaces the contents of a list box with the names of the subdirectories and files in a specified directory. You can filter the list of names by specifying a set of file attributes. The list can optionally include mapped drives. DlgDirListComboBox Replaces the contents of a combo box with the names of the subdirectories and files in a specified directory. You can filter the list of names by specifying a set of file attributes. The list of names can include mapped drive letters. DlgDirSelectComboBoxEx Retrieves the current selection from a combo box filled by using the DlgDirListComboBox function. The selection is interpreted as a drive letter, a file, or a directory name. DlgDirSelectEx Retrieves the current selection from a single-selection list box. It assumes that the list box has been filled by the DlgDirList function and that the selection is a drive letter, filename, or directory name. DllMain An optional entry point into a DLL. DnsHostnameToComputerName Converts a DNS name to a NetBIOS name. DocumentProperties Retrieves or modifies printer initialization information or displays a printer-configuration property sheet for the specified printer. DosDateTimeToFileTime Converts MS-DOS date and time values to a file time. DownlevelGetLocaleScripts Provides a list of scripts for the specified locale. DownlevelGetParentLocaleLCID Retrieves the locale identifier for the parent of the supplied locale. DownlevelGetParentLocaleName Retrieves the locale name for the parent of the supplied locale. DownlevelGetStringScripts Provides a list of scripts used in the specified Unicode string. DownlevelLCIDToLocaleName Converts a locale identifier to a locale name. DownlevelLocaleNameToLCID Converts a locale name to a locale identifier that can be used to get information from the operating system. DownlevelVerifyScripts Compares two enumerated lists of scripts. DPtoLP Converts device coordinates into logical coordinates. DragDetect The DragDetect function captures the mouse and tracks its movement until the user releases the left button, presses the ESC key, or moves the mouse outside the drag rectangle around the specified point. The width and height of the drag rectangle are specified by the SM_CXDRAG and SM_CYDRAG values returned by the GetSystemMetrics function. DrawAnimatedRects Draws a rectangle and animates it to indicate icon or window activity. DrawCaption Draws a window caption. DrawEdge Draws one or more edges of rectangle. DrawEscape Provides drawing capabilities of the specified video display that are not directly available through the graphics device interface. DrawFocusRect Draws a rectangle in the style that indicates the rectangle has the focus. DrawFrameControl Draws a frame control. DrawIcon The DrawIcon function draws an icon or cursor into the specified device context. To specify additional drawing options, use the DrawIconEx function. DrawIconEx The DrawIconEx function draws an icon or cursor into the specified device context, performing the specified raster operations, and stretching or compressing the icon or cursor as specified. DrawMenuBar The DrawMenuBar function redraws the menu bar of the specified window. If the menu bar changes after the system has created the window, this function must be called to draw the changed menu bar. DrawState Displays an image and applies a visual effect to indicate a state. DrawStateProc A callback function that renders a complex image for DrawState. DrawText Draws formatted text in a rectangle. DrawTextEx Draws formatted text in rectangle. DumpLogRecords Scans a specified log, filters log records based on record type, and places the records in an output file stream that the caller opens. DuplicateEncryptionInfoFile Copies the EFS metadata from one file or directory to another. DuplicateIcon The DuplicateIcon function creates a duplicate of a specified icon. DvdLauncher Verifies that the media region in the DVD drive matches the DVD drive region. EditStreamCallback The EditStreamCallback function is an application defined callback function used with the EM_STREAMIN and EM_STREAMOUT messages. It is used to transfer a stream of data into or out of a rich edit control. The EDITSTREAMCALLBACK type defines a pointer to this callback function. EditStreamCallback is a placeholder for the application-defined function name. EditWordBreakProcEx The EditWordBreakProcEx function is an application defined–callback function used with the EM_SETWORDBREAKPROCEX message. It determines the character index of the word break or the character class and word-break flags of the characters in the specified text. The EDITWORDBREAKPROCEX type defines a pointer to this callback function. EditWordBreakProcEx is a placeholder for the application-defined function name. Ellipse Draws an ellipse. EmptyClipboard The EmptyClipboard function empties the clipboard and frees handles to data in the clipboard. The function then assigns ownership of the clipboard to the window that currently has the clipboard open. EnableMenuItem The EnableMenuItem function enables, disables, or grays the specified menu item. EnableScrollBar The EnableScrollBar function enables or disables one or both scroll bar arrows. EnableWindow The EnableWindow function enables or disables mouse and keyboard input to the specified window or control. When input is disabled, the window does not receive input such as mouse clicks and key presses. When input is enabled, the window receives all input. EncryptFile Encrypts a file or directory. EncryptionDisable Disables or enables encryption of a specified directory and the files in the directory. EndDeferWindowPos The EndDeferWindowPos function simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle. EndDialog The EndDialog function destroys a modal dialog box, causing the system to end any processing for the dialog box. EndDoc Ends a print job. EndDocPrinter Ends a print job for the specified printer. EndMenu The EndMenu function ends the calling thread's active menu. EndPage Notifies the device that the application has finished writing to a page. EndPagePrinter Notifies the print spooler that the application is at the end of a page in a print job. EndPaint Marks the end of painting in a window. EndPath Closes a path bracket and selects the path defined by the bracket into the specified device context. EndTask The EndTask function is called to forcibly close a specified window. EnhMetaFileProc An application-defined callback function used with the EnumEnhMetaFile function. EnterCriticalSection Waits for ownership of the specified critical section object. EnterUmsSchedulingMode Converts the calling thread into a UMS scheduler thread. EnumCalendarInfo Enumerates calendar information for a specified locale. EnumCalendarInfoEx Enumerates calendar information for a locale specified by identifier. EnumCalendarInfoExEx Enumerates calendar information for a locale specified by name. EnumCalendarInfoProc An application-defined callback function that processes enumerated calendar information provided by the EnumCalendarInfo function. EnumCalendarInfoProcEx An application-defined callback function that processes enumerated calendar information provided by the EnumCalendarInfoEx function. EnumCalendarInfoProcExEx An application-defined callback function that processes enumerated calendar information provided by the EnumCalendarInfoExEx function. EnumChildProc The EnumChildProc function is an application-defined callback function used with the EnumChildWindows function. It receives the child window handles. The WNDENUMPROC type defines a pointer to this callback function. EnumChildProc is a placeholder for the application-defined function name. EnumChildWindows The EnumChildWindows function enumerates the child windows that belong to the specified parent window by passing the handle to each child window, in turn, to an application-defined callback function. EnumChildWindows continues until the last child window is enumerated or the callback function returns FALSE. EnumClipboardFormats The EnumClipboardFormats function enumerates the data formats currently available on the clipboard. Clipboard data formats are stored in an ordered list. To perform an enumeration of clipboard data formats, you make a series of calls to the EnumClipboardFormats function. For each call, the format parameter specifies an available clipboard format, and the function returns the next available clipboard format. EnumCodePagesProc An application-defined callback function that processes enumerated code page information provided by the EnumSystemCodePages function. EnumDateFormats Enumerates the long date, short date, or year/month formats that are available for a specified locale. EnumDateFormatsEx Enumerates the long date, short date, or year/month formats that are available for a specified locale. EnumDateFormatsExEx Enumerates the long date, short date, or year/month formats that are available for a locale specified by name. EnumDateFormatsProc An application-defined callback function that processes date format information provided by the EnumDateFormats function. EnumDateFormatsProcEx An application-defined callback function that processes date format information provided by the EnumDateFormatsEx function. EnumDateFormatsProcExEx An application-defined callback function that processes date format information provided by the EnumDateFormatsExEx function. EnumDependentServices Retrieves the name and status of each service that depends on the specified service. EnumDisplayDevices Retrieves information about the display devices in a system. EnumDisplayMonitors Enumerates display monitors that intersect a region formed by the intersection of a specified clipping rectangle and the visible region of a device context. EnumDisplaySettings Retrieves information about one of the graphics modes for a display device. EnumDisplaySettingsEx Retrieves information about one of the graphics modes for a display device. EnumEnhMetaFile Enumerates the records within an enhanced-format metafile. EnumFontFamExProc An application definedcallback function used with EnumFontFamiliesEx to process fonts. EnumFontFamiliesEx Enumerates all fonts in the system with certain characteristics. EnumForms Enumerates the forms supported by the specified printer. EnumGeoInfoProc An application-defined callback function that processes enumerated geographical location information provided by the EnumSystemGeoID function. EnumInputContext An application-defined callback function that processes input contexts provided by the ImmEnumInputContext function. EnumJobs Retrieves information about a specified set of print jobs for a specified printer. EnumLanguageGroupLocales Enumerates the locales in a specified language group. EnumLanguageGroupLocalesProc An application-defined callback function that processes enumerated language group locale information provided by the EnumLanguageGroupLocales function. EnumLanguageGroupsProc An application-defined callback function that processes enumerated language group information provided by the EnumSystemLanguageGroups function. EnumLocalesProc An application-defined callback function that processes enumerated locale information provided by the EnumSystemLocales function. EnumLocalesProcEx An application-defined callback function that processes enumerated locale information provided by the EnumSystemLocalesEx function. EnumMonitors Retrieves information about the port monitors installed on the specified server. EnumObjects Enumerates the pens or brushes available for the specified device context. EnumObjectsProc An application-defined callback function used with the EnumObjects function. EnumPorts Enumerates the ports that are available for printing on a specified server. EnumPrinterData Enumerates configuration data for a specified printer. EnumPrinterDataEx Enumerates all value names and data for a specified printer and key. EnumPrinterDrivers Enumerates the printer drivers installed on a specified printer server. EnumPrinterKey Enumerates the subkeys of a specified key for a specified printer. EnumPrinters Enumerates available printers, print servers, domains, or print providers. EnumPrintProcessorDatatypes Enumerates the data types that a specified print processor supports. EnumPrintProcessors Enumerates the print processors installed on the specified server. EnumProcesses Retrieves the process identifier for each process object in the system. EnumProps The EnumProps function enumerates all entries in the property list of a window by passing them, one by one, to the specified callback function. EnumProps continues until the last entry is enumerated or the callback function returns FALSE. To pass application-defined data to the callback function, use EnumPropsEx function. EnumPropsEx The EnumPropsEx function enumerates all entries in the property list of a window by passing them, one by one, to the specified callback function. EnumPropsEx continues until the last entry is enumerated or the callback function returns FALSE. EnumPwrSchemes Enumerates all power schemes. PowerEnumerate EnumRegisterWordProc An application-defined callback function used with the ImmEnumRegisterWord function. EnumServicesStatusEx Enumerates services in the specified service control manager database based on the specified information level. EnumSystemCodePages Enumerates the code pages that are either installed on or supported by an operating system. EnumSystemFirmwareTables Enumerates all system firmware tables of the specified type. EnumSystemGeoID Enumerates the geographical location identifiers (type GEOID) that are available on the operating system. EnumSystemLanguageGroups Enumerates the language groups that are either installed on or supported by an operating system. EnumSystemLocales Enumerates the locales that are either installed on or supported by an operating system. EnumSystemLocalesEx Enumerates the locales that are either installed on or supported by an operating system. EnumThreadWindows The EnumThreadWindows function enumerates all nonchild windows associated with a thread by passing the handle to each window, in turn, to an application-defined callback function. EnumThreadWindows continues until the last window is enumerated or the callback function returns FALSE. To enumerate child windows of a particular window, use the EnumChildWindows function. EnumThreadWndProc The EnumThreadWndProc function is an application-defined callback function used with the EnumThreadWindows function. It receives the window handles associated with a thread. The WNDENUMPROC type defines a pointer to this callback function. EnumThreadWndProc is a placeholder for the application-defined function name. EnumTimeFormats Enumerates the time formats that are available for a locale specified by identifier. EnumTimeFormatsEx Enumerates the time formats that are available for a locale specified by name. EnumTimeFormatsProc An application-defined callback function that processes enumerated time format information provided by the EnumTimeFormats function. EnumTimeFormatsProcEx An application-defined callback function that processes enumerated time format information provided by the EnumTimeFormatsEx function. EnumWindows The EnumWindows function enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function. EnumWindows continues until the last top-level window is enumerated or the callback function returns FALSE. EnumWindowsProc The EnumWindowsProc function is an application-defined callback function used with the EnumWindows or EnumDesktopWindows function. It receives top-level window handles. The WNDENUMPROC type defines a pointer to this callback function. EnumWindowsProc is a placeholder for the application-defined function name. EqualRect Determines whether the two specified rectangles are equal by comparing the coordinates of their upper-left and lower-right corners. EqualRgn Checks the two specified regions to determine whether they are identical. EraseTape Erases all or part of a tape. Escape Enables applications to access capabilities of a particular device that are not available through GDI. EscapeCommFunction Directs a specified communications device to perform an extended function. Event function Description ExcludeClipRect Creates a new clipping region that consists of the existing clipping region minus the specified rectangle. ExcludeUpdateRgn Prevents drawing within invalid areas of a window. ExecuteUmsThread Runs the specified UMS worker thread. ExitProcess Ends the calling process and all its threads. ExitThread Ends the calling thread. ExitWindows Logs off the interactive user. ExitWindowsEx Logs off the interactive user, shuts down the system, or shuts down and restarts the system. ExpandEnvironmentStrings Replaces environment-variable strings with their defined values. ExpandEnvironmentStringsForUser Expands the source string by using the environment block established for the specified user. ExportCallback Callback function used with ReadEncryptedFileRaw, called one or more times, each time with a block of the encrypted file's data, until it has received all of the file data. ExtCreatePen Creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes. ExtCreateRegion Creates a region from the specified region and transformation data. ExtEscape Enables applications to access capabilities of a particular device that are not available through GDI. ExtFloodFill Fills an area of the display surface with the current brush. ExtractAssociatedIcon The ExtractAssociatedIcon function returns a handle to an indexed icon found in a file or an icon found in an associated executable file. ExtractIcon The ExtractIcon function retrieves a handle to an icon from the specified executable file, DLL, or icon file. To retrieve an array of handles to large or small icons, use the ExtractIconEx function. ExtractIconEx The ExtractIconEx function creates an array of handles to large or small icons extracted from the specified executable file, DLL, or icon file. ExtSelectClipRgn Combines the specified region with the current clipping region using the specified mode. ExtTextOut Draws a character string. FatalAppExit Displays a message box and terminates the application when the message box is closed. FatalExit Transfers execution control to the debugger. FiberProc An application-defined function used with the CreateFiber function. FileEncryptionStatus Retrieves the encryption status of a specified file. FileIOCompletionRoutine Callback function used with the ReadFileEx and WriteFileEx functions, called when the asynchronous input and output (I/O) operation is completed or canceled. FileTimeToDosDateTime Converts a file time to MS-DOS date and time values. FileTimeToLocalFileTime Converts a UTC file time to a local file time. FileTimeToSystemTime Converts a file time to system time format. FillConsoleOutputAttribute Sets the text and background color attributes for a specified number of character cells. FillConsoleOutputCharacter Writes a character to the console screen buffer a specified number of times. FillMemory Fills a block of memory with a specified value. FillPath Closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode. FillRect Fills a rectangle using a brush. FillRgn Fills a region by using the specified brush. FindAtom The FindAtom function searches the local atom table for the specified character string and retrieves the atom associated with that string. FindClose Closes a file search handle that the FindFirstFile, FindFirstFileEx, or FindFirstStreamW function opens. FindCloseChangeNotification Stops change notification handle monitoring. FindClosePrinterChangeNotification Closes a change notification object. FindFirstChangeNotification Creates a change notification handle. FindFirstFile Searches a directory for a file or subdirectory whose name matches the specified name. FindFirstFileEx Searches a directory for a file or subdirectory name and attributes that match those that are specified. FindFirstFileNameTransactedW Creates an enumeration of all the hard links to the specified file as a transacted operation. The function returns a handle to the enumeration that can be used on subsequent calls to the FindNextFileNameW function. FindFirstFileNameW Creates an enumeration of all the hard links to the specified file. The FindFirstFileNameW function returns a handle to the enumeration that can be used on subsequent calls to the FindNextFileNameW function. FindFirstFileTransacted Searches a directory for a file or subdirectory with a name that matches a specific name as a transacted operation. FindFirstPrinterChangeNotification Creates a change notification object. FindFirstStreamTransactedW Enumerates the first stream in the specified file or directory as a transacted operation. FindFirstStreamW Enumerates the first stream in a specified file or directory. FindFirstVolume Retrieves the name of a volume on a computer. FindFirstVolumeMountPoint Retrieves the name of a mounted folder on the specified volume. FindNextChangeNotification Requests that the operating system signal a change notification handle the next time it detects an appropriate change. FindNextFile Continues a file search. FindNextFileNameW Continues enumerating the hard links to a file using the handle returned by a successful call to the FindFirstFileNameW function. FindNextPrinterChangeNotification Retrieves information about the most recent change notification for a change notification object. FindNextStreamW Continues a stream search. FindNextVolume Continues a volume search started by a call to FindFirstVolume. FindNextVolumeMountPoint Continues a mounted folder search started by a call to FindFirstVolumeMountPoint. FindNLSString Locates a Unicode string (wide characters) or its equivalent in another Unicode string for a locale specified by identifier. FindNLSStringEx Locates a Unicode string (wide characters) or its equivalent in another Unicode string for a locale specified by identifier. FindStringOrdinal Locates a Unicode string (wide characters) in another Unicode string for a non-linguistic comparison. FindText Creates a system-defined modeless Find dialog box that lets the user specify a string to search for and options to use when searching for text in a document. FindVolumeClose Closes the specified volume search handle. FindVolumeMountPointClose Closes the specified mounted folder search handle. FindWindow The FindWindow function retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search. To search child windows, beginning with a specified child window, use the FindWindowEx function. FindWindowEx The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window. This function does not perform a case-sensitive search. FlashWindow Flashes the specified window one time. FlashWindowEx Flashes the specified window. FlattenPath Transforms any curves in the path that is selected into the current device context (DC), turning each curve into a sequence of lines. FlsAlloc Allocates a fiber local storage (FLS) index. FlsFree Releases an FLS index. FlsGetValue Retrieves the value in the calling fiber's FLS slot for a specified FLS index. FlsSetValue Stores a value in the calling fiber's FLS slot for a specified FLS index. FlushConsoleInputBuffer Flushes the console input buffer. FlushFileBuffers Flushes the buffers for a specified file, and causes all buffered data to be written to the file. FlushInstructionCache Flushes the instruction cache for the specified process. FlushLogBuffers Forces all records that are appended to this marshalling area to be flushed to disk. FlushLogToLsn Forces all records that are appended to this marshalling area up to the record with the specified log sequence number (LSN) to be flushed to the disk. FlushPrinter Sends a buffer to the printer in order to clear it from a transient state. FlushProcessWriteBuffers Flushes the write queue of each processor that is running a thread of the current process. FlushViewOfFile Writes to the disk a byte range within a mapped view of a file. FoldString Maps one Unicode string to another, performing the specified transformation. ForegroundIdleProc The ForegroundIdleProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function whenever the foreground thread is about to become idle. The HOOKPROC type defines a pointer to this callback function. ForegroundIdleProc is a placeholder for the application-defined or library-defined function name. FormatMessage Formats a message string. FrameRect Draws a border around a rectangle using a brush. FrameRgn Draws a border around the specified region by using the specified brush. FreeConsole Detaches the calling process from its console. FreeDDElParam The FreeDDElParam function frees the memory specified by the lParam parameter of a posted DDE message. An application receiving a posted DDE message should call this function after it has used the UnpackDDElParam function to unpack the lParam value. FreeEncryptionCertificateHashList Frees a certificate hash list. FreeEnvironmentStrings Frees a block of environment strings. FreeLibrary Decrements the reference count of the loaded DLL. When the reference count reaches zero, the module is unmapped from the address space of the calling process. FreeLibraryAndExitThread Decrements the reference count of a loaded DLL by one, and then calls ExitThread to terminate the calling thread. FreeLibraryWhenCallbackReturns Specifies the DLL that the thread pool will unload when the current callback completes. FreePrinterNotifyInfo Frees a system-allocated buffer created by the FindNextPrinterChangeNotification function. FreeReservedLog Reduces the number of reserved log records in a marshalling area made by calling ReserveAndAppendLog, ReserveAndAppendLogAligned, or AllocReservedLog. FreeUserPhysicalPages Frees physical memory pages previously allocated with AllocateUserPhysicalPages. FRHookProc Receives messages or notifications intended for the default dialog box procedure of the Find or Replace dialog box. The FRHookProc hook procedure is an application-defined or library-defined callback function that is used with the FindText or ReplaceText function. The LPFRHOOKPROC type defines a pointer to this callback function. FRHookProc is a placeholder for the application-defined function name. GdiComment Copies a comment from a buffer into a specified enhanced-format metafile. GdiFlush Flushes the calling thread's current batch. GdiGetBatchLimit Returns the maximum number of function calls that can be accumulated in the calling thread's current batch. GdiSetBatchLimit Sets the maximum number of function calls that can be accumulated in the calling thread's current batch. GenerateConsoleCtrlEvent Sends a specified signal to a console process group that shares the console associated with the calling process. GetACP Retrieves the current Windows ANSI code page identifier for the system. GetActiveProcessorCount Returns the number of active processors in a processor group or in the system. GetActiveProcessorGroupCount Returns the number of active processor groups in the system. GetActivePwrScheme Retrieves the index of the active power scheme. PowerGetActiveScheme GetActiveWindow The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue. GetAllUsersProfileDirectory Retrieves the path to the root of the All Users profile. GetAltTabInfo The GetAltTabInfo function retrieves status information for the specified window if it is the application-switching (ALT+TAB) window. GetAncestor The GetAncestor function retrieves the handle to the ancestor of the specified window. GetApplicationRecoveryCallback Retrieves a pointer to the recovery callback routine registered for the specified process. GetApplicationRestartSettings Retrieves the restart information registered for the specified process. GetArcDirection Retrieves the current arc direction for the specified device context. GetAspectRatioFilterEx Gets the setting for the aspect-ratio filter. GetAsyncKeyState The GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState. GetAtomName The GetAtomName function retrieves a copy of the character string associated with the specified local atom. GetBinaryType Determines whether a file is an executable (.exe) file, and if so, which subsystem runs the executable file. GetBitmapDimensionEx Gets the dimensions of a bitmap. GetBkColor Returns the background color for a device context. GetBkMode Returns the background mix mode for a device context. GetBoundsRect Gets the accumulated bounding rectangle for a device context. GetBrushOrgEx Gets the brush origin for a device context GetCalendarDateFormatEx Deprecated. Retrieves a properly formatted date string for the specified locale using the specified date. GetCalendarInfo Retrieves information about a calendar for a locale specified by identifier. GetCalendarInfoEx Retrieves information about a calendar for a locale specified by name. GetCalendarSupportedDateRange Deprecated. Gets the supported date range for a specified calendar. GetCapture The GetCapture function retrieves a handle to the window (if any) that has captured the mouse. Only one window at a time can capture the mouse; this window receives mouse input whether or not the cursor is within its borders. GetCaretBlinkTime The GetCaretBlinkTime function returns the time required to invert the caret's pixels. The user can set this value. GetCaretPos The GetCaretPos function copies the caret's position to the specified POINT structure. GetCharABCWidths Gets the widths of consecutive characters from the TrueType font. GetCharABCWidthsFloat Gets the widths of consecutive characters from the current font. GetCharABCWidthsI Gets the widths of consecutive glyph indices or from an array of glyph indices from the TrueType font. GetCharacterPlacement Gets information about a character string. GetCharWidth32 Gets the widths of consecutive characters from the current font. GetCharWidthFloat Gets the fractional widths of consecutive characters from the current font. GetCharWidthI Gets the widths of consecutive glyph indices or an array of glyph indices from the current font. GetClassInfo The GetClassInfo function retrieves information about a window class. Note The GetClassInfo function has been superseded by the GetClassInfoEx function. You can still use GetClassInfo, however, if you do not need information about the class small icon. GetClassInfoEx The GetClassInfoEx function retrieves information about a window class, including a handle to the small icon associated with the window class. The GetClassInfo function does not retrieve a handle to the small icon. GetClassLong The GetClassLong function retrieves the specified 32-bit (long) value from the WNDCLASSEX structure associated with the specified window. GetClassLongPtr The GetClassLongPtr function retrieves the specified value from the WNDCLASSEX structure associated with the specified window. If you are retrieving a pointer or a handle, this function supersedes the GetClassLong function. (Pointers and handles are 32 bits on 32-bit Microsoft Windows and 64 bits on 64-bit Windows.) To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetClassLongPtr. GetClassName The GetClassName function retrieves the name of the class to which the specified window belongs. GetClassWord The GetClassWord function retrieves the 16-bit (WORD) value at the specified offset into the extra class memory for the window class to which the specified window belongs. Note This function is deprecated for any use other than nIndex set to GCW_ATOM. The function is provided only for compatibility with 16-bit versions of Windows. Applications should use the GetClassLong function. GetClientRect The GetClientRect function retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0). GetClipboardData The GetClipboardData function retrieves data from the clipboard in a specified format. The clipboard must have been opened previously. GetClipboardFormatName The GetClipboardFormatName function retrieves from the clipboard the name of the specified registered format. The function copies the name to the specified buffer. GetClipboardOwner The GetClipboardOwner function retrieves the window handle of the current owner of the clipboard. GetClipboardSequenceNumber The GetClipboardSequenceNumber function retrieves the clipboard sequence number for the current window station. GetClipboardViewer The GetClipboardViewer function retrieves the handle to the first window in the clipboard viewer chain. GetClipBox Retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. GetClipCursor The GetClipCursor function retrieves the screen coordinates of the rectangular area to which the cursor is confined. GetClipRgn Retrieves a handle identifying the current application-defined clipping region for the specified device context. GetColorAdjustment Retrieves the color adjustment values for the specified DC. GetComboBoxInfo Retrieves information about the specified combo box. GetCommandLine Retrieves the command-line string for the current process. GetCommConfig Retrieves the current configuration of a communications device. GetCommMask Retrieves the value of the event mask for a specified communications device. GetCommModemStatus Retrieves modem control-register values. GetCommProperties Retrieves information about the communications properties for a specified communications device. GetCommState Retrieves the current control settings for a specified communications device. GetCommTimeouts Retrieves the time-out parameters for all read and write operations on a specified communications device. GetCompressedFileSize Retrieves the actual number of disk storage bytes that are used to store a specified file. GetCompressedFileSizeTransacted Retrieves the actual number of bytes of disk storage used to store a specified file as a transacted operation. GetComputerName Retrieves the NetBIOS name of the local computer. GetComputerNameEx Retrieves the NetBIOS or DNS name of the local computer. GetComputerObjectName Retrieves the local computer's name in a specified format. GetConsoleAlias Retrieves the specified alias for the specified executable. GetConsoleAliases Retrieves all defined console aliases for the specified executable. GetConsoleAliasesLength Returns the size, in bytes, of the buffer needed to store all of the console aliases for the specified executable. GetConsoleAliasExes Retrieves the names of all executables with console aliases defined. GetConsoleAliasExesLength Returns the size, in bytes, of the buffer needed to store the names of all executables that have console aliases defined. GetConsoleCP Retrieves the input code page used by the console associated with the calling process. GetConsoleCursorInfo Retrieves information about the size and visibility of the cursor for the specified console screen buffer. GetConsoleDisplayMode Retrieves the display mode of the current console. GetConsoleFontSize Retrieves the size of the font used by the specified console screen buffer. GetConsoleHistoryInfo Retrieves the history settings for the calling process's console. GetConsoleMode Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. GetConsoleOriginalTitle Retrieves the original title for the current console window. GetConsoleOutputCP Retrieves the output code page used by the console associated with the calling process. GetConsoleProcessList Retrieves a list of the processes attached to the current console. GetConsoleScreenBufferInfo Retrieves information about the specified console screen buffer. GetConsoleScreenBufferInfoEx Retrieves extended information about the specified console screen buffer. GetConsoleSelectionInfo Retrieves information about the current console selection. GetConsoleTitle Retrieves the title for the current console window. GetConsoleWindow Retrieves the window handle used by the console associated with the calling process. GetCorePrinterDrivers Gets the GUID, version, and date of the specified core printer drivers and the path to their packages. GetCPInfo Retrieves information about any valid installed or available code page. GetCPInfoEx Retrieves information about any valid installed or available code page. GetCurrencyFormat Formats a number string as a currency string for a locale specified by identifier. GetCurrencyFormatEx Formats a number string as a currency string for a locale specified by name. GetCurrentClockTransactionManager Obtains a virtual clock value from a TM. GetCurrentConsoleFont Retrieves information about the current console font. GetCurrentConsoleFontEx Retrieves extended information about the current console font. GetCurrentDirectory Retrieves the current directory for the current process. GetCurrentHwProfile Retrieves the current hardware profile for the local computer. GetCurrentObject Retrieves a handle to an object of the specified type that has been selected into the specified device context. GetCurrentPositionEx Retrieves the current position in logical coordinates. GetCurrentPowerPolicies Retrieves the current system power policy settings. GetCurrentProcess Retrieves a pseudo handle for the current process. GetCurrentProcessId Retrieves the process identifier of the calling process. GetCurrentProcessorNumber Retrieves the number of the processor the current thread was running on during the call to this function. GetCurrentProcessorNumberEx Retrieves the processor group and number of the logical processor in which the calling thread is running. GetCurrentThread Retrieves a pseudo handle for the current thread. GetCurrentThreadId Retrieves the thread identifier of the calling thread. GetCurrentUmsThread Returns the UMS thread context of the calling UMS thread. GetCursor The GetCursor function retrieves a handle to the current cursor. GetCursorInfo The GetCursorInfo function retrieves information about the global cursor. GetCursorPos Retrieves the cursor's position, in screen coordinates. GetDateFormat Formats a date as a date string for a locale specified by identifier. GetDateFormatEx Formats a date as a date string for a locale specified by name. GetDC Retrieves a handle to a display device context for the client area of a specified window or for the entire screen. GetDCBrushColor Retrieves the current brush color for the specified device context. GetDCEx Retrieves a handle to a display device context for the client area of a specified window or for the entire screen. GetDCOrgEx Retrieves the final translation origin for a specified device context. GetDCPenColor Retrieves the current pen color for the specified device context. GetDefaultCommConfig Retrieves the default configuration for the specified communications device. GetDefaultPrinter Retrieves the printer name of the default printer for the current user on the local computer. GetDefaultUserProfileDirectory Retrieves the path to the root of the Default User profile. GetDesktopWindow The GetDesktopWindow function returns a handle to the desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which other windows are painted. GetDeviceCaps Retrieves device-specific information for the specified device. GetDevicePowerState Retrieves the current power state of the specified device. GetDialogBaseUnits The GetDialogBaseUnits function retrieves the system's dialog base units, which are the average width and height of characters in the system font. For dialog boxes that use the system font, you can use these values to convert between dialog template units, as specified in dialog box templates, and pixels. For dialog boxes that do not use the system font, the conversion from dialog template units to pixels depends on the font used by the dialog box. For either type of dialog box, it is easier to use the MapDialogRect function to perform the conversion. MapDialogRect takes the font into account and correctly converts a rectangle from dialog template units into pixels. GetDIBColorTable Retrieves RGB color values from a DIB section bitmap. GetDIBits Copies a bitmap into a buffer. GetDlgCtrlID The GetDlgCtrlID function retrieves the identifier of the specified control. GetDlgItem The GetDlgItem function retrieves a handle to a control in the specified dialog box. GetDlgItemInt The GetDlgItemInt function translates the text of a specified control in a dialog box into an integer value. GetDlgItemText The GetDlgItemText function retrieves the title or text associated with a control in a dialog box. GetDllDirectory Retrieves the application-specific portion of the search path used to locate DLLs for the application. GetDoubleClickTime The GetDoubleClickTime function retrieves the current double-click time for the mouse. A double-click is a series of two clicks of the mouse button, the second occurring within a specified time after the first. The double-click time is the maximum number of milliseconds that may occur between the first and second click of a double-click. GetDriveType Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. GetDurationFormat Formats a duration of time as a time string for a locale specified by identifier. GetDurationFormatEx Formats a duration of time as a time string for a locale specified by name. GetDynamicTimeZoneInformation Retrieves the current time zone and dynamic daylight saving time settings. GetEnabledExtendedFeatures Returns the processor extended features that are enabled by the operating system. GetEnhMetaFile Creates a handle that identifies the enhanced-format metafile stored in the specified file. GetEnhMetaFileBits Retrieves the contents of the specified enhanced-format metafile and copies them into a buffer. GetEnhMetaFileDescription Retrieves an optional text description from an enhanced-format metafile and copies the string to the specified buffer. GetEnhMetaFileHeader Retrieves the record containing the header for the specified enhanced-format metafile. GetEnhMetaFilePaletteEntries Retrieves optional palette entries from the specified enhanced metafile. GetEnlistmentId Obtains the ID for the specified enlistment. GetEnlistmentRecoveryInformation Retrieves an opaque structure of recovery data from KTM. Recovery information is stored in a log on behalf of a RM by calling the SetEnlistmentRecoveryInformation function. After a failure, the RM can use the GetEnlistmentRecoveryInformation function to retrieve the information. GetEnvironmentStrings Retrieves the environment block for the current process. GetEnvironmentVariable Retrieves the value of the specified variable from the environment block of the calling process. GetErrorMode Retrieves the error mode for the current process. GetEventLogInformation Retrieves information about the specified event log. GetExceptionCode Retrieves a code that identifies the type of exception that occurred. GetExceptionInformation Retrieves a machine-independent description of an exception, and information about the machine state that existed for the thread when the exception occurred. GetExitCodeProcess Retrieves the termination status of the specified process. GetExitCodeThread Retrieves the termination status of the specified thread. GetExpandedName Retrieves the original name of a compressed file, only if the file is compressed by the Lempel-Ziv algorithm. GetExtendedContextLength Retrieves the buffer size needed to store a processor context record. GetExtendedFeaturesMask Retrieves the extended features for which state is stored in a processor context record. GetFileAttributes Retrieves file system attributes for a specified file or directory. GetFileAttributesEx Retrieves attributes for a specified file or directory. GetFileAttributesTransacted Retrieves attributes for a specified file or directory as a transacted operation. GetFileBandwidthReservation Retrieves the bandwidth reservation properties of the volume on which the specified file resides. GetFileInformationByHandle Retrieves file information for a specified file. GetFileInformationByHandleEx Retrieves file information for the specified file. GetFileSize Retrieves the size of a specified file, in bytes. The file size that can be reported by this function is limited to a DWORD value. GetFileSizeEx Retrieves the size of a specified file. GetFileTime Retrieves the date and time that the specified file or directory was created, last accessed, and last modified. GetFileTitle Retrieves the name of the specified file. GetFileType Retrieves the file type of a specified file. GetFileVersionInfo Retrieves version information for the specified file. GetFileVersionInfoEx Retrieves version information for the specified file. GetFileVersionInfoSize Determines whether the operating system can retrieve version information for a specified file. If version information is available, GetFileVersionInfoSize returns the size, in bytes, of that information. GetFileVersionInfoSizeEx Determines whether the operating system can retrieve version information for a specified file. If version information is available, GetFileVersionInfoSizeEx returns the size, in bytes, of that information. GetFinalPathNameByHandle Retrieves the final path for the specified file. GetFirmwareEnvironmentVariable Retrieves the value of the specified firmware environment variable from NVRAM. GetFocus The GetFocus function retrieves the handle to the window that has the keyboard focus, if the window is attached to the calling thread's message queue. GetFontData Gets metric data for a TrueType font. GetFontLanguageInfo Returns information about the selected font for a display context. GetFontUnicodeRanges Tells which Unicode characters are supported by a font. GetForegroundWindow The GetForegroundWindow function returns a handle to the foreground window (the window with which the user is currently working). The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads. GetForm Retrieves information about a specified form. GetFullPathName Retrieves the full path and file name of a specified file. GetFullPathNameTransacted Retrieves the full path and file name of a specified file as a transacted operation. GetGeoInfo Gets information about a specified geographical location. GetGlyphIndices Translates a string into an array of glyph indices. GetGlyphOutline Gets the outline or bitmap for a character in the TrueType font. GetGraphicsMode Retrieves the current graphics mode for the specified device context. GetGuiResources Retrieves the count of handles to graphical user interface (GUI) objects in use by the specified process. GetGUIThreadInfo Retrieves information about the active window or a specified graphical user interface (GUI) thread. GetIconInfo The GetIconInfo function retrieves information about the specified icon or cursor. GetIconInfoEx Retrieves information about the specified icon or cursor. GetIconInfoEx extends GetIconInfo by using the newer ICONINFOEX structure. GetInputState The GetInputState function determines whether there are mouse-button or keyboard messages in the calling thread's message queue. GetJob Retrieves information about a specified print job. GetKBCodePage The GetKBCodePage function returns the current code page. Note This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the GetOEMCP function to retrieve the OEM code-page identifier for the system. GetKerningPairs Gets the character-kerning pairs for a font. GetKeyboardLayout The GetKeyboardLayout function retrieves the active input locale identifier (formerly called the keyboard layout) for the specified thread. If the idThread parameter is zero, the input locale identifier for the active thread is returned. GetKeyboardLayoutList The GetKeyboardLayoutList function retrieves the input locale identifiers (formerly called keyboard layout handles) corresponding to the current set of input locales in the system. The function copies the identifiers to the specified buffer. GetKeyboardLayoutName The GetKeyboardLayoutName function retrieves the name of the active input locale identifier (formerly called the keyboard layout). GetKeyboardState The GetKeyboardState function copies the status of the 256 virtual keys to the specified buffer. GetKeyboardType Retrieves information about the current keyboard. GetKeyNameText The GetKeyNameText function retrieves a string that represents the name of a key. GetKeyState The GetKeyState function retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off GetLargePageMinimum Retrieves the minimum size of a large page. GetLargestConsoleWindowSize Retrieves the size of the largest possible console window. GetLastActivePopup The GetLastActivePopup function determines which pop-up window owned by the specified window was most recently active. GetLastError Retrieves the calling thread's last-error code value. GetLastInputInfo The GetLastInputInfo function retrieves the time of the last input event. GetLayeredWindowAttributes The GetLayeredWindowAttributes function retrieves the opacity and transparency color key of a layered window. GetLayout Retrieves the layout of a device context. GetListBoxInfo Retrieves information about the specified list box. GetLocaleInfo Retrieves information about a locale specified by identifier. GetLocaleInfoEx Retrieves information about a locale specified by name. GetLocalTime Retrieves the current local date and time. GetLogContainerName Retrieves the full path name of a container when given its container identifier. GetLogFileInformation Returns a buffer that contains metadata about a specified log and its current state, as defined by the CLFS_INFORMATION structure. GetLogicalDrives Retrieves a bitmask representing the currently available disk drives. GetLogicalDriveStrings Fills a buffer with strings that specify valid drives in the system. GetLogicalProcessorInformation Retrieves information about logical processors and related hardware. GetLogicalProcessorInformationEx Retrieves information about the relationships of logical processors and related hardware. GetLogIoStatistics Retrieves log I/O statistics for a dedicated or multiplexed log that is associated with the specified handle. GetLongPathName Converts a specified path to its long form. GetLongPathNameTransacted Converts the specified path to its long form as a transacted operation. GetMailslotInfo Retrieves information about the specified mailslot. GetMapMode Retrieves the current mapping mode. GetMappedFileName Checks whether the specified address is within a memory-mapped file in the address space of the specified process. If so, the function returns the name of the memory-mapped file. GetMaximumProcessorCount Returns the maximum number of logical processors that a processor group or the system can have. GetMaximumProcessorGroupCount Returns the maximum number of processor groups that the system can have. GetMenu The GetMenu function retrieves a handle to the menu assigned to the specified window. GetMenuBarInfo The GetMenuBarInfo function retrieves information about the specified menu bar. GetMenuCheckMarkDimensions The GetMenuCheckMarkDimensions function returns the dimensions of the default check-mark bitmap. The system displays this bitmap next to selected menu items. Before calling the SetMenuItemBitmaps function to replace the default check-mark bitmap for a menu item, an application must determine the correct bitmap size by calling GetMenuCheckMarkDimensions. GetMenuDefaultItem The GetMenuDefaultItem function determines the default menu item on the specified menu. GetMenuInfo The GetMenuInfo function gets information about a specified menu. GetMenuItemCount The GetMenuItemCount function determines the number of items in the specified menu. GetMenuItemID The GetMenuItemID function retrieves the menu item identifier of a menu item located at the specified position in a menu. GetMenuItemInfo The GetMenuItemInfo function retrieves information about a menu item. GetMenuItemRect The GetMenuItemRect function retrieves the bounding rectangle for the specified menu item. GetMenuState The GetMenuState function retrieves the menu flags associated with the specified menu item. If the menu item opens a submenu, this function also returns the number of items in the submenu. GetMenuString The GetMenuString function copies the text string of the specified menu item into the specified buffer. GetMessage The GetMessage function retrieves a message from the calling thread's message queue. The function dispatches incoming sent messages until a posted message is available for retrieval. Unlike GetMessage, the PeekMessage function does not wait for a message to be posted before returning. GetMessageExtraInfo The GetMessageExtraInfo function retrieves the extra message information for the current thread. Extra message information is an application- or driver-defined value associated with the current thread's message queue. GetMessagePos The GetMessagePos function retrieves the cursor position for the last message retrieved by the GetMessage function. To determine the current position of the cursor, use the GetCursorPos function. GetMessageTime The GetMessageTime function retrieves the message time for the last message retrieved by the GetMessage function. The time is a long integer that specifies the elapsed time, in milliseconds, from the time the system was started to the time the message was created (that is, placed in the thread's message queue). GetMetaRgn Retrieves the current metaregion for the specified device context. GetMiterLimit Retrieves the miter limit for the specified device context. GetModuleFileName Retrieves the fully-qualified path for the file containing the specified module. GetModuleFileNameEx Retrieves the fully-qualified path for the file containing the specified module. GetModuleHandle Retrieves a module handle for the specified module. GetModuleHandleEx Retrieves a module handle for the specified module. GetMonitorInfo Retrieves information about a display monitor. GetMouseMovePointsEx The GetMouseMovePointsEx function retrieves a history of up to 64 previous coordinates of the mouse or pen. GetMsgProc The GetMsgProc function is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function whenever the GetMessage or PeekMessage function has retrieved a message from an application message queue. Before returning the retrieved message to the caller, the system passes the message to the hook procedure. The HOOKPROC type defines a pointer to this callback function. GetMsgProc is a placeholder for the application-defined or library-defined function name. GetNamedPipeClientComputerName Retrieves the client computer name for the specified named pipe. GetNamedPipeClientProcessId Retrieves the client process identifier for the specified named pipe. GetNamedPipeClientSessionId Retrieves the client session identifier for the specified named pipe. GetNamedPipeHandleState Retrieves information about a specified named pipe. GetNamedPipeInfo Retrieves information about the specified named pipe. GetNamedPipeServerProcessId Retrieves the server process identifier for the specified named pipe. GetNamedPipeServerSessionId Retrieves the server session identifier for the specified named pipe. GetNativeSystemInfo Retrieves information about the current system for an application running under WOW64. GetNearestColor Retrieves a color value identifying a color from the system palette that will be displayed when the specified color value is used. GetNearestPaletteIndex Retrieves the index for the entry in the specified logical palette most closely matching a specified color value. GetNextDlgGroupItem The GetNextDlgGroupItem function retrieves a handle to the first control in a group of controls that precedes (or follows) the specified control in a dialog box. GetNextDlgTabItem The GetNextDlgTabItem function retrieves a handle to the first control that has the WS_TABSTOP style that precedes (or follows) the specified control. GetNextLogArchiveExtent Retrieves the next set of archive extents in a log archive context. GetNextUmsListItem Returns the next UMS thread context in a list of UMS thread contexts. GetNextWindow The GetNextWindow function retrieves a handle to the next or previous window in the Z-Order. The next window is below the specified window; the previous window is above. If the specified window is a topmost window, the function retrieves a handle to the next (or previous) topmost window. If the specified window is a top-level window, the function retrieves a handle to the next (or previous) top-level window. If the specified window is a child window, the function searches for a handle to the next (or previous) child window. GetNLSVersion Gets information about the current version of a specified NLS capability for a locale specified by identifier. GetNLSVersionEx Gets information about the current version of a specified NLS capability for a locale specified by name. GetNotificationResourceManager Requests and receives a notification for RM. This function is used by the RM register to receive notifications when a transaction changes state. GetNotificationResourceManagerAsync Requests and receives asynchronous notification for a RM. This function is used by the RM to register to receive notifications when a transaction changes state. GetNumaAvailableMemoryNode Retrieves the amount of memory available in the specified node. GetNumaAvailableMemoryNodeEx Retrieves the amount of memory that is available in the specified node as a USHORT value. GetNumaHighestNodeNumber Retrieves the node that currently has the highest number. GetNumaNodeNumberFromHandle Retrieves the NUMA node associated with the underlying device for a file handle. GetNumaNodeProcessorMask Retrieves the processor mask for the specified node. GetNumaNodeProcessorMaskEx Retrieves the processor mask for the specified NUMA node as a USHORT value. GetNumaProcessorNode Retrieves the node number for the specified processor. GetNumaProcessorNodeEx Retrieves the node number of the specified logical processor as a USHORT value. GetNumaProximityNode Retrieves the node number for the specified proximity identifier. GetNumaProximityNodeEx Retrieves the node number as a USHORT value for the specified proximity identifier. GetNumberFormat Formats a number string as a number string customized for a locale specified by identifier. GetNumberFormatEx Formats a number string as a number string customized for a locale specified by name. GetNumberOfConsoleInputEvents Retrieves the number of unread input records in the console's input buffer. GetNumberOfConsoleMouseButtons Retrieves the number of buttons on the mouse used by the current console. GetNumberOfEventLogRecords Retrieves the number of records in the specified event log. GetObject Retrieves information for the specified graphics object. GetObjectType Retrieves the type of the specified object. GetOEMCP Retrieves the current original equipment manufacturer (OEM) code page identifier for the operating system. GetOldestEventLogRecord Retrieves the absolute record number of the oldest record in the specified event log. GetOpenClipboardWindow The GetOpenClipboardWindow function retrieves the handle to the window that currently has the clipboard open. GetOpenFileName Creates an Open dialog box that lets the user specify the drive, directory, and the name of a file or set of files to open. GetOutlineTextMetrics Gets text metrics for TrueType fonts. GetOverlappedResult Retrieves the results of an overlapped operation. GetPaletteEntries Retrieves a specified range of palette entries from the given logical palette. GetParent The GetParent function retrieves a handle to the specified window's parent or owner. To retrieve a handle to a specified ancestor, use the GetAncestor function. GetPath Retrieves the coordinates defining the endpoints of lines and the control points of curves found in the path that is selected into the specified device context. GetPhysicalCursorPos Gets the position of the cursor in physical coordinates. GetPhysicallyInstalledSystemMemory Retrieves the amount of RAM that is physically installed on the computer. GetPixel Gets the RGB color value of the pixel at a given coordinate. GetPolyFillMode Retrieves the current polygon fill mode. GetPrinter Retrieves information about a specified printer. GetPrinterData Retrieves configuration data for the specified printer or print server. GetPrinterDataEx Retrieves configuration data for the specified printer or print server. GetPrinterDriver Retrieves driver data for the specified printer. GetPrinterDriver2 Retrieves driver data for the specified printer and displays any user interface to the specified window. GetPrinterDriverDirectory Retrieves the path of the printer-driver directory. GetPrinterDriverPackagePath Gets the path to the specified printer driver package on a print server. GetPrintProcessorDirectory Retrieves the path for the print processor on the specified server. GetPriorityClass Retrieves the priority class for the specified process. GetPriorityClipboardFormat The GetPriorityClipboardFormat function retrieves the first available clipboard format in the specified list. GetProcAddress Retrieves the address of an exported function or variable from the specified DLL. GetProcessAffinityMask Retrieves a process affinity mask for the specified process and the system affinity mask for the system. GetProcessDefaultLayout The GetProcessDefaultLayout function gets the default layout that is used when windows are created with no parent or owner. GetProcessDEPPolicy Retrieves DEP settings for a process. GetProcessGroupAffinity Retrieves the processor group affinity of the specified process. GetProcessHandleCount Retrieves the number of open handles that belong to the specified process. GetProcessHeap Obtains a handle to the heap of the calling process. GetProcessHeaps Obtains handles to all of the heaps that are valid for the calling process. GetProcessId Retrieves the process identifier of the specified process. GetProcessIdOfThread Retrieves the process identifier of the process associated with the specified thread. GetProcessIoCounters Retrieves accounting information for all I/O operations performed by the specified process. GetProcessorSystemCycleTime Retrieves the cycle time each processor in the specified group spent executing deferred procedure calls (DPCs) and interrupt service routines (ISRs). GetProcessPriorityBoost Retrieves the priority boost control state of the specified process. GetProcessShutdownParameters Retrieves shutdown parameters for the currently calling process. GetProcessTimes Retrieves timing information about for the specified process. GetProcessVersion Retrieves the major and minor version numbers of the system on which the specified process expects to run. GetProcessWorkingSetSize Retrieves the minimum and maximum working set sizes of the specified process. GetProcessWorkingSetSizeEx Retrieves the minimum and maximum working set sizes of the specified process. GetProductInfo Retrieves the product type for the operating system on the local computer, and maps the type to the product types supported by the specified operating system. GetProfilesDirectory Retrieves the path to the root directory where all user profiles are stored. GetProfileType Retrieves the type of profile loaded for the current user. GetProp The GetProp function retrieves a data handle from the property list of the specified window. The character string identifies the handle to be retrieved. The string and handle must have been added to the property list by a previous call to the SetProp function. GetPwrCapabilities Retrieves information about the system power capabilities. GetPwrDiskSpindownRange Retrieves the disk spindown range. Controlled through the GUID_DISK_SUBGROUP power settings subgroup. Use the PowerEnumerate function to enumerate individual settings. GetQueuedCompletionStatus Attempts to dequeue an I/O completion packet from a specified I/O completion port. GetQueuedCompletionStatusEx Retrieves multiple completion port entries simultaneously. GetQueueStatus The GetQueueStatus function indicates the type of messages found in the calling thread's message queue. GetRandomRgn Copies the system clipping region of a specified device context to a specific region. GetRasterizerCaps Tells whether TrueType fonts are installed. GetRawInputBuffer The GetRawInputBuffer function does a buffered read of the raw input data. GetRawInputData The GetRawInputData function gets the raw input from the specified device. GetRawInputDeviceInfo The GetRawInputDeviceInfo function gets information about the raw input device. GetRawInputDeviceList The GetRawInputDeviceList function enumerates the raw input devices attached to the system. GetRegionData Fills the specified buffer with data describing a region. GetRegisteredRawInputDevices The GetRegisteredRawInputDevices function gets the information about the raw input devices for the current application. GetRgnBox Retrieves the bounding rectangle of the specified region. GetROP2 Gets the foreground mix mode of a device context. GetSaveFileName Creates a Save dialog box that lets the user specify the drive, directory, and name of a file to save. GetScrollBarInfo The GetScrollBarInfo function retrieves information about the specified scroll bar. GetScrollInfo The GetScrollInfo function retrieves the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb). GetScrollPos The GetScrollPos function retrieves the current position of the scroll box (thumb) in the specified scroll bar. The current position is a relative value that depends on the current scrolling range. For example, if the scrolling range is 0 through 100 and the scroll box is in the middle of the bar, the current position is 50. Note The GetScrollPos function is provided for backward compatibility. New applications should use the GetScrollInfo function. GetScrollRange The GetScrollRange function retrieves the current minimum and maximum scroll box (thumb) positions for the specified scroll bar. Note The GetScrollRange function is provided for compatibility only. New applications should use the GetScrollInfo function. GetServiceDisplayName Retrieves the display name of the specified service. GetServiceKeyName Retrieves the service name of the specified service. GetShellWindow The GetShellWindow function returns a handle to the Shell's desktop window. GetShortPathName Retrieves the short path form of a specified path. GetStartupInfo Retrieves the contents of the STARTUPINFO structure that was specified when the calling process was created. GetStdHandle Retrieves a handle for the standard input, standard output, or standard error device. GetStockObject Retrieves a handle to one of the stock pens, brushes, fonts, or palettes. GetStretchBltMode Gets the current stretching mode. GetStringScripts Provides a list of scripts used in the specified string. GetStringTypeA Retrieves character type information for the characters in the specified ANSI source string. GetStringTypeEx Retrieves character type information for the characters in the specified source string. GetStringTypeW Retrieves character type information for the characters in the specified Unicode source string. GetSubMenu The GetSubMenu function retrieves a handle to the drop-down menu or submenu activated by the specified menu item. GetSysColor Retrieves the current color of a display element. GetSysColorBrush Gets a handle to a brush that corresponds to a color index GetSystemDefaultLangID Returns the language identifier for the system locale. GetSystemDefaultLCID Returns the locale identifier for the system locale. GetSystemDefaultLocaleName Retrieves the system default locale name. GetSystemDEPPolicy Retrieves DEP settings for the system. GetSystemDirectory Retrieves the path of the system directory. GetSystemFileCacheSize Retrieves the current size limits for the working set of the system cache. GetSystemFirmwareTable Retrieves the specified firmware table from the firmware table provider. GetSystemInfo Retrieves information about the current system. GetSystemMenu The GetSystemMenu function allows the application to access the window menu (also known as the system menu or the control menu) for copying and modifying. GetSystemMetrics Retrieves the specified system metric or system configuration setting. GetSystemPaletteEntries Retrieves a range of palette entries from the system palette that is associated with the specified DC. GetSystemPaletteUse Retrieves the current state of the system (physical) palette for the specified DC. GetSystemPowerStatus Retrieves the power status of the system. GetSystemRegistryQuota Retrieves the current size of the registry and the maximum size that the registry is allowed to attain on the system. GetSystemTime Retrieves the current system date and time in UTC format. GetSystemTimeAdjustment Determines whether the system is applying periodic time adjustments to its time-of-day clock. GetSystemTimeAsFileTime Retrieves the current system date and time in UTC format. GetSystemTimes Retrieves system timing information. GetSystemWindowsDirectory Retrieves the path of the shared Windows directory on a multi-user system. GetSystemWow64Directory Retrieves the path of the system directory used by WOW64. GetTabbedTextExtent Computes the width and height of a character string, including tabs. GetTapeParameters Retrieves information that describes the tape or the tape drive. GetTapePosition Retrieves the current address of the tape. GetTapeStatus Determines whether the tape device is ready to process tape commands. GetTempFileName Creates a name for a temporary file. GetTempPath Retrieves the path of the directory that is designated for temporary files. GetTextAlign Gets the text-alignment setting for a device context. GetTextCharacterExtra Gets the current intercharacter spacing for a device context. GetTextCharset Retrieves a character set identifier for the font that is currently selected into a specified device context. GetTextCharsetInfo Retrieves information about the character set of the font that is currently selected into a specified device context. GetTextColor Gets the text color for a device context. GetTextExtentExPoint Gets the number of characters in a string that will fit within a space. GetTextExtentExPointI Gets the number of glyph indices that will fit within a space. GetTextExtentPoint32 Computes the width and height of a string of text. GetTextExtentPointI Computes the width and height of an array of glyph indices. GetTextFace Gets the name of the font that is selected into a device context. GetTextMetrics Fills a buffer with the metrics for a font. GetThreadContext Retrieves the context of the specified thread. GetThreadErrorMode Retrieves the error mode for the calling thread. GetThreadGroupAffinity Retrieves the processor group affinity of the specified thread. GetThreadId Retrieves the thread identifier of the specified thread. GetThreadIdealProcessorEx Retrieves the processor number of the ideal processor for the specified thread. GetThreadIOPendingFlag Determines whether a specified thread has any I/O requests pending. GetThreadLocale Returns the locale identifier of the current locale for the calling thread. GetThreadPriority Retrieves the priority value for the specified thread. GetThreadPriorityBoost Retrieves the priority boost control state of the specified thread. GetThreadSelectorEntry Retrieves a descriptor table entry for the specified selector and thread. GetThreadTimes Retrieves timing information for the specified thread. GetThreadWaitChain function missing GetTickCount Retrieves the number of milliseconds that have elapsed since the system was started, up to 49.7 days. GetTickCount64 Retrieves the number of milliseconds that have elapsed since the system was started. GetTimeFormat Formats time as a time string for a locale specified by identifier. GetTimeFormatEx Formats time as a time string for a locale specified by name. GetTimeSysInfoFunc Retrieves the system time state information. GetTimeZoneInformation Retrieves the current time zone settings. GetTimeZoneInformationForYear Retrieves the time zone settings for the specified year and time zone. GetTitleBarInfo The GetTitleBarInfo function retrieves information about the specified title bar. GetTopWindow The GetTopWindow function examines the Z order of the child windows associated with the specified parent window and retrieves a handle to the child window at the top of the Z order. GetTransactionId Obtains the ID for the specified transaction. GetTransactionInformation Returns the requested information about the specified transaction. GetTransactionManagerId Obtains an identifier for the specified TM. GetUmsCompletionListEvent Retrieves a handle to the event associated with the specified UMS completion list. GetUpdatedClipboardFormats Retrieves the currently supported Clipboard formats. GetUpdateRect Gets the coordinates of the smallest rectangle that encloses the update region of a window. GetUpdateRgn Gets the update region of a window. GetUserDefaultLangID Returns the language identifier for the current user locale. GetUserDefaultLCID Returns the locale identifier for the user default locale. GetUserDefaultLocaleName Retrieves the user default locale name. GetUserGeoID Retrieves information about the geographical location of the user. GetUserName Retrieves the user name of the current thread. GetUserNameEx Retrieves the name of the user or other security principal associated with the calling thread. You can specify the format of the returned name. GetUserProfileDirectory Retrieves the path to the root directory of the specified user's profile. GetVersion Retrieves the version number of the current operating system. GetVersionEx Retrieves information about the current operating system. GetViewportExtEx Retrieves the x-extent and y-extent of the current viewport for the specified device context. GetViewportOrgEx Retrieves the x-coordinates and y-coordinates of the viewport origin for the specified device context. GetVolumeInformation Retrieves information about the file system and volume associated with the specified root directory. GetVolumeInformationByHandleW Retrieves information about the file system and volume associated with the specified file. GetVolumeNameForVolumeMountPoint Retrieves a volume GUID path for the volume that is associated with the specified volume mount point (drive letter, volume GUID path, or mounted folder). GetVolumePathName Retrieves the mounted folder that is associated with the specified volume. GetVolumePathNamesForVolumeName Retrieves a list of drive letters and volume GUID paths for the specified volume. GetWindow The GetWindow function retrieves a handle to a window that has the specified relationship (Z-Order or owner) to the specified window. GetWindowDC Gets the device context for a window, including title bar, menus, and scroll bars. GetWindowDisplayAffinity Retrieves the current display affinity setting, from any process, for a given window. GetWindowExtEx Retrieves the x-extent and y-extent of the window for the specified device context. GetWindowInfo The GetWindowInfo function retrieves information about the specified window. GetWindowLong The GetWindowLong function retrieves information about the specified window. The function also retrieves the 32-bit (long) value at the specified offset into the extra window memory. If you are retrieving a pointer or a handle, this function has been superseded by the GetWindowLongPtr function. (Pointers and handles are 32 bits on 32-bit Windows and 64 bits on 64-bit Windows.) To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetWindowLongPtr. GetWindowLongPtr The GetWindowLongPtr function retrieves information about the specified window. The function also retrieves the value at a specified offset into the extra window memory. If you are retrieving a pointer or a handle, this function supersedes the GetWindowLong function. (Pointers and handles are 32 bits on 32-bit Windows and 64 bits on 64-bit Windows.) To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetWindowLongPtr. GetWindowModuleFileName The GetWindowModuleFileName function retrieves the full path and file name of the module associated with the specified window handle. GetWindowOrgEx Retrieves the x-coordinates and y-coordinates of the window origin for the specified device context. GetWindowPlacement The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window. GetWindowRect The GetWindowRect function retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen. GetWindowRgn Gets a copy of the window region of a window. GetWindowRgnBox Gets the dimensions of the tightest bounding rectangle for the window region of a window. GetWindowsDirectory Retrieves the path of the Windows directory. GetWindowText The GetWindowText function copies the text of the specified window's title bar (if it has one) into a buffer. If the specified window is a control, the text of the control is copied. However, GetWindowText cannot retrieve the text of a control in another application. GetWindowTextLength The GetWindowTextLength function retrieves the length, in characters, of the specified window's title bar text (if the window has a title bar). If the specified window is a control, the function retrieves the length of the text within the control. However, GetWindowTextLength cannot retrieve the length of the text of an edit control in another application. GetWindowThreadProcessId The GetWindowThreadProcessId function retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window. GetWinMetaFileBits Converts the enhanced-format records from a metafile into Windows-format records. GetWorldTransform Retrieves the current world-space to page-space transformation. GetWriteWatch Retrieves the addresses of the pages that have been written to in a region of virtual memory. GlobalAddAtom The GlobalAddAtom function adds a character string to the global atom table and returns a unique value (an atom) identifying the string. GlobalAlloc, LocalAlloc Allocates the specified number of bytes from the heap. HeapAlloc GlobalDeleteAtom The GlobalDeleteAtom function decrements the reference count of a global string atom. If the atom's reference count reaches zero, GlobalDeleteAtom removes the string associated with the atom from the global atom table. GlobalDiscard, LocalDiscard Discards the specified global memory block. Not applicable. GlobalFindAtom The GlobalFindAtom function searches the global atom table for the specified character string and retrieves the global atom associated with that string. GlobalFlags, LocalFlags Returns information about the specified global memory object. Not applicable. Use HeapValidate to validate the heap. GlobalFree, LocalFree Frees the specified global memory object. HeapFree GlobalGetAtomName The GlobalGetAtomName function retrieves a copy of the character string associated with the specified global atom. GlobalHandle, LocalHandle Retrieves the handle associated with the specified pointer to a global memory block. This function should be used only with OLE and clipboard functions that require it. Not applicable. GlobalLock, LocalLock Locks a global memory object and returns a pointer to the first byte of the object's memory block. Not applicable. GlobalMemoryStatusEx Obtains information about the system's current usage of both physical and virtual memory. GlobalReAlloc, LocalReAlloc Changes the size or attributes of a specified global memory object. HeapReAlloc GlobalSize, LocalSize Retrieves the current size of the specified global memory object. HeapSize GlobalUnlock, LocalUnlock Decrements the lock count associated with a memory object. This function should be used only with OLE and clipboard functions that require it. Not applicable. GradientFill Fills rectangle and triangle structures. GrayString Draws gray text at a location. Handler An application-defined callback function used with the RegisterServiceCtrlHandler function. HandlerEx An application-defined callback function used with the RegisterServiceCtrlHandlerEx function. HandlerRoutine An application-defined function used with the SetConsoleCtrlHandler function. Heap32First Retrieves information about the first block of a heap that has been allocated by a process. Heap32ListFirst Retrieves information about the first heap that has been allocated by a specified process. Heap32ListNext Retrieves information about the next heap that has been allocated by a process. Heap32Next Retrieves information about the next block of a heap that has been allocated by a process. HeapAlloc Allocates a block of memory from a heap. HeapCompact Coalesces adjacent free blocks of memory on a heap. HeapCreate Creates a heap object. HeapDestroy Destroys the specified heap object. HeapFree Frees a memory block allocated from a heap. HeapLock Attempts to acquire the lock associated with a specified heap. HeapQueryInformation Retrieves information about the specified heap. HeapReAlloc Reallocates a block of memory from a heap. HeapSetInformation Sets heap information for the specified heap. HeapSize Retrieves the size of a memory block allocated from a heap. HeapUnlock Releases ownership of the lock associated with a specified heap. HeapValidate Attempts to validate a specified heap. HeapWalk Enumerates the memory blocks in a specified heap. HideCaret The HideCaret function removes the caret from the screen. Hiding a caret does not destroy its current shape or invalidate the insertion point. HiliteMenuItem The HiliteMenuItem function highlights or removes the highlighting from an item in a menu bar. HyphenateProc The HyphenateProc function is an application–defined callback function used with the EM_SETHYPHENATEINFO message. It determines how hyphenation is done in a Microsoft Rich Edit control. IdnToAscii Converts an internationalized domain name (IDN) or other internationalized label to a Unicode (wide character) representation of the ASCII string that represents the name in the Punycode transfer encoding syntax. IdnToNameprepUnicode Converts an internationalized domain name (IDN) or another internationalized label to the NamePrep form specified by Network Working Group RFC 3491, but does not perform the additional conversion to Punycode. IdnToUnicode Converts the Punycode form of an internationalized domain name (IDN) or another internationalized label to the normal Unicode UTF-16 encoding syntax. ImmAssociateContext Associates the specified input context with the specified window. ImmAssociateContextEx Changes the association between the input method context and the specified window or its children. ImmConfigureIME Displays the configuration dialog box for the IME of the specified input locale identifier. ImmCreateContext Creates a new input context, allocating memory for the context and initializing it. ImmDestroyContext Releases the input context and frees associated memory. ImmDisableIME Disables the IME for a thread or for all threads in a process. ImmDisableTextFrameService Deprecated. Disables the text service for the specified thread. ImmEnumInputContext Retrieves the input context for the specified thread. ImmEnumRegisterWord Enumerates the register strings having the specified reading string, style, and register string. ImmEscape Accesses capabilities of particular IMEs that are not available through other IME API functions. ImmGetCandidateList Retrieves a candidate list. ImmGetCandidateListCount Retrieves the size of the candidate lists. ImmGetCandidateWindow Retrieves information about the candidates window. ImmGetCompositionFont Retrieves information about the logical font currently used to display characters in the composition window. ImmGetCompositionString Retrieves information about the composition string. ImmGetCompositionWindow Retrieves information about the composition window. ImmGetContext Retrieves the input context associated with the specified window. ImmGetConversionList Retrieves the conversion result list of characters or words without generating any IME-related messages. ImmGetConversionStatus Retrieves the current conversion status. ImmGetDefaultIMEWnd Retrieves the default window handle to the IME class. ImmGetDescription Copies the description of the IME to the specified buffer. ImmGetGuideLine Retrieves information about errors. ImmGetIMEFileName Retrieves the file name of the IME associated with the specified input locale. ImmGetImeMenuItems Retrieves the menu items that are registered in the IME menu of a specified input context. ImmGetOpenStatus Determines whether the IME is open or closed. ImmGetProperty Retrieves the property and capabilities of the IME associated with the specified input locale. ImmGetRegisterWordStyle Retrieves a list of the styles supported by the IME associated with the specified input locale. ImmGetStatusWindowPos Retrieves the position of the status window. ImmGetVirtualKey Retrieves the original virtual key value associated with a key input message that the IME has already processed. ImmInstallIME Installs an IME. ImmIsIME Determines if the specified input locale has an IME. ImmIsUIMessage Checks for messages intended for the IME window and sends those messages to the specified window. ImmNotifyIME Notifies the IME about changes to the status of the input context. ImmRegisterWord Registers a string with the dictionary of the IME associated with the specified input locale. ImmReleaseContext Releases the input context and unlocks the memory associated in the input context. ImmRequestMessage Requests a message from the application. ImmSetCandidateWindow Sets information about the candidates window. ImmSetCompositionFont Sets the logical font to use to display characters in the composition window. ImmSetCompositionString Sets the characters, attributes, and clauses of the composition and reading strings. ImmSetCompositionWindow Sets the position of the composition window. ImmSetConversionStatus Sets the current conversion status. ImmSetOpenStatus Opens or closes the IME. ImmSetStatusWindowPos Sets the position of the status window. ImmSimulateHotKey Simulates the specified IME hot key, causing the same response as if the user presses the hot key in the specified window. ImmUnregisterWord Removes a register string from the dictionary of the IME associated with the specified input locale. ImpersonateDdeClientWindow The ImpersonateDdeClientWindow function enables a DDE server application to impersonate a DDE client application's security context. This protects secure server data from unauthorized DDE clients. ImportCallback Callback function used with WriteEncryptedFileRaw, called one or more times, each time to retrieve a portion of a backup file's data. InflateRect Increases or decreases the width and height of the specified rectangle. InitAtomTable The InitAtomTable function initializes the local atom table and sets the number of hash buckets to the specified size. InitializeConditionVariable Initializes a condition variable. InitializeCriticalSection Initializes a critical section object. InitializeCriticalSectionAndSpinCount Initializes a critical section object and sets the spin count for the critical section. InitializeCriticalSectionEx Initializes a critical section object with a spin count and optional flags. InitializeExtendedContext Initializes a processor context record. InitializeProcThreadAttributeList Initializes the specified list of attributes for process and thread creation. InitializeSListHead Initializes the head of a singly linked list. InitializeSRWLock Initialize a slim reader/writer (SRW) lock. InitializeThreadpoolEnvironment Initializes a callback environment. InitiateShutdown Initiates a shutdown and restart of the specified computer, and restarts any applications that have been registered for restart. InitiateSystemShutdown Initiates a shutdown and optional restart of the specified computer. InitiateSystemShutdownEx Initiates a shutdown and optional restart of the specified computer, and optionally records the reason for the shutdown. InitOnceBeginInitialize Begins one-time initialization. InitOnceComplete Completes one-time initialization. InitOnceExecuteOnce Executes the specified function successfully one time. No other threads that specify the same one-time initialization structure can execute this function while it is being executed by the current thread. InitOnceInitialize Initializes a one-time initialization structure. InSendMessage The InSendMessage function determines whether the current window procedure is processing a message that was sent from another thread (in the same process or a different process) by a call to the SendMessage function. To obtain additional information about how the message was sent, use the InSendMessageEx function. InSendMessageEx The InSendMessageEx function determines whether the current window procedure is processing a message that was sent from another thread (in the same process or a different process). InsertMenu The InsertMenu function inserts a new menu item into a menu, moving other items down the menu. Note The InsertMenu function has been superseded by the InsertMenuItem function. You can still use InsertMenu, however, if you do not need any of the extended features of InsertMenuItem. InsertMenuItem The InsertMenuItem function inserts a new menu item at the specified position in a menu. InstallNewDevice Installs a new device. The user is prompted to select the device. InstallPrinterDriverFromPackage Installs a printer driver from a driver package in the print server's driver store. Interlocked function Description InterlockedAdd Performs an atomic addition operation on the specified LONG values. InterlockedAdd64 Performs an atomic addition operation on the specified LONGLONG values. InterlockedAddAcquire Performs an atomic addition operation on the specified LONG values. The operation is performed with acquire memory access semantics. InterlockedAddAcquire64 Performs an atomic addition operation on the specified LONGLONG values. The operation is performed with acquire memory access semantics. InterlockedAddRelease Performs an atomic addition operation on the specified LONG values. The operation is performed with release memory access semantics. InterlockedAddRelease64 Performs an atomic addition operation on the specified LONGLONG values. The operation is performed with release memory access semantics. InterlockedAnd Performs an atomic AND operation on the specified LONG values. InterlockedAnd16 Performs an atomic AND operation on the specified SHORT values. InterlockedAnd16Acquire Performs an atomic AND operation on the specified SHORT values. The operation is performed with acquire memory access semantics. InterlockedAnd16Release Performs an atomic AND operation on the specified SHORT values. The operation is performed with release memory access semantics. InterlockedAnd64 Performs an atomic AND operation on the specified LONGLONG values. InterlockedAnd64Acquire Performs an atomic AND operation on the specified LONGLONG values. The operation is performed with acquire memory access semantics. InterlockedAnd64Release Performs an atomic AND operation on the specified LONGLONG values. The operation is performed with release memory access semantics. InterlockedAnd8 Performs an atomic AND operation on the specified char values. InterlockedAnd8Acquire Performs an atomic AND operation on the specified char values. The operation is performed with acquire memory access semantics. InterlockedAnd8Release Performs an atomic AND operation on the specified char values. The operation is performed with release memory access semantics. InterlockedAndAcquire Performs an atomic AND operation on the specified LONG values. The operation is performed with acquire memory access semantics. InterlockedAndRelease Performs an atomic AND operation on the specified LONG values. The operation is performed with release memory access semantics. InterlockedBitTestAndReset Tests the specified bit of the specified LONG value and sets it to 0. InterlockedBitTestAndReset64 Tests the specified bit of the specified LONG64 value and sets it to 0. InterlockedBitTestAndSet Tests the specified bit of the specified LONG value and sets it to 1. InterlockedBitTestAndSet64 Tests the specified bit of the specified LONG64 value and sets it to 1. InterlockedCompare64Exchange128 Performs an atomic compare-and-exchange operation on the specified values. The function compares the specified 64-bit values and exchanges with the specified 128-bit value based on the outcome of the comparison. InterlockedCompare64ExchangeAcquire128 Performs an atomic compare-and-exchange operation on the specified values. The function compares the specified 64-bit values and exchanges with the specified 128-bit value based on the outcome of the comparison. The operation is performed with acquire memory access semantics. InterlockedCompare64ExchangeRelease128 Performs an atomic compare-and-exchange operation on the specified values. The function compares the specified 64-bit values and exchanges with the specified 128-bit value based on the outcome of the comparison. The operation is performed with release memory access semantics. InterlockedCompareExchange Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 32-bit values and exchanges with another 32-bit value based on the outcome of the comparison. InterlockedCompareExchange64 Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 64-bit values and exchanges with another 64-bit value based on the outcome of the comparison. InterlockedCompareExchangeAcquire Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 32-bit values and exchanges with another 32-bit value based on the outcome of the comparison. The operation is performed with acquire memory access semantics. InterlockedCompareExchangeAcquire64 Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 64-bit values and exchanges with another 64-bit value based on the outcome of the comparison. The exchange is performed with acquire memory access semantics. InterlockedCompareExchangePointer Performs an atomic compare-and-exchange operation on the specified pointer values. The function compares two specified pointer values and exchanges with another pointer value based on the outcome of the comparison. InterlockedCompareExchangePointerAcquire Performs an atomic compare-and-exchange operation on the specified pointer values. The function compares two specified pointer values and exchanges with another pointer value based on the outcome of the comparison. The operation is performed with acquire memory access semantics. InterlockedCompareExchangePointerRelease Performs an atomic compare-and-exchange operation on the specified pointer values. The function compares two specified pointer values and exchanges with another pointer value based on the outcome of the comparison. The operation is performed with release memory access semantics. InterlockedCompareExchangeRelease Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 32-bit values and exchanges with another 32-bit value based on the outcome of the comparison. The exchange is performed with release memory access semantics. InterlockedCompareExchangeRelease64 Performs an atomic compare-and-exchange operation on the specified values. The function compares two specified 64-bit values and exchanges with another 64-bit value based on the outcome of the comparison. The exchange is performed with release memory access semantics. InterlockedDecrement Decrements (decreases by one) the value of the specified 32-bit variable as an atomic operation. InterlockedDecrement64 Decrements (decreases by one) the value of the specified 64-bit variable as an atomic operation. InterlockedDecrementAcquire Decrements (decreases by one) the value of the specified 32-bit variable as an atomic operation. The operation is performed with acquire memory access semantics. InterlockedDecrementAcquire64 Decrements (decreases by one) the value of the specified 64-bit variable as an atomic operation. The operation is performed with acquire memory access semantics. InterlockedDecrementRelease Decrements (decreases by one) the value of the specified 32-bit variable as an atomic operation. The operation is performed with release memory access semantics. InterlockedDecrementRelease64 Decrements (decreases by one) the value of the specified 64-bit variable as an atomic operation. The operation is performed with release memory access semantics. InterlockedExchange Sets a 32-bit variable to the specified value as an atomic operation. InterlockedExchange64 Sets a 64-bit variable to the specified value as an atomic operation. InterlockedExchangeAcquire Sets a 32-bit variable to the specified value as an atomic operation. The operation is performed with acquire memory access semantics. InterlockedExchangeAcquire64 Sets a 32-bit variable to the specified value as an atomic operation. The operation is performed with acquire memory access semantics. InterlockedExchangeAdd Performs an atomic addition of two 32-bit values. InterlockedExchangeAdd64 Performs an atomic addition of two 64-bit values. InterlockedExchangeAddAcquire Performs an atomic addition of two 32-bit values. The operation is performed with acquire memory access semantics. InterlockedExchangeAddAcquire64 Performs an atomic addition of two 64-bit values. The operation is performed with acquire memory access semantics. InterlockedExchangeAddRelease Performs an atomic addition of two 32-bit values. The operation is performed with release memory access semantics. InterlockedExchangeAddRelease64 Performs an atomic addition of two 64-bit values. The operation is performed with release memory access semantics. InterlockedExchangePointer Atomically exchanges a pair of pointer values. InterlockedExchangePointerAcquire Atomically exchanges a pair of pointer values. The operation is performed with acquire memory access semantics. InterlockedFlushSList Flushes the entire list of items in a singly linked list. InterlockedIncrement Increments (increases by one) the value of the specified 32-bit variable as an atomic operation. InterlockedIncrement64 Increments (increases by one) the value of the specified 64-bit variable as an atomic operation. InterlockedIncrementAcquire Increments (increases by one) the value of the specified 32-bit variable as an atomic operation. The operation is performed using acquire memory access semantics. InterlockedIncrementAcquire64 Increments (increases by one) the value of the specified 64-bit variable as an atomic operation. The operation is performed using acquire memory access semantics. InterlockedIncrementRelease Increments (increases by one) the value of the specified 32-bit variable as an atomic operation. The operation is performed using release memory access semantics. InterlockedIncrementRelease64 Increments (increases by one) the value of the specified 64-bit variable as an atomic operation. The operation is performed using release memory access semantics. InterlockedOr Performs an atomic OR operation on the specified LONG values. InterlockedOr16 Performs an atomic OR operation on the specified SHORT values. InterlockedOr16Acquire Performs an atomic OR operation on the specified SHORT values. The operation is performed with acquire memory access semantics. InterlockedOr16Release Performs an atomic OR operation on the specified SHORT values. The operation is performed with release memory access semantics. InterlockedOr64 Performs an atomic OR operation on the specified LONGLONG values. InterlockedOr64Acquire Performs an atomic OR operation on the specified LONGLONG values. The operation is performed with acquire memory access semantics. InterlockedOr64Release Performs an atomic OR operation on the specified LONGLONG values. The operation is performed with release memory access semantics. InterlockedOr8 Performs an atomic OR operation on the specified char values. InterlockedOr8Acquire Performs an atomic OR operation on the specified char values. The operation is performed with acquire memory access semantics. InterlockedOr8Release Performs an atomic OR operation on the specified char values. The operation is performed with release memory access semantics. InterlockedOrAcquire Performs an atomic OR operation on the specified LONG values. The operation is performed with acquire memory access semantics. InterlockedOrRelease Performs an atomic OR operation on the specified LONG values. The operation is performed with release memory access semantics. InterlockedPopEntrySList Removes an item from the front of a singly linked list. InterlockedPushEntrySList Inserts an item at the front of a singly linked list. InterlockedXor Performs an atomic XOR operation on the specified LONG values. InterlockedXor16 Performs an atomic XOR operation on the specified SHORT values. InterlockedXor16Acquire Performs an atomic XOR operation on the specified SHORT values. The operation is performed with acquire memory access semantics. InterlockedXor16Release Performs an atomic XOR operation on the specified SHORT values. The operation is performed with release memory access semantics. InterlockedXor64 Performs an atomic XOR operation on the specified LONGLONG values. InterlockedXor64Acquire Performs an atomic XOR operation on the specified LONGLONG values. The operation is performed with acquire memory access semantics. InterlockedXor64Release Performs an atomic XOR operation on the specified LONGLONG values. The operation is performed with release memory access semantics. InterlockedXor8 Performs an atomic XOR operation on the specified char values. InterlockedXor8Acquire Performs an atomic XOR operation on the specified char values. The operation is performed with acquire memory access semantics. InterlockedXor8Release Performs an atomic XOR operation on the specified char values. The operation is performed with release memory access semantics. InterlockedXorAcquire Performs an atomic XOR operation on the specified LONG values. The operation is performed with acquire memory access semantics. InterlockedXorRelease Performs an atomic XOR operation on the specified LONG values. The operation is performed with release memory access semantics. InternalGetWindowText This function is similar to the GetWindowText function. However, it obtains the window text directly from the window structure associated with the specified window's handle and then always provides the text as a unicode string. This is unlike GetWindowText which obtains the text by sending the window a WM_GETTEXT message. If the specified window is a control, the text of the control is obtained. IntersectClipRect Creates a new clipping region from the intersection of the current clipping region and the specified rectangle. IntersectRect Calculates the intersection of two source rectangles and places the coordinates of the intersection rectangle into the destination rectangle. InvalidateRect Adds a rectangle to a window's update region. InvalidateRgn Invalidates the client area within a region. InvertRect Inverts the color values of the pixels in a rectangle. InvertRgn Inverts the colors in the specified region. IsCalendarLeapYear Deprecated. Identifies whether the specified year is a leap year within the given era for the specific calendar. IsCharAlpha The IsCharAlpha function determines whether a character is an alphabetical character. This determination is based on the semantics of the language selected by the user during setup or through Control Panel. IsCharAlphaNumeric The IsCharAlphaNumeric function determines whether a character is either an alphabetical or a numeric character. This determination is based on the semantics of the language selected by the user during setup or through Control Panel. IsCharLower The IsCharLower function determines whether a character is lowercase. This determination is based on the semantics of the language selected by the user during setup or through Control Panel. IsCharUpper The IsCharUpper function determines whether a character is uppercase. This determination is based on the semantics of the language selected by the user during setup or through Control Panel. IsChild The IsChild function tests whether a window is a child window or descendant window of a specified parent window. A child window is the direct descendant of a specified parent window if that parent window is in the chain of parent windows; the chain of parent windows leads from the original overlapped or pop-up window to the child window. IsClipboardFormatAvailable The IsClipboardFormatAvailable function determines whether the clipboard contains data in the specified format. IsDBCSLeadByte Determines if a specified character is a lead byte for the system default Windows ANSI code page (CP_ACP). IsDBCSLeadByteEx Determines if a specified character is potentially a lead byte. IsDebuggerPresent Determines whether the calling process is being debugged by a user-mode debugger. IsDialogMessage The IsDialogMessage function determines whether a message is intended for the specified dialog box and, if it is, processes the message. IsDlgButtonChecked The IsDlgButtonChecked function determines whether a button control is checked or whether a three-state button control is checked, unchecked, or indeterminate. IsGUIThread The IsGUIThread function tests whether the calling thread is already a GUI thread. It can also optionally convert the thread to a GUI thread. IsHungAppWindow You call the IsHungAppWindow function to determine if Windows considers that a specified application is not responding. An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds. IsIconic The IsIconic function determines whether the specified window is minimized (iconic). IsMenu The IsMenu function determines whether a handle is a menu handle. IsNLSDefinedString Determines if each character in a string has a defined result for a specified NLS capability. IsNormalizedString Verifies that a string is normalized according to Unicode 4.0 TR#15. IsProcessDPIAware Gets a value that indicates if the current process is dots per inch (dpi) aware such that it adjusts the sizes of user interface (UI) elements to compensate for the dpi setting. IsProcessInJob Determines whether the process is running in the specified job. IsProcessorFeaturePresent Determines whether a processor feature is supported by the current computer. IsPwrHibernateAllowed Determines whether the computer supports hibernation. GetPwrCapabilities IsPwrShutdownAllowed Determines whether the computer supports the soft off power state. Not applicable. Starting with Windows Vista, computers must support soft off. IsPwrSuspendAllowed Determines whether the computer supports the sleep states. GetPwrCapabilities IsRectEmpty Determines whether the specified rectangle is empty. IsSystemResumeAutomatic Indicates the current state of the computer. IsTextUnicode Determines if a buffer is likely to contain a form of Unicode text. IsThreadAFiber Determines whether the current thread is a fiber. IsThreadpoolTimerSet Determines whether the specified timer object is currently set. IsValidCodePage Determines if a specified code page is valid. IsValidLanguageGroup Determines if a language group is installed or supported on the operating system. IsValidLocale Determines if the specified locale is installed or supported on the operating system. IsValidLocaleName Determines if the specified locale name is valid for a locale that is installed or supported on the operating system. IsWindow The IsWindow function determines whether the specified window handle identifies an existing window. IsWindowEnabled The IsWindowEnabled function determines whether the specified window is enabled for mouse and keyboard input. IsWindowUnicode The IsWindowUnicode function determines whether the specified window is a native Unicode window. IsWindowVisible The IsWindowVisible function retrieves the visibility state of the specified window. IsWow64Message Determines whether the last message read from the queue of the current process originated from a WOW64 process. IsWow64Process Determines whether the specified process is running under WOW64. IsZoomed The IsZoomed function determines whether a window is maximized. JournalPlaybackProc The JournalPlaybackProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. Typically, an application uses this function to play back a series of mouse and keyboard messages recorded previously by the JournalRecordProc hook procedure. As long as a JournalPlaybackProc hook procedure is installed, regular mouse and keyboard input is disabled. The HOOKPROC type defines a pointer to this callback function. JournalPlaybackProc is a placeholder for the application-defined or library-defined function name. JournalRecordProc The JournalRecordProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The function records messages the system removes from the system message queue. Later, an application can use a JournalPlaybackProc hook procedure to play back the messages. The HOOKPROC type defines a pointer to this callback function. JournalRecordProc is a placeholder for the application-defined or library-defined function name. keybd_event The keybd_event function synthesizes a keystroke. The system can use such a synthesized keystroke to generate a WM_KEYUP or WM_KEYDOWN message. The keyboard driver's interrupt handler calls the keybd_event function. Windows NT/2000/XP/Vista:This function has been superseded. Use SendInput instead. KeyboardProc The KeyboardProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function whenever an application calls the GetMessage or PeekMessage function and there is a keyboard message (WM_KEYUP or WM_KEYDOWN) to be processed. The HOOKPROC type defines a pointer to this callback function. KeyboardProc is a placeholder for the application-defined or library-defined function name. KillTimer The KillTimer function destroys the specified timer. LCIDToLocaleName Converts a locale identifier to a locale name. LCMapString For a locale specified by identifier, maps one input character string to another using a specified transformation, or generates a sort key for the input string. LCMapStringEx For a locale specified by name, maps one input character string to another using a specified transformation, or generates a sort key for the input string. LeaveCriticalSection Releases ownership of the specified critical section object. LeaveCriticalSectionWhenCallbackReturns Specifies the critical section that the thread pool will release when the current callback completes. LineDDA Determines which pixels should be highlighted for a line defined by the specified starting and ending points. LineDDAProc An application-defined callback function used with the LineDDA function. LineTo Draws a line from the current position up to, but not including, the specified point. LoadAccelerators The LoadAccelerators function loads the specified accelerator table. LoadBitmap Loads a bitmap from a module's executable file. LoadCursor The LoadCursor function loads the specified cursor resource from the executable (.EXE) file associated with an application instance. Note This function has been superseded by the LoadImage function. LoadCursorFromFile The LoadCursorFromFile function creates a cursor based on data contained in a file. LoadIcon The LoadIcon function loads the specified icon resource from the executable (.exe) file associated with an application instance. Note This function hase been superseded by the LoadImage function. LoadKeyboardLayout The LoadKeyboardLayout function loads a new input locale identifier (formerly called the keyboard layout) into the system. Several input locale identifiers can be loaded at a time, but only one per process is active at a time. Loading multiple input locale identifiers makes it possible to rapidly switch between them. LoadLibrary Maps the specified executable module into the address space of the calling process. LoadLibraryEx Maps the specified executable module into the address space of the calling process. LoadMenu The LoadMenu function loads the specified menu resource from the executable (.exe) file associated with an application instance. LoadMenuIndirect The LoadMenuIndirect function loads the specified menu template in memory. LoadString The LoadString function loads a string resource from the executable file associated with a specified module, copies the string into a buffer, and appends a terminating NULL character. LoadUserProfile Loads the specified user's profile. LocaleNameToLCID Converts a locale name to locale identifier. LocalFileTimeToFileTime Converts a local file time to a file time based on UTC. LocateExtendedFeature Retrieves state for the specified extended feature from a processor context record. LocateLegacyContext Returns a pointer to the CONTEXT structure in a processor context record. LockFile Locks a specified file for exclusive access by the calling process. LockFileEx Locks a specified file for exclusive access by the calling process. This function can operate synchronously or asynchronously. LockSetForegroundWindow The foreground process can call the LockSetForegroundWindow function to disable calls to the SetForegroundWindow function. LockWindowUpdate Disables or enables drawing in a window. LockWorkStation Locks the workstation's display. LogicalToPhysicalPoint Converts the logical coordinates of a point in a window to physical coordinates. LogTimeProvEventFunc Logs a time provider event in the event log. LookupIconIdFromDirectory The LookupIconIdFromDirectory function searches through icon or cursor data for the icon or cursor that best fits the current display device. To specify a desired height or width, use the LookupIconIdFromDirectoryEx function. LookupIconIdFromDirectoryEx The LookupIconIdFromDirectoryEx function searches through icon or cursor data for the icon or cursor that best fits the current display device. LowLevelKeyboardProc The LowLevelKeyboardProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function every time a new keyboard input event is about to be posted into a thread input queue. The keyboard input can come from the local keyboard driver or from calls to the keybd_event function. If the input comes from a call to keybd_event, the input was "injected". However, the WH_KEYBOARD_LL hook is not injected into another process. Instead, the context switches back to the process that installed the hook and it is called in its original context. Then the context switches back to the application that generated the event. The HOOKPROC type defines a pointer to this callback function. LowLevelKeyboardProc is a placeholder for the application-defined or library-defined function name. LowLevelMouseProc The LowLevelMouseProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system call this function every time a new mouse input event is about to be posted into a thread input queue. The mouse input can come from the local mouse driver or from calls to the mouse_event function. If the input comes from a call to mouse_event, the input was "injected". However, the WH_MOUSE_LL hook is not injected into another process. Instead, the context switches back to the process that installed the hook and it is called in its original context. Then the context switches back to the application that generated the event. The HOOKPROC type defines a pointer to this callback function. LowLevelMouseProc is a placeholder for the application-defined or library-defined function name. LPtoDP Converts logical coordinates into device coordinates. LsnBlockOffset Returns the sector-aligned block offset that is contained in the specified LSN. LsnContainer Retrieves the logical container ID that is contained in a specified LSN. LsnCreate Creates a log sequence number (LSN), given a container ID, a block offset, and a record sequence number. LsnEqual Determines whether two LSNs from the same stream are equal. LsnGreater Determines whether one LSN is greater than another LSN. The two LSNs must be from the same stream. LsnLess Determines whether one LSN is less than another LSN. The two LSNs must be from the same stream. LsnNull Determines whether a specified LSN is equal to the smallest possible LSN, which is CLFS_LSN_NULL. LsnRecordSequence Retrieves the record sequence number that is contained in a specified LSN. lstrcat This function appends one string to another. lstrcmp Compares two character strings. The comparison is case-sensitive. To perform a comparison that is not case-sensitive, use the lstrcmpi function. lstrcmpi Compares two character strings. The comparison is not case-sensitive. To perform a comparison that is case-sensitive, use the lstrcmp function. lstrcpy This function copies a string to a buffer. To copy a specified number of characters, use the lstrcpyn function. lstrcpyn This function copies a specified number of characters from a source string into a buffer. lstrlen This function returns the length in bytes (ANSI version) or WCHAR values (Unicode version) of the specified string (not including the terminating null character). LZClose Closes a file that was opened by using the LZOpenFile function. LZCopy Copies a source file to a destination file. LZInit Allocates memory for the internal data structures that are required to decompress files, and then creates and initializes the files. LZOpenFile Creates, opens, reopens, or deletes a specified file. LZRead Reads a specified number of bytes from a file and copies them into a buffer. LZSeek Moves a file pointer a specified number of bytes from a starting position. MapDialogRect The MapDialogRect function converts the specified dialog box units to screen units (pixels). The function replaces the coordinates in the specified RECT structure with the converted coordinates, which allows the structure to be used to create a dialog box or position a control within a dialog box. MapUserPhysicalPages Maps previously allocated physical memory pages at the specified address within an AWE region. MapUserPhysicalPagesScatter Maps previously allocated physical memory pages at the specified address within an AWE region. MapViewOfFile Maps a view of a file mapping into the address space of a calling process. MapViewOfFileEx Maps a view of a file mapping into the address space of a calling process. A caller can optionally specify a suggested memory address for the view. MapViewOfFileExNuma Maps a view of a file mapping into the address space of a calling process, and specifies the NUMA node for the physical memory. MapVirtualKey The MapVirtualKey function translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. To specify a handle to the keyboard layout to use for translating the specified code, use the MapVirtualKeyEx function. MapVirtualKeyEx The MapVirtualKeyEx function translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. The function translates the codes using the input language and an input locale identifier. MapWindowPoints Converts (maps) a set of points from a coordinate space relative to one window to a coordinate space relative to another window. MaskBlt Combines the color data in the source and destination bitmaps. MenuItemFromPoint The MenuItemFromPoint function determines which menu item, if any, is at the specified location. MessageBeep Plays a waveform sound. MessageBox Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information. The message box returns an integer value that indicates which button the user clicked. MessageBoxEx The MessageBoxEx function creates, displays, and operates a message box. The message box contains an application-defined message and title, plus any combination of predefined icons and push buttons. The buttons are in the language of the system user interface. Currently MessageBoxEx and MessageBox work the same way. MessageBoxIndirect The MessageBoxIndirect function creates, displays, and operates a message box. The message box contains application-defined message text and title, any icon, and any combination of predefined push buttons. MessageProc The MessageProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function after an input event occurs in a dialog box, message box, menu, or scroll bar, but before the message generated by the input event is processed. The hook procedure can monitor messages for a dialog box, message box, menu, or scroll bar created by a particular application or all applications. The HOOKPROC type defines a pointer to this callback function. MessageProc is a placeholder for the application-defined or library-defined function name. ModifyMenu The ModifyMenu function changes an existing menu item. This function is used to specify the content, appearance, and behavior of the menu item. ModifyWorldTransform Changes the world transformation for a device context using the specified mode. Module32First Retrieves information about the first module associated with a process. Module32Next Retrieves information about the next module associated with a process or thread. MonitorEnumProc An application-defined callback function that is called by the EnumDisplayMonitors function. MonitorFromPoint Retrieves a handle to the display monitor that contains a specified point. MonitorFromRect Retrieves a handle to the display monitor that has the largest area of intersection with a specified rectangle. MonitorFromWindow Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. mouse_event The mouse_event function synthesizes mouse motion and button clicks. Windows NT/2000/XP: This function has been superseded. Use SendInput instead. MouseProc The MouseProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The system calls this function whenever an application calls the GetMessage or PeekMessage function and there is a mouse message to be processed. The HOOKPROC type defines a pointer to this callback function. MouseProc is a placeholder for the application-defined or library-defined function name. MoveFile Moves an existing file or directory and its children. MoveFileEx Moves an existing file or directory. MoveFileTransacted Moves an existing file or a directory, including its children, as a transacted operation. MoveFileWithProgress Moves a file or directory. You can provide a callback function that receives progress notifications. MoveMemory Moves a block of memory from one location to another. MoveToEx Updates the current position to the specified point and optionally returns the previous position. MoveWindow The MoveWindow function changes the position and dimensions of the specified window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the parent window's client area. MsgWaitForMultipleObjects Waits until one or all of the specified objects are in the signaled state or the time-out interval elapses. The objects can include input event objects. MsgWaitForMultipleObjectsEx Waits until one or all of the specified objects are in the signaled state, an I/O completion routine or asynchronous procedure call (APC) is queued to the thread, or the time-out interval elapses. The array of objects can include input event objects. MultiByteToWideChar Maps a character string to a UTF-16 (wide character) string. MultinetGetConnectionPerformance networking Mutex function Description Namespace function Description NDdeGetErrorString Converts an error code returned by a network DDE function into an error string that explains the returned error code. NDdeGetShareSecurity Retrieves the security descriptor associated with the DDE share. NDdeGetTrustedShare Retrieves the options associated with a DDE share that is in the server user's list of trusted shares. NDdeIsValidAppTopicList Determines whether an application and topic string ("AppName|TopicName") uses the proper syntax. NDdeIsValidShareName Determines whether a share name uses the proper syntax. NDdeSetShareSecurity Sets the security descriptor associated with the DDE share. NDdeSetTrustedShare Grants the specified DDE share trusted status within the current user's context. NDdeShareAdd Creates and adds a new DDE share to the DDE share database manager (DSDM). NDdeShareDel Deletes a DDE share from the DSDM. NDdeShareEnum Retrieves the list of available DDE shares. NDdeShareGetInfo Retrieves DDE share information. NDdeShareSetInfo Sets DDE share information. NDdeTrustedShareEnum Retrieves the names of all network DDE shares that are trusted in the context of the calling process. NeedCurrentDirectoryForExePath Determines whether the current directory should be included in the search path for the specified executable. NlsDllCodePageTranslation Do not use. NormalizeString Normalizes characters of a text string according to Unicode 4.0 TR#15. NotifyBootConfigStatus Reports the boot status to the service control manager. NotifyChangeEventLog Enables an application to receive notification when an event is written to the specified event log. NotifyServiceStatusChange Enables an application to receive notification when the specified service is created or deleted or when its status changes. NtQuerySystemTime Returns the system time. OemKeyScan The OemKeyScan function maps OEMASCII codes 0 through 0x0FF into the OEM scan codes and shift states. The function provides information that allows a program to send OEM text to another program by simulating keyboard input. OemToChar The OemToChar function translates a string from the OEM-defined character set into either an ANSI or a wide-character string. OemToCharBuff The OemToCharBuff function translates a specified number of characters in a string from the OEM-defined character set into either an ANSI or a wide-character string. OffsetClipRgn Moves the clipping region of a device context by the specified offsets. OffsetRect Moves the specified rectangle by the specified offsets. OffsetRgn Moves a region by the specified offsets. OffsetViewportOrgEx Modifies the viewport origin for a device context using the specified horizontal and vertical offsets. OffsetWindowOrgEx Modifies the window origin for a device context using the specified horizontal and vertical offsets. OFNHookProc Receives notification messages sent from the dialog box. The function also receives messages for any additional controls that you defined by specifying a child dialog template. The OFNHookProc hook procedure is an application-defined or library-defined callback function that is used with the Explorer-style Open and Save As dialog boxes. OFNHookProcOldStyle Receives messages or notifications intended for the dialog box procedure. The OFNHookProcOldStyle hook procedure is an application-defined or library-defined callback function that is used with the Open and Save As dialog boxes. One-time Initialization function Description OpenBackupEventLog Opens a handle to a backup event log. OpenClipboard The OpenClipboard function opens the clipboard for examination and prevents other applications from modifying the clipboard content. OpenEncryptedFileRaw Opens an encrypted file to backup (export) or restore (import) the file. OpenEnlistment Opens an existing enlistment object, and returns a handle to the enlistment. OpenEvent Opens an existing named event object. OpenEventLog Opens a handle to the specified event log. OpenFile Creates, opens, reopens, or deletes a file. OpenFileById Opens the file that matches the specified identifier. OpenFileMapping Opens a named file mapping object. OpenIcon The OpenIcon function restores a minimized (iconic) window to its previous size and position; it then activates the window. OpenJobObject Opens an existing job object. OpenMutex Opens an existing named mutex object. OpenPrinter Retrieves a handle to the specified printer or print server. OpenPrinter2 Retrieves a handle to the specified printer or print server or other types of handles in the print subsystem, while setting some of the printer options. OpenPrivateNamespace Opens a private namespace. OpenProcess Opens an existing local process object. OpenResourceManager Opens an existing RM. OpenSCManager Establishes a connection to the service control manager on the specified computer and opens the specified service control manager database. OpenSemaphore Opens an existing named semaphore object. OpenService Opens an existing service. OpenThread Opens an existing thread object. OpenThreadWaitChainSession missing OpenTransaction Opens an existing transaction. OpenTransactionManager Opens an existing TM. OpenTransactionManagerById Opens an existing TM. OpenWaitableTimer Opens an existing named waitable timer object. OutOfProcessExceptionEventCallback WER calls this function to determine whether the exception handler is claiming the crash. OutOfProcessExceptionEventDebuggerLaunchCallback WER calls this function to let you customize the debugger launch options and launch string. OutOfProcessExceptionEventSignatureCallback WER can call this function multiple times to get the report parameters that uniquely describe the problem. OutputDebugString Sends a string to the debugger for display. OutputProc A callback function used with the GrayString function. It is used to draw a string. PackDDElParam The PackDDElParam function packs a DDE PagePaintHook Receives messages that allow you to customize drawing of the sample page in the Page Setup dialog box. The PagePaintHook hook procedure is an application-defined or library-defined callback function used with the PageSetupDlg function. The LPPAGEPAINTHOOK type defines a pointer to this callback function. PagePaintHook is a placeholder for the application-defined or library-defined function name. PageSetupDlg Creates a Page Setup dialog box that enables the user to specify the attributes of a printed page. These attributes include the paper size and source, the page orientation (portrait or landscape), and the width of the page margins. PageSetupHook Receives messages or notifications intended for the default dialog box procedure of the Page Setup dialog box. The PageSetupHook hook procedure is an application-defined or library-defined callback function used with the PageSetupDlg function. The LPPAGESETUPHOOK type defines a pointer to this callback function. PageSetupHook is a placeholder for the application-defined or library-defined function name. PaintDesktop Fills the clipping region in a device context with a pattern. PaintRgn Paints the specified region by using the brush currently selected into the device context. PatBlt Paints a rectangle PathToRegion Creates a region from the path that is selected into the specified device context. PeekConsoleInput Reads data from the specified console input buffer without removing it from the buffer. PeekMessage The PeekMessage function dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist). PeekNamedPipe Copies data from a named or anonymous pipe into a buffer without removing it from the pipe. PhysicalToLogicalPoint Converts the physical coordinates of a point in a window to logical coordinates. Pie Draws a pie-shaped wedge bounded by an ellipse and two radials. PlayEnhMetaFile Displays the picture stored in the specified enhanced-format metafile. PlayEnhMetaFileRecord Plays an enhanced-metafile record by executing the graphics device interface (GDI) functions identified by the record. PlgBlt Performs a bit-block transfer. PolyBezier Draws one or more Bčzier curves. PolyBezierTo Draws one or more Bčzier curves. PolyDraw Draws a set of line segments and Bčzier curves. Polygon Draws a polygon. Polyline Draws a series of line segments by connecting the points in the specified array. PolylineTo Draws one or more straight lines. PolyPolygon draws a series of closed polygons. PolyPolyline Draws multiple series of connected line segments. PolyTextOut Draws several strings using the font and text colors in a device context. PostMessage The PostMessage function places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message. To post a message in the message queue associated with a thread, use the PostThreadMessage function. PostQueuedCompletionStatus Posts an I/O completion packet to an I/O completion port. PostQuitMessage The PostQuitMessage function indicates to the system that a thread has made a request to terminate (quit). It is typically used in response to a WM_DESTROY message. PostThreadMessage The PostThreadMessage function posts a message to the message queue of the specified thread. It returns without waiting for the thread to process the message. PowerCanRestoreIndividualDefaultPowerScheme Determines if the current user has access to the data for the specified power scheme so that it could be restored if necessary. PowerClearRequest Decrements the count of power requests of the specified type for a power request object. PowerCreatePossibleSetting Creates a possible setting value for a specified power setting. PowerCreateRequest Creates a power request object. PowerCreateSetting Creates a setting value for a specified power setting. PowerDeleteScheme Deletes a specified scheme from the database. PowerDeterminePlatformRole Determines the computer role. PowerDuplicateScheme Duplicates an existing power scheme. PowerEnumerate Enumerates the specified elements in a power scheme. PowerGetActiveScheme Retrieves the active power scheme. PowerImportPowerScheme Imports a power scheme from a file. PowerReadACDefaultIndex Retrieves the default AC index of the specified power setting. PowerReadACValue Retrieves the AC power value for the specified power setting. PowerReadACValueIndex Retrieves the AC index of the specified power setting. PowerReadDCDefaultIndex Retrieves the default DC index of the specified power setting. PowerReadDCValue Retrieves the DC power value for the specified power setting. PowerReadDCValueIndex Retrieves the DC value index of the specified power setting. PowerReadDescription Retrieves the description for the specified power setting, subgroup, or scheme. PowerReadFriendlyName Retrieves the friendly name for the specified power setting, subgroup, or scheme. PowerReadIconResourceSpecifier Retrieves the icon resource for the specified power setting, subgroup, or scheme. PowerReadPossibleDescription Retrieves the description for one of the possible choices of a power setting value. PowerReadPossibleFriendlyName Retrieves the friendly name for one of the possible choices of a power setting value. PowerReadPossibleValue Retrieves the value for a possible value of a power setting. PowerReadSettingAttributes Returns the current attribute of the specified power setting. PowerReadValueIncrement Retrieves the increment for valid values between the power settings minimum and maximum. PowerReadValueMax Retrieves the maximum value for the specified power setting. PowerReadValueMin Retrieves the minimum value for the specified power setting. PowerReadValueUnitsSpecifier Reads the string used to describe the units of a power setting that supports a range of values. PowerRemovePowerSetting Deletes the specified power setting. PowerReplaceDefaultPowerSchemes Replaces the power schemes for the default user with the current user's power schemes. PowerRestoreDefaultPowerSchemes Replaces the power schemes for the current user with ones for the default user. PowerRestoreIndividualDefaultPowerScheme Replaces a specific power scheme for the current user with one from the default user. PowerSetActiveScheme Sets the active power scheme for the current user. PowerSetRequest Increments the count of power requests of the specified type for a power request object. PowerSettingAccessCheck Queries for a group policy override for specified power settings. PowerWriteACDefaultIndex Sets the default AC index of the specified power setting. PowerWriteACValueIndex Sets the AC value index of the specified power setting. PowerWriteDCDefaultIndex Sets the default DC index of the specified power setting. PowerWriteDCValueIndex Sets the DC index of the specified power setting. PowerWriteDescription Sets the description for the specified power setting, subgroup, or scheme. PowerWriteFriendlyName Sets the friendly name for the specified power setting, subgroup, or scheme. PowerWriteIconResourceSpecifier Sets the icon resource for the specified power setting, subgroup, or scheme. PowerWritePossibleDescription Sets the description for one of the possible choices of a power setting value. PowerWritePossibleFriendlyName Sets the friendly name for the specified possible setting of a power setting. PowerWritePossibleValue Sets the value for a possible value of a power setting. PowerWriteSettingAttributes Sets the power attributes of a power key. PowerWriteValueIncrement Sets the increment for valid values between the power settings minimum and maximum. PowerWriteValueMax Sets the maximum value for the specified power setting. PowerWriteValueMin Sets the minimum value for the specified power setting. PowerWriteValueUnitsSpecifier Writes the string used to describe the units of a power setting that supports a range of values. PrepareComplete Indicates that the RM has completed all processing necessary to guarantee that a commit or abort operation will succeed for the specified transaction. PrepareEnlistment Called by superior TM to indicate that their pre-prepares work has been completed. PrepareLogArchive Prepares a physical log for archiving. PrepareTape Prepares the tape to be accessed or removed. PrePrepareComplete Signals that this RM has completed its preprepare work, so that other RMs can now begin their prepare operations. PrePrepareEnlistment Called by superior TM to indicate that their pre-prepares work has been completed. PrintDlg Displays a Print Dialog Box. The Print dialog box enables the user to specify the properties of a particular print job. Windows 2000/XP: The PrintDlg function has been superseded by the PrintDlgEx function. PrintDlgEx displays a Print Property Sheet, which has a General page containing controls similar to the Print dialog box. PrintDlgEx Displays a Print property sheet that enables the user to specify the properties of a particular print job. A Print property sheet has a General page that contains controls similar to the Print dialog box. The property sheet can also have additional application-specific and driver-specific property pages as well as the General page. PrinterProperties Displays a printer-properties property sheet for the specified printer. PrintHookProc Receives messages or notifications intended for the default dialog box procedure of the Print dialog box. The PrintHookProc hook procedure is an application-defined or library-defined callback function that is used with the PrintDlg function. The LPPRINTHOOKPROC type defines a pointer to this callback function. PrintHookProc is a placeholder for the application-defined or library-defined function name. PrintWindow Copies a visual window to a device context. PrivateExtractIcons Creates an array of handles to icons that are extracted from a specified file. Process32First Retrieves information about the first process encountered in a system snapshot. Process32Next Retrieves information about the next process recorded in a system snapshot. ProcessIdToSessionId Retrieves the Remote Desktop Services session associated with a specified process. PropEnumProc The PropEnumProc function is an application-defined callback function used with the EnumProps function. The function receives property entries from a window's property list. The PROPENUMPROC type defines a pointer to this callback function. PropEnumProc is a placeholder for the application-defined function name. PropEnumProcEx The PropEnumProcEx function is an application-defined callback function used with the EnumPropsEx function. The function receives property entries from a window's property list. The PROPENUMPROCEX type defines a pointer to this callback function. PropEnumProcEx is a placeholder for the application-defined function name. PTCloseProvider Closes a print ticket provider. PTConvertDevModeToPrintTicket Converts a DEVMODE to a print ticket. PTConvertPrintTicketToDevMode Converts a print ticket to a DEVMODE structure. PTGetPrintCapabilities Gets an account of the printer's capabilities. PtInRect Determines whether the specified point lies within the specified rectangle. PtInRegion Determines whether the specified point is inside the specified region. PTMergeAndValidatePrintTicket Validates and merges two print tickets into a viable print ticket. PTOpenProvider Opens a print ticket provider. PTOpenProviderEx Opens a print ticket provider, even if it does not support the preferred version of the Print Schema. PTQuerySchemaVersionSupport Gets the latest version of the Print Schema that a specified printer supports. PTReleaseMemory Releases buffers created by certain print ticket management functions. PtVisible Determines whether the specified point is within the clipping region of a device context. PulseEvent Sets the specified event object to the signaled state and then resets it to the nonsignaled state after releasing the appropriate number of waiting threads. PurgeComm Discards all characters from the output or input buffer of a specified communications resource. QueryDepthSList Retrieves the number of entries in the specified singly linked list. QueryDosDevice Retrieves information about MS-DOS device names. QueryFullProcessImageName Retrieves the full name of the executable image for the specified process. QueryIdleProcessorCycleTime Retrieves the cycle time for the idle thread of each processor in the system. QueryIdleProcessorCycleTimeEx Retrieves the accumulated cycle time for the idle thread on each logical processor in the specified processor group. QueryInformationJobObject Retrieves limit and job state information from the job object. QueryMemoryResourceNotification Retrieves the state of the specified memory resource object. QueryPerformanceCounter The QueryPerformanceCounter function retrieves the current value of the high-resolution performance counter. QueryPerformanceFrequency Retrieves the frequency of the high-resolution performance counter. QueryProcessAffinityUpdateMode Retrieves the affinity update mode of the specified process. QueryProcessCycleTime Retrieves the sum of the cycle time of all threads of the specified process. QueryRecoveryAgentsOnEncryptedFile Retrieves a list of recovery agents for a specified file. QueryServiceConfig Retrieves the configuration parameters of the specified service. QueryServiceConfig2 Retrieves the optional configuration parameters of the specified service. QueryServiceObjectSecurity Retrieves a copy of the security descriptor associated with a service object. QueryServiceStatusEx Retrieves the current status of the specified service based on the specified information level. QueryThreadCycleTime Retrieves the cycle time for the specified thread. QueryThreadpoolStackInformation Retrieves the stack reserve and commit sizes for threads in the specified thread pool. QueryUmsThreadInformation Retrieves information about the specified UMS worker thread. QueryUnbiasedInterruptTime Gets the current unbiased interrupt-time count. The unbiased interrupt-time count does not include time the system spends in sleep or hibernation. QueryUsersOnEncryptedFile Retrieves a list of users for a specified file. QueueUserAPC Adds a user-mode asynchronous procedure call (APC) object to the APC queue of the specified thread. QueueUserWorkItem Queues a work item to a worker thread in the thread pool. RaiseException Raises an exception in the calling thread. ReadConsole Reads character input from the console input buffer and removes it from the buffer. ReadConsoleInput Reads data from a console input buffer and removes it from the buffer. ReadConsoleOutput Reads character and color attribute data from a rectangular block of character cells in a console screen buffer. ReadConsoleOutputAttribute Copies a specified number of foreground and background color attributes from consecutive cells of a console screen buffer. ReadConsoleOutputCharacter Copies a number of characters from consecutive cells of a console screen buffer. ReadDirectoryChangesW Retrieves information describing the changes occurring within a directory. ReadEncryptedFileRaw Read an encrypted file leaving its data in encrypted format. ReadEventLog Reads a whole number of entries from the specified event log. ReadFile Reads data from a file, starting at the position that is indicated by a file pointer. This function can operate synchronously and asynchronously. ReadFileEx Reads data from a file asynchronously. ReadFileScatter Reads data from a file and stores it in an array of buffers. ReadGlobalPwrPolicy Retrieves the current global power policy settings. Power read functions ReadLogArchiveMetaData Copies a range of the archive view of the metadata to the specified buffer. ReadLogRecord Initiates a sequence of reads from a specified log sequence number (LSN) in one of three modes, and returns the first of the specified log records and a read context. ReadLogRestartArea Returns the last restart area that was written successfully to the log associated with the marshalling area of WriteLogRestartArea. The function also returns a read context that allows the caller to cursor backward or forward through the log from the restart record. ReadNextLogRecord Reads the next record in a sequence that is initiated by a call to ReadLogRecord or ReadLogRestartArea. ReadOnlyEnlistment Requests that the specified enlistment be converted to a read-only enlistment. A read-only enlistment cannot participate in the outcome of the transaction and is not durably recorded for recovery. ReadPreviousLogRestartArea Reads the previous log restart area that is relative to the current restart record specified in the read context. ReadPrinter Retrieves data from the specified printer. ReadProcessMemory Reads data from an area of memory in a specified process. ReadProcessorPwrScheme Retrieves the processor power policy settings for the specified power scheme. Controlled through the GUID_PROCESSOR_SETTINGS_SUBGROUP power settings subgroup. Use the PowerEnumerate function to enumerate individual settings. ReadPwrScheme Retrieves the power policy settings that are unique to the specified power scheme. Power read functions RealChildWindowFromPoint The RealChildWindowFromPoint function retrieves a handle to the child window at the specified point. The search is restricted to immediate child windows; grandchildren and deeper descendant windows are not searched. RealGetWindowClass The RealGetWindowClass function retrieves a string that specifies the window type. RealizePalette Maps palette entries from the current logical palette to the system palette. RecoverEnlistment Recovers an enlistment's state. RecoverResourceManager Recovers a RM's state from its log file. RecoverTransactionManager Recovers a TM's state from its log file. Rectangle Draws a rectangle. RectInRegion Determines whether any part of the specified rectangle is within the boundaries of a region. RectVisible Determines whether any part of the specified rectangle lies within the clipping region of a device context. RedrawWindow Updates a region in a window's client area. RegCloseKey Closes a handle to the specified registry key. RegConnectRegistry Establishes a connection to a predefined registry handle on another computer. RegCopyTree Copies the specified registry key, along with its values and subkeys, to the specified destination key. RegCreateKeyEx Creates the specified registry key. RegCreateKeyTransacted Creates the specified registry key and associates it with a transaction. RegDeleteKey Deletes a subkey and its values. RegDeleteKeyEx Deletes a subkey and its values from the specified platform-specific view of the registry. RegDeleteKeyTransacted Deletes a subkey and its values from the specified platform-specific view of the registry as a transacted operation. RegDeleteKeyValue Removes the specified value from the specified registry key and subkey. RegDeleteTree Deletes the subkeys and values of the specified key recursively. RegDeleteValue Removes a named value from the specified registry key. RegDisablePredefinedCache Disables handle caching for the predefined registry handle for HKEY_CURRENT_USER for the current process. RegDisablePredefinedCacheEx Disables handle caching for all predefined registry handles for the current process. RegDisableReflectionKey Disables registry reflection for the specified key. RegEnableReflectionKey Enables registry reflection for the specified disabled key. RegEnumKeyEx Enumerates the subkeys of the specified open registry key. RegEnumValue Enumerates the values for the specified open registry key. RegFlushKey Writes all attributes of the specified open registry key into the registry. RegGetKeySecurity Retrieves a copy of the security descriptor protecting the specified open registry key. RegGetValue Retrieves the type and data for the specified registry value. RegisterApplicationRecoveryCallback Registers the active instance of an application for recovery. RegisterApplicationRestart Registers the active instance of an application for restart. RegisterClass The RegisterClass function registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function. The RegisterClass function has been superseded by the RegisterClassEx function. You can still use RegisterClass, however, if you do not need to set the class small icon. RegisterClassEx The RegisterClassEx function registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function. RegisterClipboardFormat The RegisterClipboardFormat function registers a new clipboard format. This format can then be used as a valid clipboard format. RegisterDeviceNotification Registers the device or type of device for which a window will receive notifications. RegisterEventSource Retrieves a registered handle to the specified event log. RegisterForPrintAsyncNotifications Registers an application to receive notifications from spooler-hosted components such as printer drivers, print processors, and port monitors. RegisterHotKey The RegisterHotKey function defines a system-wide hot key. RegisterPowerSettingNotification Registers the application to receive power setting notifications for the specific power setting event. RegisterRawInputDevices The RegisterRawInputDevices function registers the devices that supply the raw input data. RegisterServiceCtrlHandler Registers a function to handle service control requests. RegisterServiceCtrlHandlerEx Registers a function to handle extended service control requests. RegisterShellHookWindow Registers a specified Shell window to receive certain messages for events or notifications that are useful to Shell applications. The event messages received are only those sent to the Shell window associated with the specified window's desktop. Many of the messages are the same as those that can be received after calling the SetWindowsHookEx function and specifying WH_SHELL for the hook type. The difference with RegisterShellHookWindow is that the messages are received through the specified window's WindowProc and not through a call back procedure. RegisterWaitChainCOMCallback missing RegisterWaitForSingleObject Directs a wait thread in the thread pool to wait on the object. RegisterWindowMessage The RegisterWindowMessage function defines a new window message that is guaranteed to be unique throughout the system. The message value can be used when sending or posting messages. RegLoadKey Creates a subkey under HKEY_USERS or HKEY_LOCAL_MACHINE and stores registration information from a specified file into that subkey. RegLoadMUIString Loads the specified string from the specified key and subkey. RegNotifyChangeKeyValue Notifies the caller about changes to the attributes or contents of a specified registry key. RegOpenCurrentUser Retrieves a handle to the HKEY_CURRENT_USER key for the user the current thread is impersonating. RegOpenKeyEx Opens the specified registry key. RegOpenKeyTransacted Opens the specified registry key and associates it with a transaction. RegOpenUserClassesRoot Retrieves a handle to the HKEY_CLASSES_ROOT key for the specified user. RegOverridePredefKey Maps a predefined registry key to a specified registry key. RegQueryInfoKey Retrieves information about the specified registry key. RegQueryMultipleValues Retrieves the type and data for a list of value names associated with an open registry key. RegQueryReflectionKey Determines whether reflection has been disabled or enabled for the specified key. RegQueryValueEx Retrieves the type and data for a specified value name associated with an open registry key. RegReplaceKey Replaces the file backing a registry key and all its subkeys with another file. RegRestoreKey Reads the registry information in a specified file and copies it over the specified key. RegSaveKey Saves the specified key and all of its subkeys and values to a new file. RegSaveKeyEx Saves the specified key and all of its subkeys and values to a new file. You can specify the format for the saved key or hive. RegSetKeySecurity Sets the security of an open registry key. RegSetKeyValue Sets the data for the specified value in the specified registry key and subkey. RegSetValueEx Sets the data and type of a specified value under a registry key. RegUnLoadKey Unloads the specified registry key and its subkeys from the registry. ReleaseCapture The ReleaseCapture function releases the mouse capture from a window in the current thread and restores normal mouse input processing. A window that has captured the mouse receives all mouse input, regardless of the position of the cursor, except when a mouse button is clicked while the cursor hot spot is in the window of another thread. ReleaseDC Releases a device context, freeing it for use by other applications. ReleaseMutex Releases ownership of the specified mutex object. ReleaseMutexWhenCallbackReturns Specifies the mutex that the thread pool will release when the current callback completes. ReleaseSemaphore Increases the count of the specified semaphore object by a specified amount. ReleaseSemaphoreWhenCallbackReturns Specifies the semaphore that the thread pool will release when the current callback completes. ReleaseSRWLockExclusive Releases a slim reader/writer (SRW) lock that was acquired in exclusive mode. ReleaseSRWLockShared Releases a slim reader/writer (SRW) lock that was acquired in shared mode. RemoveClipboardFormatListener Removes the given window from the system-maintained clipboard format listener list. RemoveDirectory Deletes an existing empty directory. RemoveDirectoryTransacted Deletes an existing empty directory as a transacted operation. RemoveFontMemResourceEx Removes a font whose source was embedded in a document from the system font table. RemoveFontResource Removes the fonts in a file from the system font table. RemoveFontResourceEx Removes a private or non-enumerable font from the system font table. RemoveLogContainer Removes a single container from a log that is associated with a dedicated or multiplexed log handle. RemoveLogContainerSet Removes multiple containers from a log that is associated with a dedicated or multiplexed log handle. RemoveMenu The RemoveMenu function deletes a menu item or detaches a submenu from the specified menu. If the menu item opens a drop-down menu or submenu, RemoveMenu does not destroy the menu or its handle, allowing the menu to be reused. Before this function is called, the GetSubMenu function should retrieve a handle to the drop-down menu or submenu. RemoveProp The RemoveProp function removes an entry from the property list of the specified window. The specified character string identifies the entry to be removed. RemoveSecureMemoryCacheCallback Unregisters a callback function that was previously registered with the AddSecureMemoryCacheCallback function. RemoveUsersFromEncryptedFile Removes specified certificate hashes from a specified file. RemoveVectoredContinueHandler Unregisters a vectored continue handler. RemoveVectoredExceptionHandler Unregisters a vectored exception handler. RenameTransactionManager Renames a TM. ReOpenFile Reopens a specified file system object with different access rights, a different sharing mode, and different flags than it was previously opened with. ReplaceFile Replaces one file with a different file, and optionally creates a backup copy of the original file. ReplaceText Creates a system-defined modeless dialog box that lets the user specify a string to search for and a replacement string, as well as options to control the find and replace operations. ReplyMessage The ReplyMessage function is used to reply to a message sent through the SendMessage function without returning control to the function that called SendMessage. ReportEvent Writes an entry at the end of the specified event log. ReportJobProcessingProgress Reports whether an XPS print job is in the spooling or rendering phase and what part of the processing is currently underway. RequestWakeupLatency Specifies roughly how quickly the computer should enter the working state. Not applicable. ReserveAndAppendLog Reserves space for log buffers, appends a log record to the log, or does both. ReserveAndAppendLogAligned Reserves space for log buffers, appends a log record to the log, or both. This function is like ReserveAndAppendLog, but ReserveAndAppendLogAligned aligns the write entries of the record to the specified byte alignment. ResetDC Updates the specified printer or plotter device context using the specified information. ResetEvent Sets the specified event object to the nonsignaled state. ResetPrinter Specifies the data type and device mode values to be used for printing documents submitted by the StartDocPrinter function. ResetWriteWatch Resets the write-tracking state for a region of virtual memory. ResizePalette Increases or decreases the size of a logical palette based on the specified value. ResolveLocaleName Finds a possible locale name match for the supplied name. RestoreDC Restores a device context to the specified state. ResumeThread Decrements a thread's suspend count. ReuseDDElParam The ReuseDDElParam function enables an application to reuse a packed DDE RmAddFilter Modifies shutdown or restart actions. RmCancelCurrentTask Cancels the current RmGetList, RmShutdown, or RmRestart function. RmEndSession Ends the Restart Manager session. RmGetFilterList Queries the status of shutdown and restart modifications that have already been applied. RmGetList Used by installers to get a list of all applications affected by registered resources and their current status. RmJoinSession Joins the process of an application to an existing Restart Manager session. RmRegisterResources Registers resources, such as filenames, service short names, or RM_UNIQUE_PROCESS structures, to a Restart Manager session. RmRemoveFilter Removes shutdown and restart modifications that have already been applied. RmRestart Restarts applications and services that have been shut down by the RmShutdown function and that have been registered for restart using RegisterApplicationRestart. RmShutdown Initiates the shut down of applications and services. RmStartSession Starts a new Restart Manager session. RollbackComplete Indicates that the resource manager (RM) has successfully completed rolling back a transaction. RollbackEnlistment Rolls back the specified transaction that is associated with an enlistment. This function cannot be called for read-only enlistments. RollbackTransaction Requests that the specified transaction be rolled back. RollbackTransactionAsync Requests that the specified transaction be rolled back. This function returns asynchronously. RollforwardTransactionManager Recovers TM's state from its log file to the specified virtual clock value. RoundRect Draws a rectangle with rounded corners. RtlAddFunctionTable Adds a dynamic function table to the dynamic function table list. RtlCaptureContext Retrieves a context record in the context of the caller. RtlDeleteFunctionTable Removes a dynamic function table from the dynamic function table list. RtlFirstEntrySList Retrieves the first entry in a singly linked list. RtlInitializeSListHead Initializes the head of a singly linked list. Applications should call InitializeSListHead instead. RtlInstallFunctionTableCallback Adds a dynamic function table to the dynamic function table list. RtlInterlockedFlushSList Flushes the entire list of items in a singly linked list. Applications should call InterlockedFlushSList instead. RtlInterlockedPopEntrySList Removes an item from the front of a singly linked list. Applications should call InterlockedPopEntrySList instead. RtlInterlockedPushEntrySList Inserts an item at the front of a singly linked list. Applications should call InterlockedPushEntrySList instead. RtlIsNameLegalDOS8Dot3 Determines whether or not a specified name can be used to create a file on the FAT file system. RtlIsValidLocaleName Determines if a specified locale is installed or supported on the operating system. RtlLocalTimeToSystemTime Converts the specified local time to system time. RtlLookupFunctionEntry Searches the active function tables for an entry that corresponds to the specified PC value. RtlNtStatusToDosError Retrieves the system error code that corresponds to the specified NT error code. RtlPcToFileHeader Retrieves the base address of the image that contains the specified PC value. RtlQueryDepthSList Retrieves the number of entries in the specified singly linked list. Applications should call QueryDepthSList instead. RtlRestoreContext Restores the context of the caller to the specified context record. RtlTimeToSecondsSince1970 Converts the specified system time to the number of seconds since the first second of January 1, 1970. RtlUnwind Initiates an unwind of procedure call frames. RtlUnwind2 Initiates an unwind of procedure call frames. RtlUnwindEx Initiates an unwind of procedure call frames. RtlVirtualUnwind Retrieves the invocation context of the function that precedes the specified function context. SaveDC Saves the current state of the specified device context by copying data describing selected objects and graphic modes to a context stack. ScaleViewportExtEx Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors. ScaleWindowExtEx Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors. ScanLogContainers Enumerates log containers. Call this function repeatedly to iterate over all log containers. ScheduleJob Requests that the print spooler schedule a specified print job for printing. ScreenToClient Converts the screen coordinates of a specified point on the screen to client coordinates. ScriptApplyDigitSubstitution Applies the specified digit substitution settings to the specified script control and script state structures. ScriptApplyLogicalWidth Takes an array of advance widths for a run and generates an array of adjusted advance glyph widths. ScriptBreak Retrieves information for determining line breaks. ScriptCacheGetHeight Retrieves the height of the currently cached font. ScriptCPtoX Generates the x offset from the left end or leading edge of a run to either the leading or trailing edge of a logical character cluster. ScriptFreeCache Frees a script cache. ScriptGetCMap Retrieves the glyph indexes of the Unicode characters in a string according to either the TrueType cmap table or the standard cmap table implemented for old-style fonts. ScriptGetFontAlternateGlyphs Retrieves a list of alternate glyphs for a specified character that can be accessed through a specified OpenType feature. ScriptGetFontFeatureTags Retrieves a list of typographic features for the defined writing system for OpenType processing. ScriptGetFontLanguageTags Retrieves a list of language tags that are available for the specified item and are supported by a specified script tag for OpenType processing. ScriptGetFontProperties Retrieves information from the font cache on the special glyphs used by a font. ScriptGetFontScriptTags Retrieves a list of scripts available in the font for OpenType processing. ScriptGetGlyphABCWidth Retrieves the ABC width of a given glyph. ScriptGetLogicalWidths Converts the glyph advance widths for a specific font into logical widths. ScriptGetProperties Retrieves information about the current scripts. ScriptIsComplex Determines whether a Unicode string requires complex script processing. ScriptItemize Breaks a Unicode string into individually shapeable items. ScriptItemizeOpenType Breaks a Unicode string into individually shapeable items and provides an array of feature tags for each shapeable item for OpenType processing. ScriptJustify Creates an advance widths table to allow text justification when passed to the ScriptTextOut function. ScriptLayout Converts an array of run embedding levels to a map of visual-to-logical position and/or logical-to-visual position. ScriptPlace Generates glyph advance width and two-dimensional offset information from the output of ScriptShape. ScriptPlaceOpenType Generates glyphs and visual attributes for a Unicode run with OpenType information from the output of ScriptShapeOpenType. ScriptPositionSingleGlyph Positions a single glyph with a single adjustment using a specified feature provided in the font for OpenType processing. ScriptRecordDigitSubstitution Reads the National Language Support (NLS) native digit and digit substitution settings and records them in a SCRIPT_DIGITSUBSTITUTE structure. ScriptShape Generates glyphs and visual attributes for a Unicode run. ScriptShapeOpenType Generates glyphs and visual attributes for a Unicode run with OpenType information. ScriptString_pcOutChars Returns a pointer to the length of a string after clipping. ScriptString_pLogAttr Returns a pointer to a logical attributes buffer for an analyzed string. ScriptString_pSize Returns a pointer to a SIZE structure for an analyzed string. ScriptStringAnalyse Analyzes a plain text string. ScriptStringCPtoX Retrieves the x coordinate for the leading or trailing edge of a character position. ScriptStringFree Frees a SCRIPT_STRING_ANALYSIS structure. ScriptStringGetLogicalWidths Converts visual widths into logical widths. ScriptStringGetOrder Creates an array that maps an original character position to a glyph position. ScriptStringOut Displays a string generated by a prior call to ScriptStringAnalyse and optionally adds highlighting. ScriptStringValidate Checks a SCRIPT_STRING_ANALYSIS structure for invalid sequences. ScriptStringXtoCP Converts an x coordinate to a character position. ScriptSubstituteSingleGlyph Enables substitution of a single glyph with one alternate form of the same glyph for OpenType processing. ScriptTextOut Displays text for the specified script shape and place information. ScriptXtoCP Generates the leading or trailing edge of a logical character cluster from the x offset of a run. ScrollConsoleScreenBuffer Moves a block of data in a screen buffer. ScrollDC The ScrollDC function scrolls a rectangle of bits horizontally and vertically. ScrollWindow The ScrollWindow function scrolls the contents of the specified window's client area. Note The ScrollWindow function is provided for backward compatibility. New applications should use the ScrollWindowEx function. ScrollWindowEx The ScrollWindowEx function scrolls the contents of the specified window's client area. SearchPath Searches for a specified file in a specified path. SecureMemoryCacheCallback An application-defined function that is called when a secured memory range is freed or its protections are changed. SecureZeroMemory Fills a block of memory with zeros. SelectClipPath Selects the current path as a clipping region for a device context, combining the new region with any existing clipping region by using the specified mode. SelectClipRgn Selects a region as the current clipping region for the specified device context. SelectObject Selects an object into the specified device context. SelectPalette Selects the specified logical palette into a device context. Semaphore function Description SendAsyncProc The SendAsyncProc function is an application-defined callback function used with the SendMessageCallback function. The system passes the message to the callback function after passing the message to the destination window procedure. The SENDASYNCPROC type defines a pointer to this callback function. SendAsyncProc is a placeholder for the application-defined function name. SendDlgItemMessage The SendDlgItemMessage function sends a message to the specified control in a dialog box. SendInput The SendInput function synthesizes keystrokes, mouse motions, and button clicks. SendMessage Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message. To send a message and return immediately, use the SendMessageCallback or SendNotifyMessage function. To post a message to a thread's message queue and return immediately, use the PostMessage or PostThreadMessage function. SendMessageCallback The SendMessageCallback function sends the specified message to a window or windows. It calls the window procedure for the specified window and returns immediately. After the window procedure processes the message, the system calls the specified callback function, passing the result of the message processing and an application-defined value to the callback function. SendMessageTimeout Sends the specified message to one of more windows. SendNotifyMessage The SendNotifyMessage function sends the specified message to a window or windows. If the window was created by the calling thread, SendNotifyMessage calls the window procedure for the window and does not return until the window procedure has processed the message. If the window was created by a different thread, SendNotifyMessage passes the message to the window procedure and returns immediately; it does not wait for the window procedure to finish processing the message. ServiceMain An application-defined function that serves as the starting point for a service. SetAbortProc Sets the application-defined abort function that allows a print job to be canceled during spooling. SetActivePwrScheme Sets the active power scheme. PowerSetActiveScheme SetActiveWindow The SetActiveWindow function activates a window. The window must be attached to the calling thread's message queue. SetArcDirection Sets the drawing direction to be used for arc and rectangle functions. SetBitmapDimensionEx Sets the preferred dimensions to a bitmap. SetBkColor Sets the background to a color value. SetBkMode Sets the background mix mode of a device context. SetBoundsRect Controls the accumulation of bounding rectangle information for a device context. SetBrushOrgEx Sets the brush origin for a device context SetCalendarInfo Sets an item of locale information for a calendar. SetCapture The SetCapture function sets the mouse capture to the specified window belonging to the current thread. SetCapture captures mouse input either when the mouse is over the capturing window, or when the mouse button was pressed while the mouse was over the capturing window and the button is still down. Only one window at a time can capture the mouse. If the mouse cursor is over a window created by another thread, the system will direct mouse input to the specified window only if a mouse button is down. SetCaretBlinkTime The SetCaretBlinkTime function sets the caret blink time to the specified number of milliseconds. The blink time is the elapsed time, in milliseconds, required to invert the caret's pixels. SetCaretPos The SetCaretPos function moves the caret to the specified coordinates. If the window that owns the caret was created with the CS_OWNDC class style, then the specified coordinates are subject to the mapping mode of the device context associated with that window. SetClassLong The SetClassLong function replaces the specified 32-bit (long) value at the specified offset into the extra class memory or the WNDCLASSEX structure for the class to which the specified window belongs. Note This function has been superseded by the SetClassLongPtr function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use SetClassLongPtr. SetClassLongPtr The SetClassLongPtr function replaces the specified value at the specified offset in the extra class memory or the WNDCLASSEX structure for the class to which the specified window belongs. This function supersedes the SetClassLong function. To write code that is compatible with both 32-bit and 64-bit Windows, use SetClassLongPtr. SetClassWord The SetClassWord function replaces the 16-bit (WORD) value at the specified offset into the extra class memory for the window class to which the specified window belongs. Note This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the SetClassLong function. SetClipboardData The SetClipboardData function places data on the clipboard in a specified clipboard format. The window must be the current clipboard owner, and the application must have called the OpenClipboard function. (When responding to the WM_RENDERFORMAT and WM_RENDERALLFORMATS messages, the clipboard owner must not call OpenClipboard before calling SetClipboardData.) SetClipboardViewer The SetClipboardViewer function adds the specified window to the chain of clipboard viewers. Clipboard viewer windows receive a WM_DRAWCLIPBOARD message whenever the content of the clipboard changes. SetColorAdjustment Sets the color adjustment values for a DC using the specified values. SetCommBreak Suspends character transmission for a specified communications device and places the transmission line in a break state. SetCommConfig Sets the current configuration of a communications device. SetCommMask Specifies a set of events to be monitored for a communications device. SetCommState Configures a communications device according to the specifications in a device-control block. SetCommTimeouts Sets the time-out parameters for all read and write operations on a specified communications device. SetComputerName Sets a new NetBIOS name for the local computer. SetComputerNameEx Sets a new NetBIOS or DNS name for the local computer. SetConsoleActiveScreenBuffer Sets the specified screen buffer to be the currently displayed console screen buffer. SetConsoleCP Sets the input code page used by the console associated with the calling process. SetConsoleCtrlHandler Adds or removes an application-defined HandlerRoutine from the list of handler functions for the calling process. SetConsoleCursorInfo Sets the size and visibility of the cursor for the specified console screen buffer. SetConsoleCursorPosition Sets the cursor position in the specified console screen buffer. SetConsoleDisplayMode Sets the display mode of the specified console screen buffer. SetConsoleHistoryInfo Sets the history settings for the calling process's console. SetConsoleMode Sets the input mode of a console's input buffer or the output mode of a console screen buffer. SetConsoleOutputCP Sets the output code page used by the console associated with the calling process. SetConsoleScreenBufferInfoEx Sets extended information about the specified console screen buffer. SetConsoleScreenBufferSize Changes the size of the specified console screen buffer. SetConsoleTextAttribute Sets the foreground (text) and background color attributes of characters written to the console screen buffer. SetConsoleTitle Sets the title for the current console window. SetConsoleWindowInfo Sets the current size and position of a console screen buffer's window. SetCriticalSectionSpinCount Sets the spin count for the specified critical section. SetCurrentConsoleFontEx Sets extended information about the current console font. SetCurrentDirectory Changes the current directory for the current process. SetCursor The SetCursor function sets the cursor shape. SetCursorPos Moves the cursor to the specified screen coordinates. If the new coordinates are not within the screen rectangle set by the most recent ClipCursor function call, the system automatically adjusts the coordinates so that the cursor stays within the rectangle. SetDCBrushColor Sets the current device context brush color to the specified color value. SetDCPenColor Sets the current device context pen color to the specified color value. SetDefaultCommConfig Sets the default configuration for a communications device. SetDefaultPrinter Sets the printer name of the default printer for the current user on the local computer. SetDIBColorTable Sets RGB values in a DIB. SetDIBits Sets the pixels in a bitmap using color data from a DIB. SetDIBitsToDevice Sets the pixels in a rectangle using color data from a DIB. SetDlgItemInt The SetDlgItemInt function sets the text of a control in a dialog box to the string representation of a specified integer value. SetDlgItemText The SetDlgItemText function sets the title or text of a control in a dialog box. SetDllDirectory Modifies the search path used to locate DLLs for the application. SetDoubleClickTime The SetDoubleClickTime function sets the double-click time for the mouse. A double-click is a series of two clicks of a mouse button, the second occurring within a specified time after the first. The double-click time is the maximum number of milliseconds that may occur between the first and second clicks of a double-click. SetDynamicTimeZoneInformation Sets the current time zone and dynamic daylight saving time settings. SetEndOfFile Moves the end-of-file position for a specified file to the current position of a file pointer. SetEndOfLog This function has been deprecated. Use TruncateLog instead. SetEnhMetaFileBits Creates a memory-based enhanced-format metafile from the specified data. SetEnlistmentRecoveryInformation Sets an opaque, user-defined structure of recovery data from KTM. Recovery information is stored in a log on behalf of a RM by calling SetEnlistmentRecoveryInformation. After a failure, the RM can use GetEnlistmentRecoveryInformation to retrieve the information. SetEnvironmentVariable Sets the value of an environment variable for the current process. SetErrorMode Controls whether the system will handle the specified types of serious errors, or whether the process will handle them. SetEvent Sets the specified event object to the signaled state. SetEventWhenCallbackReturns Specifies the event that the thread pool will set when the current callback completes. SetExtendedFeaturesMask Specifies the processor extended features to store in a processor context record. SetFileApisToANSI Indicates that the file I/O functions must use the ANSI character set code page. SetFileApisToOEM Causes the file I/O functions to use the OEM character set code page. SetFileAttributes Sets the attributes of a file. SetFileAttributesTransacted Sets the attributes for a file or directory as a transacted operation. SetFileBandwidthReservation Requests that bandwidth for the specified file stream be reserved. SetFileCompletionNotificationModes Sets the notification modes for a file handle. SetFileInformationByHandle Sets the information for the specified file. SetFileIoOverlappedRange Associates a virtual address range with a file handle. SetFilePointer Moves the file pointer of an open file. SetFilePointerEx Moves the file pointer of a specified file. SetFileShortName Sets the short name for a specified file. SetFileTime Sets the date and time that the specified file or directory was created, last accessed, or last modified. SetFileValidData Sets the valid data length of a specified file. SetFirmwareEnvironmentVariable Sets the value of the specified firmware environment variable in NVRAM. SetFocus The SetFocus function sets the keyboard focus to the specified window. The window must be attached to the calling thread's message queue. SetForegroundWindow The SetForegroundWindow function puts the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, and various visual cues are changed for the user. The system assigns a slightly higher priority to the thread that created the foreground window than it does to other threads. SetForm Sets the form information for the specified printer. SetGraphicsMode Sets the graphics mode for the specified device context. SetInformationJobObject Set limits for a job object. SetJob Pauses, resumes, cancels, or restarts a print job on a specified printer. SetKeyboardState The SetKeyboardState function copies a 256-byte array of keyboard key states into the calling thread's keyboard input-state table. This is the same table accessed by the GetKeyboardState and GetKeyState functions. Changes made to this table do not affect keyboard input to any other thread. SetLastError Sets the last-error code for the calling thread. SetLastErrorEx Sets the last-error code for the calling thread. SetLayeredWindowAttributes The SetLayeredWindowAttributes function sets the opacity and transparency color key of a layered window. SetLayout Sets the layout for a device context. SetLocaleInfo Sets an item of information in the user override portion of the current locale. SetLocalTime Sets the current local time and date. SetLogArchiveMode Enables or disables log archive support for a specified log. SetLogArchiveTail Sets the last archived log sequence number (LSN) or archive tail of an archivable log. SetMailslotInfo Sets the time-out value used by the specified mailslot for a read operation. SetMapMode Sets the mapping mode of the specified device context. SetMapperFlags Alters the algorithm used to map logical fonts to physical fonts. SetMenu The SetMenu function assigns a new menu to the specified window. SetMenuDefaultItem The SetMenuDefaultItem function sets the default menu item for the specified menu. SetMenuInfo The SetMenuInfo function sets information for a specified menu. SetMenuItemBitmaps The SetMenuItemBitmaps function associates the specified bitmap with a menu item. Whether the menu item is selected or clear, the system displays the appropriate bitmap next to the menu item. SetMenuItemInfo The SetMenuItemInfo function changes information about a menu item. SetMessageExtraInfo The SetMessageExtraInfo function sets the extra message information for the current thread. Extra message information is an application- or driver-defined value associated with the current thread's message queue. An application can use the GetMessageExtraInfo function to retrieve a thread's extra message information. SetMetaRgn Intersects the current clipping region for the specified device context with the current metaregion and saves the combined region as the new metaregion for the specified device context. SetMiterLimit Sets the limit for the length of miter joins for the specified device context. SetNamedPipeHandleState Sets the read mode and the blocking mode of the specified named pipe. SetPaletteEntries Sets RGB (red, green, blue) color values and flags in a range of entries in a logical palette. SetParent The SetParent function changes the parent window of the specified child window. SetPhysicalCursorPos Sets the position of the cursor in physical coordinates. SetPixel Sets the color for a pixel. SetPixelV Sets a pixel to the best approximation of a color. SetPolyFillMode Sets the polygon fill mode for functions that fill polygons. SetPort Sets the status associated with a printer port. SetPrinter Sets the data for a specified printer or sets the state of the specified printer by pausing printing, resuming printing, or clearing all print jobs. SetPrinterData Sets the configuration data for a printer or print server. SetPrinterDataEx Sets the configuration data for a printer or print server. SetPriorityClass Sets the priority class for the specified process. SetProcessAffinityMask Sets a processor affinity mask for the threads of a specified process. SetProcessAffinityUpdateMode Sets the affinity update mode of the specified process. SetProcessDefaultLayout The SetProcessDefaultLayout function changes the default layout when windows are created with no parent or owner only for the currently running process. SetProcessDEPPolicy Changes DEP settings for a process. SetProcessDPIAware Sets the current process as dpi aware. SetProcessPriorityBoost Disables the ability of the system to temporarily boost the priority of the threads of the specified process. SetProcessShutdownParameters Sets shutdown parameters for the currently calling process. SetProcessWorkingSetSize Sets the minimum and maximum working set sizes for the specified process. SetProcessWorkingSetSizeEx Sets the minimum and maximum working set sizes for the specified process. SetProp The SetProp function adds a new entry or changes an existing entry in the property list of the specified window. The function adds a new entry to the list if the specified character string does not exist already in the list. The new entry contains the string and the handle. Otherwise, the function replaces the string's current handle with the specified handle. SetProviderStatusFunc Sets the time provider's status information. SetProviderStatusInfoFreeFunc Frees a SetProviderStatusInfo structure. SetRect Sets the coordinates of the specified rectangle. SetRectEmpty Creates an empty rectangle in which all coordinates are set to zero. SetRectRgn Converts a region into a rectangular region with the specified coordinates. SetResourceManagerCompletionPort Associates the specified I/O completion port with the specified RM. This port receives all notifications for the RM. SetROP2 Sets the foreground mix mode. SetScrollInfo The SetScrollInfo function sets the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb). The function also redraws the scroll bar, if requested. SetScrollPos The SetScrollPos function sets the position of the scroll box (thumb) in the specified scroll bar and, if requested, redraws the scroll bar to reflect the new position of the scroll box. Note The SetScrollPos function is provided for backward compatibility. New applications should use the SetScrollInfo function. SetScrollRange The SetScrollRange function sets the minimum and maximum scroll box positions for the specified scroll bar. Note The SetScrollRange function is provided for backward compatibility. New applications should use the SetScrollInfo function. SetSearchPathMode Sets the search mode used by the SearchPath function for the process. SetServiceBits Registers a service type with the service control manager and the Server service. SetServiceObjectSecurity Sets the security descriptor of a service object. SetServiceStatus Updates the service control manager's status information for the calling service. SetStdHandle Sets the handle for the standard input, standard output, or standard error device. SetStretchBltMode Sets the bitmap stretching mode. SetSuspendState Sets the system suspend state. SetSysColors Sets the colors for the specified display elements. SetSystemCursor The SetSystemCursor function enables an application to customize the system cursors. It replaces the contents of the system cursor specified by the id parameter with the contents of the cursor specified by the hcur parameter and then destroys hcur. SetSystemFileCacheSize Limits the size of the working set for the file system cache. SetSystemPaletteUse Allows an application to specify whether the system palette contains 2 or 20 static colors. SetSystemPowerState Suspends the system by shutting power down. SetSuspendState SetSystemTime Sets the current system time and date. SetSystemTimeAdjustment Enables or disables periodic time adjustments to the system's time-of-day clock. SetTapeParameters Specifies the block size of a tape or configures the tape device. SetTapePosition Sets the tape position on the specified device. SetTextAlign Sets the text-alignment flags for a device context. SetTextCharacterExtra Sets the intercharacter spacing. SetTextColor Sets the text color for a device context. SetTextJustification Specifies the amount of space the system should add to the break characters in a string. SetThreadAffinityMask Sets a processor affinity mask for the specified thread. SetThreadContext Sets the context for the specified thread. SetThreadErrorMode Controls whether the system will handle the specified types of serious errors or whether the calling thread will handle them. SetThreadExecutionState Enables applications to inform the system that it is in use. SetThreadGroupAffinity Sets the processor group affinity for the specified thread. SetThreadIdealProcessor Specifies a preferred processor for a thread. SetThreadIdealProcessorEx Sets the ideal processor for the specified thread and optionally retrieves the previous ideal processor. SetThreadLocale Sets the current locale of the calling thread. SetThreadpoolCallbackCleanupGroup Associates the specified cleanup group with the specified callback environment. SetThreadpoolCallbackLibrary Ensures that the specified DLL remains loaded as long as there are outstanding callbacks. SetThreadpoolCallbackPersistent Specifies that the callback should run on a persistent thread. SetThreadpoolCallbackPool Sets the thread pool to be used when generating callbacks. SetThreadpoolCallbackPriority Specifies the priority of a callback function relative to other work items in the same thread pool. SetThreadpoolCallbackRunsLong Indicates that callbacks associated with this callback environment may not return quickly. SetThreadpoolStackInformation Sets the stack reserve and commit sizes for new threads in the specified thread pool. SetThreadpoolThreadMaximum Sets the maximum number of threads that the specified thread pool can allocate to process callbacks. SetThreadpoolThreadMinimum Sets the minimum number of threads that the specified thread pool must make available to process callbacks. SetThreadpoolTimer Sets the timer object. A worker thread calls the timer object's callback after the specified timeout expires. SetThreadpoolWait Sets the wait object. A worker thread calls the wait object's callback function after the handle becomes signaled or after the specified timeout expires. SetThreadPriority Sets the priority value for the specified thread. SetThreadPriorityBoost Disables the ability of the system to temporarily boost the priority of a thread. SetThreadStackGuarantee Sets the stack guarantee for the calling thread. SetTimer The SetTimer function creates a timer with the specified time-out value. SetTimeZoneInformation Sets the current time zone settings. SetTransactionInformation Sets the transaction information for the specified transaction. SetUmsThreadInformation Sets application-specific context information for the specified UMS worker thread. SetUnhandledExceptionFilter Enables an application to supersede the top-level exception handler of each thread and process. SetupComm Initializes the communications parameters for a specified communications device. SetupHookProc The SetupHookProc hook procedure is an application-defined or library-defined callback function used with the PrintDlg function. The hook procedure receives messages or notifications intended for the default dialog box procedure of the Print Setup dialog box. The LPSETUPHOOKPROC type defines a pointer to this callback function. SetupHookProc is a placeholder for the application-defined or library-defined function name. SetUserFileEncryptionKey Sets a current user key to a specified certificate. SetUserGeoID Sets the geographical location identifier for the user. SetViewportExtEx Sets the horizontal and vertical extents of the viewport for a device context by using the specified values. SetViewportOrgEx Specifies which device point maps to the window origin (0,0). SetVolumeLabel Sets the label of a file system volume. SetVolumeMountPoint Associates a volume with a drive letter or a directory on another volume. SetWaitableTimer Activates the specified waitable timer. SetWaitableTimerEx Activates the specified waitable timer and provides context information for the timer. . SetWindowDisplayAffinity Stores the display affinity setting in kernel mode on the hWnd associated with the window. SetWindowExtEx Sets the horizontal and vertical extents of the window for a device context by using the specified values. SetWindowLong The SetWindowLong function changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory. Note This function has been superseded by the SetWindowLongPtr function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use the SetWindowLongPtr function. SetWindowLongPtr The SetWindowLongPtr function changes an attribute of the specified window. The function also sets a value at the specified offset in the extra window memory. This function supersedes the SetWindowLong function. To write code that is compatible with both 32-bit and 64-bit versions of Windows, use SetWindowLongPtr. SetWindowOrgEx Specifies which window point maps to the viewport origin (0,0). SetWindowPlacement The SetWindowPlacement function sets the show state and the restored, minimized, and maximized positions of the specified window. SetWindowPos Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order. SetWindowRgn Sets the window region of a window. SetWindowsHookEx The SetWindowsHookEx function installs an application-defined hook procedure into a hook chain. You would install a hook procedure to monitor the system for certain types of events. These events are associated either with a specific thread or with all threads in the same desktop as the calling thread. SetWindowText The SetWindowText function changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However, SetWindowText cannot change the text of a control in another application. SetWinMetaFileBits Converts a metafile from the older Windows format to the new enhanced format. SetWorldTransform Sets a two-dimensional linear transformation between world space and page space for the specified device context. ShellProc The ShellProc hook procedure is an application-defined or library-defined callback function used with the SetWindowsHookEx function. The function receives notifications of Shell events from the system. The HOOKPROC type defines a pointer to this callback function. ShellProc is a placeholder for the application-defined or library-defined function name. ShowCaret The ShowCaret function makes the caret visible on the screen at the caret's current position. When the caret becomes visible, it begins flashing automatically. ShowCursor The ShowCursor function displays or hides the cursor. ShowOwnedPopups The ShowOwnedPopups function shows or hides all pop-up windows owned by the specified window. ShowScrollBar The ShowScrollBar function shows or hides the specified scroll bar. ShowWindow The ShowWindow function sets the specified window's show state. ShowWindowAsync The ShowWindowAsync function sets the show state of a window created by a different thread. ShutdownBlockReasonCreate Indicates that the system cannot be shut down and sets a reason string to be displayed to the user if system shutdown is initiated. ShutdownBlockReasonDestroy Indicates that the system can be shut down and frees the reason string. ShutdownBlockReasonQuery Retrieves the reason string set by the ShutdownBlockReasonCreate function. SignalObjectAndWait Atomically signals one object and waits on another object. SinglePhaseReject Indicates that the RM is refusing a single-phase request. When a TM receives this call, it initiates a two-phase commit and sends a prepare request to all enlisted RMs. Singly-linked list function Description SisCreateBackupStructure Creates the specified SIS backup structure based on the supplied information. SisCreateRestoreStructure Creates the specified SIS restore structure based on the supplied information. SisCSFilesToBackupForLink Returns information describing the common-store files the specified SIS link points to. SisFreeAllocatedMemory Frees memory allocated by SIS API functions. SisFreeBackupStructure Frees the specified SIS backup structure. SisFreeRestoreStructure Frees the specified SIS restore structure. SisRestoredCommon StoreFile Reports to the SIS architecture that a common-store file has been written. SisRestoredLink Returns the names of the common-store file or files pointed to by the specified restored SIS link. Sleep Suspends the execution of the current thread for a specified interval. SleepConditionVariableCS Sleeps on the specified condition variable and releases the specified critical section as an atomic operation. SleepConditionVariableSRW Sleeps on the specified condition variable and releases the specified lock as an atomic operation. SleepEx Suspends the current thread until the specified condition is met. SoundSentry The SoundSentry function triggers a visual signal to indicate that a sound is playing. StartDoc Starts a print job. StartDocPrinter Notifies the print spooler that a document is to be spooled for printing. StartPage Prepares the printer driver to accept data. StartPagePrinter Notifies the spooler that a page is about to be printed on the specified printer. StartService Starts a service. StartServiceCtrlDispatcher Connects the main thread of a service process to the service control manager. StartThreadpoolIo Notifies the thread pool that I/O operations may possibly begin for the specified I/O completion object. A worker thread calls the I/O completion object's callback function after the operation completes on the file handle bound to this object. StretchBlt Copies a bitmap and stretches or compresses it. StretchDIBits Copies the color data in a DIB. StringCbCat StringCbCat concatenates two strings. The StringCbCat functions are replacements for strcat and its related variants. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCat does not write past the end of this buffer. StringCbCatEx StringCbCatEx is a replacement for strcat. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCatEx does not write past the end of this buffer. StringCbCatEx adds to the functionality of StringCbCat by returning a pointer to the end of the destination string as well as the number of bytes left unused in that string. Flags may also be passed to the function for additional control. StringCbCatN StringCbCatN is a replacement for strncat. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCatN does not write past the end of this buffer. StringCbCatNEx StringCbCatNEx is a replacement for strncat. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCatNEx does not write past the end of this buffer. StringCbCatNEx adds to the functionality of StringCbCatN by returning a pointer to the end of the destination string as well as the number of bytes left unused in that string. Flags may also be passed to the function for additional control. StringCbCopy StringCbCopy is a replacement for strcpy. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCopy does not write past the end of this buffer. StringCbCopyEx StringCbCopyEx is a replacement for strcpy. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCopyEx does not write past the end of this buffer. StringCbCopyEx adds to the functionality of StringCbCopy by returning a pointer to the end of the destination string as well as the number of bytes left unused in that string. Flags may also be passed to the function for additional control. StringCbCopyN StringCbCopyN is a replacement for strncpy. StringCbCopyN copies a given number of bytes from a source string. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCopyN does not write past the end of this buffer. StringCbCopyNEx StringCbCopyNEx is a replacement for strncpy. StringCbCopyNEx copies a given number of bytes from a source string. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbCopyNEx does not write past the end of this buffer. StringCbCopyNEx adds to the functionality of StringCbCopyN by returning a pointer to the end of the destination string as well as the number of bytes left unused in that string. Flags may also be passed to the function for additional control. StringCbGets StringCbGets is a replacement for gets. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbGets does not write past the end of this buffer. It retrieves one line of text from stdin, a newline ('\n') ending the input. The line of text is copied to the destination buffer, and the carriage return is replaced with a null character. Note This function can only be used inline. StringCbGetsEx StringCbGetsEx is a replacement for gets. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbGetsEx does not write past the end of this buffer. It retrieves one line of text from stdin, a newline ('\n') ending the input. The line of text is copied to the destination buffer and the carriage return is replaced with a null character. StringCbGetsEx adds to the functionality of StringCbGets by returning a pointer to the end of the destination string as well as the number of bytes left unused in that string. Flags may also be passed to the function for additional control. Note This function can only be used inline. StringCbLength StringCbLength is a replacement for strlen. It is used to ensure that a string is not larger than a given length, in bytes. If that condition is met, StringCbLength returns the current length of the string in bytes, not including those used for the terminating null character. StringCbPrintf StringCbPrintf is a replacement for sprintf. It accepts a format string and a list of arguments, combines them, and returns a formatted string. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbPrintf does not write past the end of this buffer. StringCbPrintfEx StringCbPrintfEx is a replacement for sprintf. It accepts a format string and a list of arguments and returns a formatted string. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbPrintfEx does not write past the end of this buffer. StringCbPrintfEx adds to the functionality of StringCbPrintf by returning a pointer to the end of the destination string as well as the number of bytes left unused in that string. Flags may also be passed to the function for additional control. StringCbVPrintf StringCbVPrintf is a replacement for vsprintf. It accepts a format string and its arguments, provided as a va_list, and returns a formatted string. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbVPrintf does not write past the end of this buffer. StringCbVPrintfEx StringCbVPrintfEx is a replacement for vsprintf. It accepts a format string and its arguments, provided as a va_list, and returns a formatted string. The size, in bytes, of the destination buffer is provided to the function to ensure that StringCbVPrintfEx does not write past the end of this buffer. StringCbVPrintfEx adds to the functionality of StringCbVPrintf by returning a pointer to the end of the destination string as well as the number of bytes left unused in that string. Flags may also be passed to the function for additional control. StringCchCat StringCchCat is a replacement for strcat. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCat does not write past the end of this buffer. StringCchCatEx StringCchCatEx is a replacement for strcat. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCatEx does not write past the end of this buffer. StringCchCatEx adds to the functionality of StringCchCat by returning a pointer to the end of the destination string as well as the number of characters left unused in that string. Flags may also be passed to the function for additional control. StringCchCatN StringCchCatN is a replacement for strncat. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCatN does not write past the end of this buffer. StringCchCatNEx StringCchCatNEx is a replacement for strncat. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCatNEx does not write past the end of this buffer. StringCchCatNEx adds to the functionality of StringCchCatN by returning a pointer to the end of the destination string as well as the number of characters left unused in that string. Flags may also be passed to the function for additional control. StringCchCopy StringCchCopy is a replacement for strcpy. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCopy does not write past the end of this buffer. StringCchCopyEx StringCchCopyEx is a replacement for strcpy. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCopyEx does not write past the end of this buffer. StringCchCopyEx adds to the functionality of StringCchCopy by returning a pointer to the end of the destination string as well as the number of characters left unused in that string. Flags may also be passed to the function for additional control. StringCchCopyN StringCchCopyN is a replacement for strncpy. StringCchCopyN copies a given number of characters from a source string. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCopyN does not write past the end of this buffer. StringCchCopyNEx StringCchCopyNEx is a replacement for strncpy. StringCchCopyNEx copies a given number of characters from a source string. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchCopyNEx does not write past the end of this buffer. StringCchCopyNEx adds to the functionality of StringCchCopyN by returning a pointer to the end of the destination string as well as the number of characters left unused in that string. Flags may also be passed to the function for additional control. StringCchGets StringCchGets is a replacement for gets. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchGets does not write past the end of this buffer. It retrieves one line of text from stdin, a newline ('\n') ending the input. The line of text is copied to the destination buffer, and the carriage return is replaced with a null character. Note This function can only be used inline. StringCchGetsEx StringCchGetsEx is a replacement for gets. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchGetsEx does not write past the end of this buffer. It retrieves one line of text from stdin, a newline ('\n') ending the input. The line of text is copied to the destination buffer, and the carriage return is replaced with a null character. StringCchGetsEx adds to the functionality of StringCchGets by returning a pointer to the end of the destination string as well as the number of characters left unused in that string. Flags may also be passed to the function for additional control. Note This function can only be used inline. StringCchLength StringCchLength is a replacement for strlen. It is used to ensure that a string is not larger than a given length, in characters. If that condition is met, StringCchLength returns the current length of the string in characters, not including the terminating null character. StringCchPrintf StringCchPrintf is a replacement for sprintf. It accepts a format string and a list of arguments and returns a formatted string. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchPrintf does not write past the end of this buffer. StringCchPrintfEx StringCchPrintfEx is a replacement for sprintf. It accepts a format string and a list of arguments and returns a formatted string. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchPrintfEx does not write past the end of this buffer. StringCchPrintfEx adds to the functionality of StringCchPrintf by returning a pointer to the end of the destination string as well as the number of characters left unused in that string. Flags may also be passed to the function for additional control. StringCchVPrintf StringCchVPrintf is a replacement for vsprintf. It accepts a format string and its arguments, provided as a va_list, and returns a formatted string. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchVPrintf does not write past the end of this buffer. StringCchVPrintfEx StringCchVPrintfEx is a replacement for vsprintf. It accepts a format string and its arguments, provided as a va_list, and returns a formatted string. The size, in characters, of the destination buffer is provided to the function to ensure that StringCchVPrintfEx does not write past the end of this buffer. StringCchVPrintfEx adds to the functionality of StringCchVPrintf by returning a pointer to the end of the destination string as well as the number of characters left unused in that string. Flags may also be passed to the function for additional control. StrokeAndFillPath Closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush. StrokePath Renders the specified path by using the current pen. SubmitThreadpoolWork Posts a work object to the thread pool. A worker thread calls the work object's callback function. SubtractRect Determines the coordinates of a rectangle formed by subtracting one rectangle from another. SuspendThread Suspends the specified thread. SwapMouseButton The SwapMouseButton function reverses or restores the meaning of the left and right mouse buttons. SwitchToFiber Schedules a fiber. SwitchToThisWindow The SwitchToThisWindow function is called to switch focus to a specified window and bring it to the foreground. SwitchToThread Causes the calling thread to yield execution to another thread that is ready to run on the current processor. SysMsgProc The SysMsgProc hook procedure is a library-defined callback function used with the SetWindowsHookEx function. The system calls this function after an input event occurs in a dialog box, message box, menu, or scroll bar, but before the message generated by the input event is processed. The function can monitor messages for any dialog box, message box, menu, or scroll bar in the system. The HOOKPROC type defines a pointer to this callback function. SysMsgProc is a placeholder for the application-defined or library-defined function name. SystemParametersInfo Queries or sets system-wide parameters. SystemTimeToFileTime Converts a system time to a file time. SystemTimeToTzSpecificLocalTime Converts a UTC time to a specified time zone's corresponding local time. TabbedTextOut Writes a character string at a location, expanding tabs to specified values. TerminateJobObject Terminates all processes currently associated with the job. TerminateLogArchive Deallocates system resources that are allocated originally for a log archive context by PrepareLogArchive. TerminateProcess Terminates the specified process and all of its threads. TerminateReadLog Terminates a read context. This function frees system-allocated resources that are associated with the specified read context. TerminateThread Terminates a thread. TextOut Writes a character string at a location. Thread32First Retrieves information about the first thread of any process encountered in a system snapshot. Thread32Next Retrieves information about the next thread of any process encountered in the system memory snapshot. ThreadProc An application-defined function that serves as the starting address for a thread. TileWindows The TileWindows function tiles the specified child windows of the specified parent window. TimeProvClose A callback function that is called by the time provider manager to shut down the time provider. TimeProvCommand A callback function that is called by the time provider manager to send commands to the time provider. TimeProvOpen A callback function that is called by the time provider manager when the time provider DLL is loaded. Timer-queue timer function Description TimerAPCProc Application-defined timer completion routine used with the SetWaitableTimer function. TimerProc The TimerProc function is an application-defined callback function that processes WM_TIMER messages. The TIMERPROC type defines a pointer to this callback function. TimerProc is a placeholder for the application-defined function name. TlsAlloc Allocates a thread local storage (TLS) index. TLSConnectToLsServer Opens a handle to the specified Remote Desktop license server. TLSDisconnectFromServer Closes an open handle to a Remote Desktop license server. TlsFree Releases a TLS index. TLSGetServerCertificate Returns the certificate of the Remote Desktop license server. TlsGetValue Retrieves the value in the calling thread's TLS slot for a specified TLS index. TLSKeyPackEnumBegin Begins enumeration through all key packs that are installed on a Remote Desktop license server based on search criteria. TLSKeyPackEnumEnd Continues from a previous call to the TLSKeyPackEnumBegin function and terminates the enumeration. TLSKeyPackEnumNext Continues from a previous call to the TLSKeyPackEnumBegin function and returns the next key pack that is installed on a Remote Desktop license server that matches the search criteria. TLSLicenseEnumBegin Begins enumeration of licenses that are issued by the Remote Desktop license server based on search criteria. TLSLicenseEnumEnd Continues from a previous call to the TLSLicenseEnumBegin function and terminates the enumeration. TLSLicenseEnumNext Continues from a previous call to the TLSLicenseEnumBegin function and returns the next license that is installed on a Remote Desktop license server that matches the search criteria. TlsSetValue Stores a value in the calling thread's TLS slot for a specified TLS index. ToAscii The ToAscii function translates the specified virtual-key code and keyboard state to the corresponding character or characters. The function translates the code using the input language and physical keyboard layout identified by the keyboard layout handle. To specify a handle to the keyboard layout to use to translate the specified code, use the ToAsciiEx function. ToAsciiEx The ToAsciiEx function translates the specified virtual-key code and keyboard state to the corresponding character or characters. The function translates the code using the input language and physical keyboard layout identified by the input locale identifier. Toolhelp32ReadProcessMemory Copies memory allocated to another process into an application-supplied buffer. ToUnicode The ToUnicode function translates the specified virtual-key code and keyboard state to the corresponding Unicode character or characters. To specify a handle to the keyboard layout to use to translate the specified code, use the ToUnicodeEx function. ToUnicodeEx The ToUnicodeEx function translates the specified virtual-key code and keyboard state to the corresponding Unicode character or characters. TrackMouseEvent The TrackMouseEvent function posts messages when the mouse pointer leaves a window or hovers over a window for a specified amount of time. TrackPopupMenu The TrackPopupMenu function displays a shortcut menu at the specified location and tracks the selection of items on the menu. The shortcut menu can appear anywhere on the screen. TrackPopupMenuEx The TrackPopupMenuEx function displays a shortcut menu at the specified location and tracks the selection of items on the shortcut menu. The shortcut menu can appear anywhere on the screen. TransactNamedPipe Combines the functions that write a message to and read a message from the specified named pipe into a single network operation. TranslateAccelerator The TranslateAccelerator function processes accelerator keys for menu commands. The function translates a WM_KEYDOWN or WM_SYSKEYDOWN message to a WM_COMMAND or WM_SYSCOMMAND message (if there is an entry for the key in the specified accelerator table) and then sends the WM_COMMAND or WM_SYSCOMMAND message directly to the specified window procedure. TranslateAccelerator does not return until the window procedure has processed the message. TranslateCharsetInfo Translates character set information and sets all members of a destination structure to appropriate values. TranslateMDISysAccel The TranslateMDISysAccel function processes accelerator keystrokes for window menu commands of the MDI child windows associated with the specified MDI client window. The function translates WM_KEYUP and WM_KEYDOWN messages to WM_SYSCOMMAND messages and sends them to the appropriate MDI child windows. TranslateMessage The TranslateMessage function translates virtual-key messages into character messages. The character messages are posted to the calling thread's message queue, to be read the next time the thread calls the GetMessage or PeekMessage function. TranslateName Converts a directory service object name from one format to another. TransmitCommChar Transmits a specified character ahead of any pending data in the output buffer of the specified communications device. TransparentBlt Performs a bit-block transfer of color data. TruncateLog Truncates the log. TryAcquireSRWLockExclusive Attempts to acquire a slim reader/writer (SRW) lock in exclusive mode. If the call is successful, the calling thread takes ownership of the lock. TryAcquireSRWLockShared Attempts to acquire a slim reader/writer (SRW) lock in shared mode. If the call is successful, the calling thread takes ownership of the lock. TryEnterCriticalSection Attempts to enter a critical section without blocking. TrySubmitThreadpoolCallback Requests that a thread pool worker thread call the specified callback function. TxfLogCreateFileReadContext missing TxfLogDestroyReadContext missing TxfLogReadRecords missing TzSpecificLocalTimeToSystemTime Converts a local time to a UTC time. UmsSchedulerProc The application-defined UMS scheduler entry point function associated with a UMS completion list. UmsThreadYield Yields control to the UMS scheduler thread on which the calling UMS worker thread is running. UnhandledExceptionFilter Passes unhandled exceptions to the debugger, if the process is being debugged. UnhookWindowsHookEx The UnhookWindowsHookEx function removes a hook procedure installed in a hook chain by the SetWindowsHookEx function. UnicodeToBytes Do not use. UnionRect Creates the union of two rectangles. UnloadKeyboardLayout The UnloadKeyboardLayout function unloads an input locale identifier (formerly called a keyboard layout). UnloadUserProfile Unloads a user's profile that was loaded by the LoadUserProfile function. UnlockFile Unlocks a region in an open file. UnlockFileEx Unlocks a region in an open file. This function can operate synchronously or asynchronously. UnmapViewOfFile Unmaps a mapped view of a file from the calling process's address space. UnpackDDElParam The UnpackDDElParam function unpacks a DDElParam value received from a posted DDE message. UnrealizeObject Resets the origin of a brush or resets a logical palette. UnregisterApplicationRecoveryCallback Removes the active instance of an application from the recovery list. UnregisterApplicationRestart Removes the active instance of an application from the restart list. UnregisterClass The UnregisterClass function unregisters a window class, freeing the memory required for the class. UnregisterDeviceNotification Closes the specified device notification handle. UnRegisterForPrintAsyncNotifications Enables an application that has registered to receive notifications from spooler-hosted printing components to end its subscription to the notifications. UnregisterHotKey The UnregisterHotKey function frees a hot key previously registered by the calling thread. UnregisterPowerSettingNotification Unregisters the power setting notification. UnregisterWait Cancels a registered wait operation. UnregisterWaitEx Cancels a registered wait operation. Waits until one or all of the specified objects are in the signaled state or the time-out interval elapses. UpdateCalendarDayOfWeek Gets the day of week that corresponds with a specified day and populates the DayOfWeek field in the given CALDATETIME structure. UpdateColors Updates the client area of the specified device context by remapping the current colors in the client area to the currently realized logical palette. UpdateLayeredWindow The UpdateLayeredWindow function updates the position, size, shape, content, and translucency of a layered window. UpdateLayeredWindowIndirect Updates the position, size, shape, content, and translucency of a layered window. UpdateProcThreadAttribute Updates the specified attribute in the specified list of attributes for process and thread creation. UpdateWindow Updates the client area of a window. UploadPrinterDriverPackage Uploads a printer driver to the driver store of a print server so that it can be installed with InstallPrinterDriverFromPackage. UserHandleGrantAccess Grants or denies access to a handle to a User object to a job that has a user-interface restriction. ValidateLog Validates the consistency of the log metadata and data before log archive and after log restore. ValidateRect Validates the client area within a rectangle. ValidateRgn Validates the client area within a region. VectoredHandler An application-defined function that serves as a vectored exception handler. VerFindFile The VerFindFile function determines where to install a file based on whether it locates another version of the file in the system. The values VerFindFile returns in the specified buffers are used in a subsequent call to the VerInstallFile function. VerifyScripts Compares two enumerated lists of scripts. VerifyVersionInfo Compares a set of version requirements to the values for the current operating system. VerInstallFile The VerInstallFile function attempts to install the specified file based on information returned from the VerFindFile function. VerInstallFile decompresses the file, if necessary, assigns a unique filename, and checks for errors, such as outdated files. VerLanguageName The VerLanguageName function retrieves a description string for the language associated with a specified binary Microsoft language identifier. VerQueryValue The VerQueryValue function retrieves specified version information from the specified version-information resource. To retrieve the appropriate resource, before you call VerQueryValue, you must first call the GetFileVersionInfoSize function, and then the GetFileVersionInfo function. VerSetConditionMask Builds the condition mask for the VerifyVersionInfo function. VirtualAlloc Reserves or commits a region of pages in the virtual address space of the calling process. VirtualAllocEx Reserves or commits a region of pages in the virtual address space of the specified process. VirtualAllocExNuma Reserves or commits a region of memory within the virtual address space of the specified process, and specifies the NUMA node for the physical memory. VirtualChannelClose Closes the client end of a virtual channel. VirtualChannelEntry An application-defined entry point for the client-side DLL of an application that uses Remote Desktop Services virtual channels. VirtualChannelInit Initializes a client DLL's access to Remote Desktop Services virtual channels. VirtualChannelInitEvent An application-defined callback function that Remote Desktop Services calls to notify the client DLL of virtual channel events. VirtualChannelOpen Opens the client end of a virtual channel. VirtualChannelOpenEvent An application-defined callback function that Remote Desktop Services calls to notify the client DLL of events for a specific virtual channel. VirtualChannelWrite Sends data from the client end of a virtual channel to a partner application on the server end. VirtualFree Releases or decommits a region of pages within the virtual address space of the calling process. VirtualFreeEx Releases or decommits a region of memory within the virtual address space of a specified process. VirtualLock Locks the specified region of the process's virtual address space into physical memory. VirtualProtect Changes the access protection on a region of committed pages in the virtual address space of the calling process. VirtualProtectEx Changes the access protection on a region of committed pages in the virtual address space of the calling process. VirtualQuery Provides information about a range of pages in the virtual address space of the calling process. VirtualQueryEx Provides information about a range of pages in the virtual address space of the calling process. VirtualUnlock Unlocks a specified range of pages in the virtual address space of a process. VkKeyScan The VkKeyScan function translates a character to the corresponding virtual-key code and shift state for the current keyboard. This function has been superseded by the VkKeyScanEx function. You can still use VkKeyScan, however, if you do not need to specify a keyboard layout. VkKeyScanEx The VkKeyScanEx function translates a character to the corresponding virtual-key code and shift state. The function translates the character using the input language and physical keyboard layout identified by the input locale identifier. Wait function Description Waitable-timer function Description WaitChainCallback callback missing WaitCommEvent Waits for an event to occur for a specified communications device. WaitForDebugEvent Waits for a debugging event to occur in a process being debugged. WaitForInputIdle Waits until the specified process is waiting for user input with no input pending, or until the time-out interval has elapsed. WaitForMultipleObjects Waits until one or all of the specified objects are in the signaled state or the time-out interval elapses. WaitForMultipleObjectsEx Waits until one or all of the specified objects are in the signaled state, an I/O completion routine or asynchronous procedure call (APC) is queued to the thread, or the time-out interval elapses. WaitForSingleObject Waits until the specified object is in the signaled state or the time-out interval elapses. WaitForSingleObjectEx Waits until the specified object is in the signaled state, an I/O completion routine or asynchronous procedure call (APC) is queued to the thread, or the time-out interval elapses. WaitForThreadpoolIoCallbacks Waits for outstanding I/O completion callbacks to complete and optionally cancels pending callbacks that have not yet started to execute. WaitForThreadpoolTimerCallbacks Waits for outstanding timer callbacks to complete and optionally cancels pending callbacks that have not yet started to execute. WaitForThreadpoolWaitCallbacks Waits for outstanding wait callbacks to complete and optionally cancels pending callbacks that have not yet started to execute. WaitForThreadpoolWorkCallbacks Waits for outstanding work callbacks to complete and optionally cancels pending callbacks that have not yet started to execute. WaitMessage The WaitMessage function yields control to other threads when a thread has no other messages in its message queue. The WaitMessage function suspends the thread and does not return until a new message is placed in the thread's message queue. WaitNamedPipe Waits until either a time-out interval elapses or an instance of the specified named pipe is available for a connection. WaitOrTimerCallback An application-defined function that serves as the starting address for a timer callback or a registered wait callback. WakeAllConditionVariable Wake all threads waiting on the specified condition variable. WakeConditionVariable Wake a single thread waiting on the specified condition variable. WerAddExcludedApplication Adds the specified application to the list of applications that are to be excluded from error reporting. WerGetFlags Retrieves the fault reporting settings for the specified process. WerRegisterFile Registers a file to be collected when WER creates an error report. WerRegisterMemoryBlock Registers a memory block to be collected when WER creates an error report. WerRegisterRuntimeExceptionModule Registers your WER exception handler that you use to provide custom error reporting for crash events. WerRemoveExcludedApplication Removes the specified application from the list of applications that are to be excluded from error reporting. WerReportAddDump Adds a dump of the specified type to the specified report. WerReportAddFile Adds a file to the specified report. WerReportCloseHandle Closes the specified report. WerReportCreate Creates a report. WerReportHang Initiates hang reporting on the specified window. WerReportSetParameter Sets the parameters that uniquely identify an event for the specified report. WerReportSetUIOption Sets the user interface options for the specified report. WerReportSubmit Submits the specified report. WerSetFlags Sets the fault reporting settings for the current process. WerUnregisterFile Removes a file from the list of files to be added to reports generated for the current processs. WerUnregisterMemoryBlock Removes a memory block from the list of data to be collected during error reporting for the application. WerUnregisterRuntimeExceptionModule Removes the registration of your WER exception handler. WideCharToMultiByte Maps a UTF-16 (wide character) string to a new character string. WidenPath Redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the given device context. WindowFromDC Returns a handle to the window associated with a device context. WindowFromPhysicalPoint Retrieves a handle to the window that contains the specified physical point. WindowFromPoint The WindowFromPoint function retrieves a handle to the window that contains the specified point. WindowProc The WindowProc function is an application-defined function that processes messages sent to a window. The WNDPROC type defines a pointer to this callback function. WindowProc is a placeholder for the application-defined function name. WinMain The WinMain function is the conventional name for the user-provided entry point for a Windows-based application. WinStationQueryInformationW Determines whether the calling application is running on a Remote Desktop Connection (RDC) client. WNetAddConnection2 networking WNetAddConnection3 networking WNetCancelConnection networking WNetCancelConnection2 networking WNetCloseEnum networking WNetConnectionDialog networking WNetConnectionDialog1 networking WNetDisconnectDialog networking WNetDisconnectDialog1 networking WNetEnumResource networking WNetGetConnection networking WNetGetLastError networking WNetGetNetworkInformation networking WNetGetProviderName networking WNetGetResourceInformation networking WNetGetResourceParent networking WNetGetUniversalName networking WNetGetUser networking WNetOpenEnum networking WNetRestoreConnectionW networking WNetUseConnection networking Wow64DisableWow64FsRedirection Disables file system redirection for the calling thread. Wow64EnableWow64FsRedirection Enables or disables file system redirection for the calling thread. Wow64GetThreadContext Retrieves the context of the specified WOW64 thread. Wow64GetThreadSelectorEntry Retrieves a descriptor table entry for the specified selector and WOW64 thread. Wow64RevertWow64FsRedirection Restores file system redirection for the calling thread. Wow64SetThreadContext Sets the context of the specified WOW64 thread. Wow64SuspendThread Suspends the specified WOW64 thread. WriteConsole Writes a character string to a console screen buffer beginning at the current cursor location. WriteConsoleInput Writes data directly to the console input buffer. WriteConsoleOutput Writes character and color attribute data to a specified rectangular block of character cells in a console screen buffer. WriteConsoleOutputAttribute Copies a number of foreground and background color attributes to consecutive cells of a console screen buffer. WriteConsoleOutputCharacter Copies a number of characters to consecutive cells of a console screen buffer. WriteEncryptedFileRaw Restores (imports) encrypted files. Write an encrypted file leaving its data in encrypted format. WriteFile Writes data to a file at a position that a file pointer specifies. This function can operate synchronously and asynchronously. WriteFileEx Writes data to a file. This function reports the completion status asynchronously by calling a specified completion routine when writing is completed or canceled and when the calling thread is in an alertable wait state. WriteFileGather Retrieves data from an array of buffers, and then writes the data to a file. WriteGlobalPwrPolicy Writes global power policy settings. Power write functions WriteLogRestartArea Appends a new client restart area to a log and optionally advances the base log sequence number (LSN) of the log. WritePrinter Notifies the print spooler that data should be written to the specified printer. WriteProcessMemory Writes data to an area of memory in a specified process. WriteProcessorPwrScheme Writes processor power policy settings for the specified power scheme. Controlled through the GUID_PROCESSOR_SETTINGS_SUBGROUP power settings subgroup. Use the PowerEnumerate function to enumerate individual settings. WritePwrScheme Writes policy settings that are unique to the power scheme. Power write functions. WriteTapemark Writes a specified number of filemarks, setmarks, short filemarks, or long filemarks to a tape device. wsprintf The wsprintf function formats and stores a series of characters and values in a buffer. Any arguments are converted and copied to the output buffer according to the corresponding format specification in the format string. The function appends a terminating null character to the characters it writes, but the return value does not include the terminating null character in its character count. WTSCloseServer Closes an open handle to a Remote Desktop Session Host (RD Session Host) server. WTSConnectSession Connects a Remote Desktop Services session to an existing session on the local computer. WTSCreateListener missing WTSDisconnectSession Disconnects the logged-on user from the specified Remote Desktop Services session without closing the session. WTSEnumerateListeners missing WTSEnumerateProcesses Retrieves information about the active processes on the specified terminal server. WTSEnumerateProcessesEx missing WTSEnumerateServers missing WTSEnumerateSessions Retrieves a list of sessions on a specified RD Session Host server. WTSEnumerateSessionsEx missing WTSFreeMemory Frees memory allocated by a Remote Desktop Services function. WTSFreeMemoryEx missing WTSGetActiveConsoleSessionId Retrieves the Remote Desktop Services session currently attached to the physical console. WTSGetListenerSecurity missing WTSLogoffSession Logs off a specified Remote Desktop Services session. WTSOpenServer Opens a handle to the specified RD Session Host server. WTSOpenServerEx missing WTSQueryListenerConfig missing WTSQuerySessionInformation Retrieves session information for the specified session on the specified RD Session Host server. WTSQueryUserConfig Retrieves configuration information for the specified user on the specified domain controller or RD Session Host server. WTSQueryUserToken Retrieves the primary access token of the logged-on user specified by the session ID. WTSRegisterSessionNotification Registers the specified window to receive session change notifications. WTSRegisterSessionNotificationEx Registers the specified window to receive session change notifications on local or remote servers. WTSSendMessage Displays a message box on the client desktop of a specified Remote Desktop Services session. WTSSetListenerSecurity missing WTSSetUserConfig Modifies configuration information for the specified user on the specified domain controller or RD Session Host server. WTSShutdownSystem Shuts down (and optionally restarts) the specified RD Session Host server. WTSStartRemoteControlSession Starts the remote control of another Remote Desktop Services session. WTSStopRemoteControlSession Stops a remote control session. WTSTerminateProcess Terminates the specified process on the specified RD Session Host server. WTSUnRegisterSessionNotification Unregisters the specified window from receiving session change notifications. WTSUnRegisterSessionNotificationEx Unregisters the specified window from receiving session change notifications from the specified server. WTSVirtualChannelClose Closes an open virtual channel handle. WTSVirtualChannelOpen Opens a handle to the server end of a specified virtual channel. WTSVirtualChannelOpenEx missing WTSVirtualChannelPurgeInput Deletes all queued input data sent from the client to the server on a specified virtual channel. Note This function currently is not used by Remote Desktop Services. WTSVirtualChannelPurgeOutput Deletes all queued output data sent from the server to the client on a specified virtual channel. Note This function currently is not used by Remote Desktop Services. WTSVirtualChannelQuery Returns information about a specified virtual channel. WTSVirtualChannelRead Reads data from the server end of a virtual channel. WTSVirtualChannelWrite Writes data to the server end of a virtual channel. WTSWaitSystemEvent Waits for a Remote Desktop Services event before returning to the caller. wvsprintf The wvsprintf function formats and stores a series of characters and values in a buffer. The items pointed to by the argument list are converted and copied to an output buffer according to the corresponding format specification in the format-control string. The function appends a terminating null character to the characters it writes, but the return value does not include the terminating null character in its character count. ZeroMemory Fills a block of memory with zeros.