win32 library Null safety
Support for programming against the Win32 API on Windows operating systems.
This library provides a wrapper around many useful functions from the API, along with the necessary constants and structs that are supplied. With thousands of APIs and interfaces in the Win32 API, many of which cover areas that would be unlikely to be useful to a Dart or Flutter developer, this library is not intended to be exhaustive. Instead, we focus on the core Win32 APIs that are typically used for Windows development, along with Win32, COM and Windows Runtime APIs that are likely to be wrapped by a Flutter plugin author.
Win32 is at its heart a C-based API, and accordingly adopts the style and idioms of that language, including heavy usage of pointers, structs allocated on the heap, and null-terminated strings. As a result, you may choose to wrap the exposed APIs in your application to make their invocation more idiomatic for a Dart consumer.
Strings (Win32 and COM)
Win32 strings are typically stored as null-terminated arrays of UTF-16 code
units. (Some older Windows APIs also offer an ANSI, or 8-bit representation,
but we use the wide versions, which are suffixed with a capital 'W' (e.g.
FormatMessageW
).
You can use the toNativeUtf16
function to convert a Dart string into a
Pointer<Utf16>
, which can be passed to any Windows API expecting a string,
for example:
final verb = 'open'.toNativeUtf16();
final process = 'notepad.exe'.toNativeUtf16();
ShellExecute(0, verb, process, nullptr, nullptr, SW_SHOW);
Note that it is your responsibility to release the memory used when you are finished with it.
To receive a string, allocate memory with a command like the following:
final buffer = calloc<Uint16>(count: length).cast<Utf16>();
GetWindowText(hWnd, buffer, length);
This allocates an array of length
UTF-16 code units. The cast is necessary
because Utf16 has no length of itself. The returned value can be converted
back to a Dart string using an extension method on Pointer
print(buffer.toDartString());
A small number of APIs offer no wide version (e.g. GetProcAddress
), and so
the convertToANSIString
method may be of use to convert a Dart string to a
Pointer<Uint8>
, which represents this format:
final ansi = convertToANSIString('Beep');
final pGetNativeSystemInfo = GetProcAddress(hModule, ansi);
...
free(ansi);
Strings (Windows Runtime)
Windows Runtime APIs use HSTRING
as their native type, which is created
with the WindowsCreateString API and deleted with the
WindowsDeleteString API. A Dart function may be used to convert to and
from HSTRING
s, for example:
final systemPtr = calloc<IntPtr>();
calendar.GetCalendarSystem(systemPtr);
print('The calendar system is ${convertFromHString(systemPtr)}.');
WindowsDeleteString(systemPtr.value);
free(systemPtr);
Make sure you dispose of HSTRING
s by calling WindowsDeleteString
and
passing the string address itself, not the pointer, as shown above.
Classes
- ACCEL Struct
- Defines an accelerator key used in an accelerator table.
- ACL Struct
- The ACL structure is the header of an access control list (ACL). A complete ACL consists of an ACL structure followed by an ordered list of zero or more access control entries (ACEs).
- ACTCTX Struct
- The ACTCTX structure is used by the CreateActCtx function to create the activation context.
- ACTIVATEOPTIONS
- Flags used to support design mode, debugging, and testing scenarios.
- ApplicationActivationManager com
- AsyncStatus Enum
- Windows.Foundation.AsyncStatus
- BIND_OPTS Struct
- Contains parameters used during a moniker-binding operation.
- BITMAP Struct
- The BITMAP structure defines the type, width, height, color format, and bit values of a bitmap.
- BITMAPFILEHEADER Struct
- The BITMAPFILEHEADER structure contains information about the type, size, and layout of a file that contains a DIB.
- BITMAPINFO Struct
- The BITMAPINFO structure defines the dimensions and color information for a device-independent bitmap (DIB).
- BITMAPINFOHEADER Struct
- The BITMAPINFOHEADER structure contains information about the dimensions and color format of a device-independent bitmap (DIB).
- BLUETOOTH_ADDRESS Struct
- The BLUETOOTH_ADDRESS structure provides the address of a Bluetooth device.
- BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS Struct
- The BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS structure contains specific configuration information about the Bluetooth device responding to an authentication request. [...]
- BLUETOOTH_AUTHENTICATION_METHOD Enum
- Bluetooth constants & enumerations The BLUETOOTH_AUTHENTICATION_METHOD enumeration defines the supported authentication types during device pairing.
- BLUETOOTH_AUTHENTICATION_REQUIREMENTS Enum
- The BLUETOOTH_AUTHENTICATION_REQUIREMENTS enumeration specifies the 'Man in the Middle' protection required for authentication.
- BLUETOOTH_DEVICE_INFO Struct
- The BLUETOOTH_DEVICE_INFO structure provides information about a Bluetooth device.
- BLUETOOTH_DEVICE_SEARCH_PARAMS Struct
- The BLUETOOTH_DEVICE_SEARCH_PARAMS structure specifies search criteria for Bluetooth device searches.
- BLUETOOTH_FIND_RADIO_PARAMS Struct
- The BLUETOOTH_FIND_RADIO_PARAMS structure facilitates enumerating installed Bluetooth radios.
- BLUETOOTH_IO_CAPABILITY Enum
- The BLUETOOTH_IO_CAPABILITY enumeration defines the input/output capabilities of a Bluetooth Device.
- BLUETOOTH_OOB_DATA_INFO Struct
- The BLUETOOTH_OOB_DATA_INFO structure contains data used to authenticate prior to establishing an Out-of-Band device pairing.
- BLUETOOTH_PIN_INFO Struct
- The BLUETOOTH_PIN_INFO structure contains information used for authentication via PIN.
- BLUETOOTH_RADIO_INFO Struct
- The BLUETOOTH_RADIO_INFO structure contains information about a Bluetooth radio.
- CHAR_INFO Struct
- Specifies a Unicode or ANSI character and its attributes. This structure is used by console functions to read from and write to a console screen buffer.
- CHOOSECOLOR Struct
- Contains information the ChooseColor function uses to initialize the Color dialog box. After the user closes the dialog box, the system returns information about the user's selection in this structure.
- CHOOSEFONT Struct
- Contains information that the ChooseFont function uses to initialize the Font dialog box. After the user closes the dialog box, the system returns information about the user's selection in this structure.
- COMDLG_FILTERSPEC Struct
- Used generically to filter elements.
- COMObject com
- A representation of a generic COM object. All Dart COM objects inherit from this class.
- CONSOLE_CURSOR_INFO Struct
- Contains information about the console cursor.
- CONSOLE_SCREEN_BUFFER_INFO Struct
- Contains information about a console screen buffer.
- CONSOLE_SELECTION_INFO Struct
- Contains information for a console selection.
- COORD Struct
- Defines the coordinates of a character cell in a console screen buffer. The origin of the coordinate system (0,0) is at the top, left cell of the buffer.
- COR_FIELD_OFFSET Struct
- Stores the offset, within a class, of the specified field.
- CorOpenFlags Enum
- CORRECTIVE_ACTION Enum
- Identifies the type of corrective action to be taken for a spelling error.
- CREATESTRUCT Struct
- Defines the initialization parameters passed to the window procedure of an application. These members are identical to the parameters of the CreateWindowEx function.
- CREDENTIAL Struct
- The CREDENTIAL structure contains an individual credential.
- CREDENTIAL_ATTRIBUTE Struct
- The CREDENTIAL_ATTRIBUTE structure contains an application-defined attribute of the credential. An attribute is a keyword-value pair. It is up to the application to define the meaning of the attribute.
- DayOfWeek Enum
- Windows.Globalization.DayOfWeek
- DESKTOP_SLIDESHOW_DIRECTION Enum
- The direction that the slideshow should advance.
- DESKTOP_SLIDESHOW_OPTIONS Enum
- Desktop wallpaper slideshow settings for shuffling images.
- DESKTOP_SLIDESHOW_STATE Enum
- Gets the current status of the slideshow.
- DESKTOP_WALLPAPER_POSITION Enum
- Specifies how the desktop wallpaper should be displayed.
- DesktopWallpaper com
- DISPPARAMS Struct
- Contains the arguments passed to a method or property.
- DLGITEMTEMPLATE Struct
- Defines the dimensions and style of a control in a dialog box. One or more of these structures are combined with a DLGTEMPLATE structure to form a standard template for a dialog box.
- DLGTEMPLATE Struct
- Defines the dimensions and style of a dialog box. This structure, always the first in a standard template for a dialog box, also specifies the number of controls in the dialog box and therefore specifies the number of subsequent DLGITEMTEMPLATE structures in the template.
- DLLVERSIONINFO Struct
- Receives DLL-specific version information. It is used with the DllGetVersion function.
- DRAWTEXTPARAMS Struct
- The DRAWTEXTPARAMS structure contains extended formatting options for the DrawTextEx function.
- ENUMLOGFONTEX Struct
- The ENUMLOGFONTEX structure contains information about an enumerated font.
- EXCEPINFO Struct
- Describes an exception that occurred during IDispatch::Invoke.
- FileOpenDialog com
- FILEOPENDIALOGOPTIONS Enum
- Common dialog constants & enumerations Defines the set of options available to an Open or Save dialog.
- FileSaveDialog com
- FILETIME Struct
- Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).
- FINDREPLACE Struct
- Contains information that the FindText and ReplaceText functions use to initialize the Find and Replace dialog boxes. The FINDMSGSTRING registered message uses this structure to pass the user's search or replacement input to the owner window of a Find or Replace dialog box.
- GUID Struct
- Represents a globally unique identifier (GUID).
- HARDWAREINPUT Struct
- Contains information about a simulated message generated by an input device other than a keyboard or mouse.
- IApplicationActivationManager com Interface
- IAsyncInfo winrt Interface
- IBindCtx com Interface
- ICalendar winrt Interface
- IClassFactory com Interface
- IConnectionPoint com Interface
- IConnectionPointContainer com Interface
- IDesktopWallpaper com Interface
- IDispatch com Interface
- IEnumIDList com Interface
- IEnumMoniker com Interface
- IEnumNetworkConnections com Interface
- IEnumNetworks com Interface
- IEnumSpellingError com Interface
- IEnumString com Interface
- IEnumVARIANT com Interface
- IEnumWbemClassObject com Interface
- IErrorInfo com Interface
- IFileDialog com Interface
- IFileDialog2 com Interface
- IFileDialogCustomize com Interface
- IFileIsInUse com Interface
- IFileOpenDialog com Interface
- IFileOpenPicker winrt Interface
- IFileSaveDialog com Interface
- IInspectable com Interface
- IKnownFolder com Interface
- IKnownFolderManager com Interface
- IModalWindow com Interface
- IMoniker com Interface
- INetwork com Interface
- INetworkConnection com Interface
- INetworkListManager com Interface
- INetworkListManagerEvents com Interface
- INITCOMMONCONTROLSEX Struct
- Carries information used to load common control classes from the dynamic-link library (DLL). This structure is used with the InitCommonControlsEx function.
- INPUT Struct
- Used by SendInput to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks.
- IPersist com Interface
- IPersistStream com Interface
- IPropertyValue winrt Interface
- IProvideClassInfo com Interface
- IRunningObjectTable com Interface
- ISequentialStream com Interface
- IShellFolder com Interface
- IShellItem com Interface
- IShellItem2 com Interface
- IShellItemArray com Interface
- IShellItemFilter com Interface
- ISpellChecker com Interface
- ISpellCheckerChangedEventHandler com Interface
- ISpellCheckerFactory com Interface
- ISpellingError com Interface
- IStream com Interface
- ISupportErrorInfo com Interface
- ITEMIDLIST Struct
- Contains a list of item identifiers.
- IUnknown com Interface
- IWbemClassObject com Interface
- IWbemContext com Interface
- IWbemLocator com Interface
- IWbemServices com Interface
- KEYBDINPUT Struct
- Contains information about a simulated keyboard event.
- KNOWNFOLDER_DEFINITION Struct
- Defines the specifics of a known folder.
- KnownFolderManager com
- LASTINPUTINFO Struct
- Contains the time of the last input.
- LOGBRUSH Struct
- The LOGBRUSH structure defines the style, color, and pattern of a physical brush. It is used by the CreateBrushIndirect and ExtCreatePen functions.
- LOGFONT Struct
- The LOGFONT structure defines the attributes of a font.
- MC_COLOR_TEMPERATURE Enum
- Describes a monitor's color temperature.
- MC_DISPLAY_TECHNOLOGY_TYPE Enum
- Identifies monitor display technologies. [...]
- MC_DRIVE_TYPE Enum
- Specifies whether to set or get a monitor's red, green, or blue drive. [...]
- MC_GAIN_TYPE Enum
- Specifies whether to get or set a monitor's red, green, or blue gain.
- MC_POSITION_TYPE Enum
- Specifies whether to get or set the vertical or horizontal position of a monitor's display area.
- MC_SIZE_TYPE Enum
- Specifies whether to get or set the width or height of a monitor's display area.
- MCI_OPEN_PARMS Struct
- The MCI_OPEN_PARMS structure contains information for the MCI_OPEN command.
- MCI_PLAY_PARMS Struct
- The MCI_PLAY_PARMS structure contains positioning information for the MCI_PLAY command.
- MCI_SEEK_PARMS Struct
- The MCI_SEEK_PARMS structure contains positioning information for the MCI_SEEK command.
- MCI_STATUS_PARMS Struct
- The MCI_STATUS_PARMS structure contains information for the MCI_STATUS command.
- MENUINFO Struct
- Contains information about a menu.
- MENUITEMINFO Struct
- Contains information about a menu item.
- MINMAXINFO Struct
- Contains information about a window's maximized size and position and its minimum and maximum tracking size.
- MMTIME Struct
- The MMTIME structure contains timing information for different types of multimedia data.
- MODLOAD_DATA Struct
- Contains module data.
- MONITORINFO Struct
- The MONITORINFO structure contains information about a display monitor.
- MOUSEINPUT Struct
- Contains information about a simulated mouse event.
- MOUSEMOVEPOINT Struct
- Contains information about the mouse's location in screen coordinates.
- MSG Struct
- Contains message information from a thread's message queue.
- NetworkListManager com
- NLM_SIMULATED_PROFILE_INFO Struct
- Used to specify values that are used by SetSimulatedProfileInfo to override current internet connection profile values in an RDP Child Session to support the simulation of specific metered internet connection conditions.
- NOTIFYICONDATA Struct
- The NOTIFYICONDATA contains information that the system needs to display notifications in the notification area. Used by Shell_NotifyIcon.
- OPENFILENAME Struct
- Contains information that the GetOpenFileName and GetSaveFileName functions use to initialize an Open or Save As dialog box. After the user closes the dialog box, the system returns information about the user's selection in this structure.
- OSVERSIONINFO Struct
- Contains operating system version information. The information includes major and minor version numbers, a build number, a platform identifier, and descriptive text about the operating system. This structure is used with the GetVersionEx function.
- OVERLAPPED Struct
- Contains information used in asynchronous (or overlapped) input and output (I/O).
- PAINTSTRUCT Struct
- The PAINTSTRUCT structure contains information for an application. This information can be used to paint the client area of a window owned by that application.
- PALETTEENTRY Struct
- The PALETTEENTRY structure specifies the color and usage of an entry in a logical palette. A logical palette is defined by a LOGPALETTE structure.
- PHYSICAL_MONITOR Struct
- Contains a handle and text description corresponding to a physical monitor.
- PickerLocationId Enum
- Windows.Storage.Pickers.PickerLocationId
- PickerViewMode Enum
- Windows.Storage.Pickers.PickerViewMode
- POINT Struct
- The POINT structure defines the x- and y-coordinates of a point.
- POWERBROADCAST_SETTING Struct
- Sent with a power setting event and contains data about the specific change.
- PROCESS_INFORMATION Struct
- Contains information about a newly created process and its primary thread. It is used with the CreateProcess, CreateProcessAsUser, CreateProcessWithLogonW, or CreateProcessWithTokenW function.
- PROPERTYKEY Struct
- Specifies the FMTID/PID identifier that programmatically identifies a property.
- PROPVARIANT Struct
- The PROPVARIANT structure is used in the ReadMultiple and WriteMultiple methods of IPropertyStorage to define the type tag and the value of a property in a property set.
- RECT Struct
- The RECT structure defines a rectangle by the coordinates of its upper-left and lower-right corners.
- RGBQUAD Struct
- The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue.
- RO_INIT_TYPE Enum
- Determines the concurrency model used for incoming calls to the objects created by this thread.
- SAFEARRAY Struct
- Represents a safe array.
- SAFEARRAYBOUND Struct
- Represents the bounds of one dimension of the array.
- SCROLLINFO Struct
- The SCROLLINFO structure contains scroll bar parameters to be set by the SetScrollInfo function (or SBM_SETSCROLLINFO message), or retrieved by the GetScrollInfo function (or SBM_GETSCROLLINFO message)
- SECURITY_ATTRIBUTES Struct
- The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.\n\nThis structure provides security settings for objects created by various functions, such as CreateFile, CreatePipe, CreateProcess, RegCreateKeyEx, or RegSaveKeyEx.
- SECURITY_DESCRIPTOR Struct
- The SECURITY_DESCRIPTOR structure contains the security information associated with an object. Applications use this structure to set and query an object's security status.
- SHELLEXECUTEINFO Struct
- Contains information used by ShellExecuteEx.
- ShellItem com
- SHITEMID Struct
- Defines an item identifier.
- SHQUERYRBINFO Struct
- Contains the size and item count information retrieved by the SHQueryRecycleBin function.
- SIZE Struct
- The SIZE structure defines the width and height of a rectangle.
- SMALL_RECT Struct
- Defines the coordinates of the upper left and lower right corners of a rectangle.
- SOLE_AUTHENTICATION_SERVICE Struct
- Identifies an authentication service that a server is willing to use to communicate to a client.
- SpellCheckerFactory com
- STARTUPINFO Struct
- Specifies the window station, desktop, standard handles, and appearance of the main window for a process at creation time.
- STARTUPINFOEX Struct
- Specifies the window station, desktop, standard handles, and attributes for a new process. It is used with the CreateProcess and CreateProcessAsUser functions.
- STATSTG Struct
- The STATSTG structure contains statistical data about an open storage, stream, or byte-array object. This structure is used in the IEnumSTATSTG, ILockBytes, IStorage, and IStream interfaces.
- STRRET Struct
- Contains strings returned from the IShellFolder interface methods.
- SYMBOL_INFO Struct
- Contains symbol information.
- SYSTEM_BATTERY_STATE Struct
- Contains information about the current state of the system battery.
- SYSTEM_INFO Struct
- Contains information about the current computer system. This includes the architecture and type of the processor, the number of processors in the system, the page size, and other such information.
- SYSTEM_POWER_STATUS Struct
- Contains information about the power status of the system.
- SYSTEMTIME Struct
- Specifies a date and time, using individual members for the month, day, year, weekday, hour, minute, second, and millisecond. The time is either in coordinated universal time (UTC) or local time, depending on the function that is being called.
- TASKDIALOG_BUTTON Struct
- The TASKDIALOG_BUTTON structure contains information used to display a button in a task dialog. The TASKDIALOGCONFIG structure uses this structure.
- TASKDIALOGCONFIG Struct
- The TASKDIALOGCONFIG structure contains information used to display a task dialog. The TaskDialogIndirect function uses this structure.
- TEXTMETRIC Struct
- The TEXTMETRIC structure contains basic information about a physical font. All sizes are specified in logical units; that is, they depend on the current mapping mode of the display context.
- TPMPARAMS Struct
- Contains extended parameters for the TrackPopupMenuEx function.
- VALENT Struct
- Contains information about a registry value. The RegQueryMultipleValues function uses this structure.
- VARENUM Enum
- Specifies the variant types.
- VARIANT Struct
- The VARIANT type is used in Win32 to represent a dynamic type. It is represented as a struct containing a union of the types that could be stored. [...]
- VS_FIXEDFILEINFO Struct
- Contains version information for a file. This information is language and code page independent.
- WAVEFORMATEX Struct
- The WAVEFORMATEX structure defines the format of waveform-audio data. Only format information common to all waveform-audio data formats is included in this structure. For formats that require additional information, this structure is included as the first member in another structure, along with the additional information.
- WAVEHDR Struct
- The WAVEHDR structure defines the header used to identify a waveform-audio buffer.
- WAVEOUTCAPS Struct
- The WAVEOUTCAPS structure describes the capabilities of a waveform-audio output device.
- WbemClassObject com
- WbemContext com
- WbemLocator com
- WIN32_FIND_DATA Struct
- Contains information about the file that is found by the FindFirstFile, FindFirstFileEx, or FindNextFile function.
- WINDOWINFO Struct
- Contains window information.
- WNDCLASS Struct
- Contains the window class attributes that are registered by the RegisterClass function.
Extensions
- DialogItemTemplateHelper
- DialogTemplateHelper
- HexConversion
- PointerINPUTExtension
- SetString
- Sets the memory starting at the pointer location to the string supplied. [...]
- StringUtf8Pointer
- Uint8ListBlobConversion
- Utf16Conversion
Constants
- ACCESS_SYSTEM_SECURITY → const int
-
Specifies access to the system security portion of the security descriptor.
0x01000000
- AW_ACTIVATE → const int
-
Activates the window.
0x00020000
- AW_BLEND → const int
-
Uses a fade effect.
0x00080000
- AW_CENTER → const int
-
Makes the window appear to collapse inward if AW_HIDE is used or expand
outward if the AW_HIDE is not used. The various direction flags have no
effect.
0x00000010
- AW_HIDE → const int
-
Hides the window. By default, the window is shown.
0x00010000
- AW_HOR_NEGATIVE → const int
-
Animates the window from right to left. This flag can be used with roll or
slide animation
0x00000002
- AW_HOR_POSITIVE → const int
-
Animates the window from left to right. This flag can be used with roll or
slide animation.
0x00000001
- AW_SLIDE → const int
-
Uses slide animation. By default, roll animation is used.
0x00040000
- AW_VER_NEGATIVE → const int
-
Animates the window from bottom to top. This flag can be used with roll or
slide animation.
0x00000008
- AW_VER_POSITIVE → const int
-
Animates the window from top to bottom. This flag can be used with roll or
slide animation.
0x00000004
- BLACKONWHITE → const int
-
Performs a Boolean AND operation using the color values for the eliminated
and existing pixels. If the bitmap is a monochrome bitmap, this mode
preserves black pixels at the expense of white pixels.
1
- BS_3STATE → const int
-
Creates a button that is the same as a check box, except that the box can be
grayed as well as checked or cleared. Use the grayed state to show that the
state of the check box is not determined.
0x00000005
- BS_AUTO3STATE → const int
-
Creates a button that is the same as a three-state check box, except that
the box changes its state when the user selects it. The state cycles through
checked, indeterminate, and cleared.
0x00000006
- BS_AUTOCHECKBOX → const int
-
Creates a button that is the same as a check box, except that the check
state automatically toggles between checked and cleared each time the user
selects the check box.
0x00000003
- BS_AUTORADIOBUTTON → const int
-
Creates a button that is the same as a radio button, except that when the
user selects it, the system automatically sets the button's check state to
checked and automatically sets the check state for all other buttons in the
same group to cleared.
0x00000009
- BS_BITMAP → const int
-
Specifies that the button displays a bitmap. See the Remarks section for its
interaction with BS_ICON.
0x00000080
- BS_BOTTOM → const int
-
Places text at the bottom of the button rectangle.
0x00000800
- BS_CENTER → const int
-
Centers text horizontally in the button rectangle.
0x00000300
- BS_CHECKBOX → const int
-
Creates a small, empty check box with text. By default, the text is
displayed to the right of the check box. To display the text to the left of
the check box, combine this flag with the BS_LEFTTEXT style (or with the
equivalent BS_RIGHTBUTTON style).
0x00000002
- BS_DEFPUSHBUTTON → const int
-
Creates a push button that behaves like a BS_PUSHBUTTON style button, but
has a distinct appearance. If the button is in a dialog box, the user can
select the button by pressing the ENTER key, even when the button does not
have the input focus. This style is useful for enabling the user to quickly
select the most likely (default) option.
0x00000001
- BS_DIBPATTERN → const int
-
A pattern brush defined by a device-independent bitmap (DIB) specification.
5
- BS_DIBPATTERN8X8 → const int
-
A pattern brush defined by a device-independent bitmap (DIB) specification.
8
- BS_DIBPATTERNPT → const int
-
A pattern brush defined by a device-independent bitmap (DIB) specification.
6
- BS_FLAT → const int
-
Specifies that the button is two-dimensional; it does not use the default
shading to create a 3-D image.
0x00008000
- BS_GROUPBOX → const int
-
Creates a rectangle in which other controls can be grouped. Any text
associated with this style is displayed in the rectangle's upper left
corner.
0x00000007
- BS_HATCHED → const int
-
Hatched brush.
2
- BS_HOLLOW → const int
-
Hollow brush.
BS_NULL
- BS_ICON → const int
-
Specifies that the button displays an icon. See the Remarks section for its
interaction with BS_BITMAP.
0x00000040
- BS_LEFT → const int
-
Left-justifies the text in the button rectangle. However, if the button is a
check box or radio button that does not have the BS_RIGHTBUTTON style, the
text is left justified on the right side of the check box or radio button.
0x00000100
- BS_LEFTTEXT → const int
-
Places text on the left side of the radio button or check box when combined
with a radio button or check box style. Same as the BS_RIGHTBUTTON style.
0x00000020
- BS_MULTILINE → const int
-
Wraps the button text to multiple lines if the text string is too long to
fit on a single line in the button rectangle.
0x00002000
- BS_NOTIFY → const int
-
Enables a button to send BN_KILLFOCUS and BN_SETFOCUS notification codes to
its parent window. Note that buttons send the BN_CLICKED notification code
regardless of whether it has this style. To get BN_DBLCLK notification
codes, the button must have the BS_RADIOBUTTON or BS_OWNERDRAW style.
0x00004000
- BS_NULL → const int
-
Hollow brush.
1
- BS_OWNERDRAW → const int
-
Creates an owner-drawn button. The owner window receives a WM_DRAWITEM
message when a visual aspect of the button has changed. Do not combine the
BS_OWNERDRAW style with any other button styles.
0x0000000B
- BS_PATTERN → const int
-
Pattern brush defined by a memory bitmap.
3
- BS_PATTERN8X8 → const int
-
Pattern brush defined by a memory bitmap.
7
- BS_PUSHBOX → const int
-
Defines a push-box control, which is identical to a PUSHBUTTON, except that
it does not display a button face or frame; only the text appears.
0x0000000A
- BS_PUSHBUTTON → const int
-
Creates a push button that posts a WM_COMMAND message to the owner window
when the user selects the button.
0x00000000
- BS_PUSHLIKE → const int
-
Makes a button (such as a check box, three-state check box, or radio button)
look and act like a push button. The button looks raised when it isn't
pushed or checked, and sunken when it is pushed or checked.
0x00001000
- BS_RADIOBUTTON → const int
-
Creates a small circle with text. By default, the text is displayed to the
right of the circle. To display the text to the left of the circle, combine
this flag with the BS_LEFTTEXT style (or with the equivalent BS_RIGHTBUTTON
style). Use radio buttons for groups of related, but mutually exclusive
choices.
0x00000004
- BS_RIGHT → const int
-
Right-justifies text in the button rectangle. However, if the button is a
check box or radio button that does not have the BS_RIGHTBUTTON style, the
text is right justified on the right side of the check box or radio button.
0x00000200
- BS_RIGHTBUTTON → const int
-
Positions a radio button's circle or a check box's square on the right side
of the button rectangle. Same as the BS_LEFTTEXT style.
BS_LEFTTEXT
- BS_SOLID → const int
-
Solid brush.
0
- BS_TEXT → const int
-
Specifies that the button displays text.
0x00000000
- BS_TOP → const int
-
Places text at the top of the button rectangle.
0x00000400
- BS_TYPEMASK → const int
-
Do not use this style. A composite style bit that results from using the OR
operator on BS_* style bits. It can be used to mask out valid BS_* bits from
a given bitmask. Note that this is out of date and does not correctly
include all valid styles. Thus, you should not use this style.
0x0000000F
- BS_USERBUTTON → const int
-
Obsolete, but provided for compatibility with 16-bit versions of Windows.
Applications should use BS_OWNERDRAW instead.
0x00000008
- BS_VCENTER → const int
-
Places text in the middle (vertically) of the button rectangle.
0x00000C00
- CALLBACK_EVENT → const int
-
The dwCallback parameter is an event handle.
0x00050000
- CALLBACK_FUNCTION → const int
-
The dwCallback parameter is a callback procedure address.
0x00030000
- CALLBACK_NULL → const int
-
No callback mechanism. This is the default setting.
0x00000000
- CALLBACK_THREAD → const int
-
The dwCallback parameter is a thread identifier.
0x00020000
- CALLBACK_WINDOW → const int
-
The dwCallback parameter is a window handle.
0x00010000
- CF_BITMAP → const int
-
A handle to a bitmap (HBITMAP).
2
- CF_DIB → const int
-
A memory object containing a BITMAPINFO structure followed by the bitmap
bits.
8
- CF_DIBV5 → const int
-
A memory object containing a BITMAPV5HEADER structure followed by the bitmap
color space information and the bitmap bits.
17
- CF_DIF → const int
-
Software Arts' Data Interchange Format.
5
- CF_DSPBITMAP → const int
-
Bitmap display format associated with a private format.
0x0082
- CF_DSPENHMETAFILE → const int
-
Enhanced metafile display format associated with a private format.
0x008E
- CF_DSPMETAFILEPICT → const int
-
Metafile-picture display format associated with a private format.
0x0083
- CF_DSPTEXT → const int
-
Text display format associated with a private format.
0x0081
- CF_ENHMETAFILE → const int
-
A handle to an enhanced metafile (HENHMETAFILE).
14
- CF_GDIOBJFIRST → const int
-
Start of a range of integer values for application-defined GDI object
clipboard formats. The range ends with CF_GDIOBJLAST.
0x0300
- CF_GDIOBJLAST → const int
-
End of a range of integer values for application-defined GDI object
clipboard formats.
0x03FF
- CF_HDROP → const int
-
A handle to type HDROP that identifies a list of files. An application can
retrieve information about the files by passing the handle to the
DragQueryFile function.
15
- CF_LOCALE → const int
-
The data is a handle (HGLOBAL) to the locale identifier (LCID) associated
with text in the clipboard. When you close the clipboard, if it contains
CF_TEXT data but no CF_LOCALE data, the system automatically sets the
CF_LOCALE format to the current input language. You can use the CF_LOCALE
format to associate a different locale with the clipboard text.
16
- CF_METAFILEPICT → const int
-
Handle to a metafile picture format as defined by the METAFILEPICT
structure. When passing a CF_METAFILEPICT handle by means of DDE, the
application responsible for deleting hMem should also free the metafile
referred to by the CF_METAFILEPICT handle.
3
- CF_OEMTEXT → const int
-
Text format containing characters in the OEM character set. Each line ends
with a carriage return/linefeed (CR-LF) combination. A null character
signals the end of the data.
7
- CF_OWNERDISPLAY → const int
-
Owner-display format. The clipboard owner must display and update the
clipboard viewer window, and receive the WM_ASKCBFORMATNAME,
WM_HSCROLLCLIPBOARD, WM_PAINTCLIPBOARD, WM_SIZECLIPBOARD, and
WM_VSCROLLCLIPBOARD messages.
0x0080
- CF_PALETTE → const int
-
Handle to a color palette. Whenever an application places data in the
clipboard that depends on or assumes a color palette, it should place the
palette on the clipboard as well.
9
- CF_PENDATA → const int
-
Data for the pen extensions to the Microsoft Windows for Pen Computing.
10
- CF_PRIVATEFIRST → const int
-
Start of a range of integer values for private clipboard formats. The range
ends with CF_PRIVATELAST.
0x0200
- CF_PRIVATELAST → const int
-
End of a range of integer values for private clipboard formats.
0x02FF
- CF_RIFF → const int
-
Represents audio data more complex than can be represented in a CF_WAVE
standard wave format.
11
- CF_SYLK → const int
-
Microsoft Symbolic Link (SYLK) format.
4
- CF_TEXT → const int
-
Text format. Each line ends with a carriage return/linefeed (CR-LF)
combination. A null character signals the end of the data. Use this format
for ANSI text.
1
- CF_TIFF → const int
-
6
- CF_UNICODETEXT → const int
-
Unicode text format. Each line ends with a carriage return/linefeed (CR-LF)
combination. A null character signals the end of the data.
13
- CF_WAVE → const int
-
Represents audio data in one of the standard wave formats, such as 11 kHz or
22 kHz PCM.
12
- CLSCTX_ALL → const int
-
The combination of CLSCTX_INPROC_SERVER, CLSCTX_INPROC_HANDLER,
CLSCTX_LOCAL_SERVER, and CLSCTX_REMOTE_SERVER.
CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER
- CLSCTX_INPROC_HANDLER → const int
-
The code that manages objects of this class is an in-process handler. This
is a DLL that runs in the client process and implements client-side
structures of this class when instances of the class are accessed remotely.
0x2
- CLSCTX_INPROC_SERVER → const int
-
The code that creates and manages objects of this class is a DLL that runs
in the same process as the caller of the function specifying the class
context.
0x1
- CLSCTX_LOCAL_SERVER → const int
-
The EXE code that creates and manages objects of this class runs on same
machine but is loaded in a separate process space.
0x4
- CLSCTX_REMOTE_SERVER → const int
-
A remote context. The LocalServer32 or LocalService code that creates and
manages objects of this class is run on a different computer.
0x10
- COLOR_ACTIVEBORDER → const int
-
Active window border.
10
- COLOR_ACTIVECAPTION → const int
-
Active window title bar.
2
- COLOR_APPWORKSPACE → const int
-
Background color of multiple document interface (MDI) applications.
12
- COLOR_BACKGROUND → const int
-
Desktop.
1
- COLOR_BTNFACE → const int
-
Face color for three-dimensional display elements and for dialog box
backgrounds.
15
- COLOR_BTNHIGHLIGHT → const int
-
Highlight color for three-dimensional display elements (for edges facing the
light source.)
20
- COLOR_BTNSHADOW → const int
-
Shadow color for three-dimensional display elements (for edges facing away
from the light source).
16
- COLOR_BTNTEXT → const int
-
Text on push buttons.
18
- COLOR_CAPTIONTEXT → const int
-
Text in caption, size box, and scroll bar arrow box.
9
- COLOR_GRAYTEXT → const int
-
Grayed (disabled) text.
17
- COLOR_HIGHLIGHT → const int
-
Item(s) selected in a control.
13
- COLOR_HIGHLIGHTTEXT → const int
-
Text of item(s) selected in a control.
14
- COLOR_INACTIVEBORDER → const int
-
Inactive window border.
11
- COLOR_INACTIVECAPTION → const int
-
Inactive window caption.
3
- COLOR_INACTIVECAPTIONTEXT → const int
-
Color of text in an inactive caption.
19
- COLOR_MENU → const int
-
Menu background.
4
- COLOR_MENUTEXT → const int
-
Text in menus.
7
- COLOR_SCROLLBAR → const int
-
Scroll bar gray area.
0
- COLOR_WINDOW → const int
-
Window background.
5
- COLOR_WINDOWFRAME → const int
-
Window frame.
6
- COLOR_WINDOWTEXT → const int
-
Text in windows.
8
- COLORONCOLOR → const int
-
Deletes the pixels. This mode deletes all eliminated lines of pixels without
trying to preserve their information.
3
- CREATE_ALWAYS → const int
-
Creates a new file, always.
2
- CREATE_NEW → const int
-
Creates a new file, only if it does not already exist.
1
- CS_BYTEALIGNCLIENT → const int
-
Aligns the window's client area on a byte boundary (in the x direction).
This style affects the width of the window and its horizontal placement on
the display.
0x1000
- CS_BYTEALIGNWINDOW → const int
-
Aligns the window on a byte boundary (in the x direction). This style
affects the width of the window and its horizontal placement on the display.
0x2000
- CS_CLASSDC → const int
-
Allocates one device context to be shared by all windows in the class.
Because window classes are process specific, it is possible for multiple
threads of an application to create a window of the same class. It is also
possible for the threads to attempt to use the device context
simultaneously. When this happens, the system allows only one thread to
successfully finish its drawing operation.
0x0040
- CS_DBLCLKS → const int
-
Sends a double-click message to the window procedure when the user
double-clicks the mouse while the cursor is within a window belonging to the
class.
0x0008
- CS_DROPSHADOW → const int
-
Enables the drop shadow effect on a window. The effect is turned on and off
through SPI_SETDROPSHADOW. Typically, this is enabled for small, short-lived
windows such as menus to emphasize their Z-order relationship to other
windows. Windows created from a class with this style must be top-level
windows; they may not be child windows.
0x00020000
- CS_GLOBALCLASS → const int
-
Indicates that the window class is an application global class.
0x4000
- CS_HREDRAW → const int
-
Redraws the entire window if a movement or size adjustment changes the width
of the client area.
0x0002
- CS_NOCLOSE → const int
-
Disables Close on the window menu.
0x0200
- CS_OWNDC → const int
-
Allocates a unique device context for each window in the class.
0x0020
- CS_PARENTDC → const int
-
Sets the clipping rectangle of the child window to that of the parent window
so that the child can draw on the parent. A window with the CS_PARENTDC
style bit receives a regular device context from the system's cache of
device contexts. It does not give the child the parent's device context or
device context settings. Specifying CS_PARENTDC enhances an application's
performance.
0x0080
- CS_SAVEBITS → const int
-
Saves, as a bitmap, the portion of the screen image obscured by a window of
this class. When the window is removed, the system uses the saved bitmap to
restore the screen image, including other windows that were obscured.
Therefore, the system does not send WM_PAINT messages to windows that were
obscured if the memory used by the bitmap has not been discarded and if
other screen actions have not invalidated the stored image.
0x0800
- CS_VREDRAW → const int
-
Redraws the entire window if a movement or size adjustment changes the
height of the client area.
0x0001
- DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION → const int
-
Indicates how the activation context is to be deactivated. [...]
1
- DELETE → const int
-
The right to delete the object.
0x00010000
- DEVICE_NOTIFY_SERVICE_HANDLE → const int
-
Notifications are sent to the HandlerEx callback function with a dwControl
parameter of SERVICE_CONTROL_POWEREVENT and a dwEventType of
PBT_POWERSETTINGCHANGE.
1
- DEVICE_NOTIFY_WINDOW_HANDLE → const int
-
Notifications are sent using WM_POWERBROADCAST messages with a wParam
parameter of PBT_POWERSETTINGCHANGE.
0
- DISABLE_NEWLINE_AUTO_RETURN → const int
-
When writing with WriteFile or WriteConsole, this adds an additional state
to end-of-line wrapping that can delay the cursor move and buffer scroll
operations.
0x0008
- DS_3DLOOK → const int
-
Obsolete. Do not use.
0x0004
- DS_ABSALIGN → const int
-
Indicates that the coordinates of the dialog box are screen coordinates. If
this style is not specified, the coordinates are client coordinates.
0x01
- DS_CENTER → const int
-
Centers the dialog box in the working area of the monitor that contains the
owner window. If no owner window is specified, the dialog box is centered in
the working area of a monitor determined by the system. The working area is
the area not obscured by the taskbar or any appbars.
0x0800
- DS_CENTERMOUSE → const int
-
Centers the dialog box on the mouse cursor.
0x1000
- DS_CONTEXTHELP → const int
-
Includes a question mark in the title bar of the dialog box. When the user
clicks the question mark, the cursor changes to a question mark with a
pointer.
0x2000
- DS_CONTROL → const int
-
Creates a dialog box that works well as a child window of another dialog
box, much like a page in a property sheet. This style allows the user to tab
among the control windows of a child dialog box, use its accelerator keys,
and so on.
0x0400
- DS_FIXEDSYS → const int
-
Causes the dialog box to use the monospace SYSTEM_FIXED_FONT instead of the
default SYSTEM_FONT.
0x0008
- DS_LOCALEDIT → const int
-
Obsolete. Do not use.
0x20
- DS_MODALFRAME → const int
-
Creates a dialog box with a modal dialog-box frame that can be combined with
a title bar and window menu by specifying the WS_CAPTION and WS_SYSMENU
styles.
0x80
- DS_NOFAILCREATE → const int
-
Creates the dialog box even if errors occur for example, if a child window
cannot be created or if the system cannot create a special data segment for
an edit control.
0x0010
- DS_NOIDLEMSG → const int
-
Suppresses WM_ENTERIDLE messages that the system would otherwise send to the
owner of the dialog box while the dialog box is displayed.
0x100
- DS_SETFONT → const int
-
Indicates that the header of the dialog box template (either standard or
extended) contains additional data specifying the font to use for text in
the client area and controls of the dialog box.
0x40
- DS_SETFOREGROUND → const int
-
Causes the system to use the SetForegroundWindow function to bring the
dialog box to the foreground. This style is useful for modal dialog boxes
that require immediate attention from the user regardless of whether the
owner window is the foreground window.
0x200
- DS_SHELLFONT → const int
-
Indicates that the dialog box should use the system font. The typeface
member of the extended dialog box template must be set to MS Shell Dlg.
Otherwise, this style has no effect.
DS_SETFONT | DS_FIXEDSYS
- DS_SYSMODAL → const int
-
Obsolete. Do not use.
0x02
- DT_BOTTOM → const int
-
Justifies the text to the bottom of the rectangle. This value is used only
with the DT_SINGLELINE value.
0x008
- DT_CENTER → const int
-
Centers text horizontally in the rectangle.
0x001
- DT_LEFT → const int
-
Aligns text to the left.
0x000
- DT_RIGHT → const int
-
Aligns text to the right.
0x002
- DT_SINGLELINE → const int
-
Displays text on a single line only. Carriage returns and line feeds do not
break the line.
0x0020
- DT_TOP → const int
-
Justifies the text to the top of the rectangle.
0x000
- DT_VCENTER → const int
-
Centers text vertically. This value is used only with the DT_SINGLELINE value.
0x004
- DT_WORDBREAK → const int
-
Breaks words. Lines are automatically broken between words if a word would
extend past the edge of the rectangle specified by the lpRect parameter. A
carriage return-line feed sequence also breaks the line.
0x0010
- EC_LEFTMARGIN → const int
-
Sets the left margin.
0x0001
- EC_RIGHTMARGIN → const int
-
Sets the right margin.
0x0002
- EC_USEFONTINFO → const int
-
Rich edit controls: Sets the left and right margins to a narrow width
calculated using the text metrics of the control's current font. [...]
0xffff
- EM_CANUNDO → const int
-
Determines whether there are any actions in an edit control's undo queue. [...]
0x00C6
- EM_CHARFROMPOS → const int
-
Gets information about the character closest to a specified point in the
client area of an edit control. [...]
0x00D7
- EM_EMPTYUNDOBUFFER → const int
-
Resets the undo flag of an edit control. [...]
0x00CD
- EM_ENABLEFEATURE → const int
-
Allows enterprise data protection support and paste notifications to be set.
0x00DA
- EM_FMTLINES → const int
-
Sets a flag that determines whether a multiline edit control includes soft
line-break characters. [...]
0x00C8
- EM_GETFIRSTVISIBLELINE → const int
-
Gets the zero-based index of the uppermost visible line in a multiline edit
control. [...]
0x00CE
- EM_GETHANDLE → const int
-
Gets a handle of the memory currently allocated for a multiline edit
control's text.
0x00BD
- EM_GETIMESTATUS → const int
-
Gets a set of status flags that indicate how the edit control interacts with
the Input Method Editor (IME).
0x00D9
- EM_GETLIMITTEXT → const int
-
Gets the current text limit for an edit control. [...]
0x00D5
- EM_GETLINE → const int
-
Copies a line of text from an edit control and places it in a specified
buffer. [...]
0x00C4
- EM_GETLINECOUNT → const int
-
Gets the number of lines in a multiline edit control. [...]
0x00BA
- EM_GETMARGINS → const int
-
Gets the widths of the left and right margins for an edit control.
0x00D4
- EM_GETMODIFY → const int
-
Gets the state of an edit control's modification flag. [...]
0x00B8
- EM_GETPASSWORDCHAR → const int
-
Gets the password character that an edit control displays when the user
enters text. [...]
0x00D2
- EM_GETRECT → const int
-
Gets the formatting rectangle of an edit control. [...]
0x00B2
- EM_GETSEL → const int
-
Gets the starting and ending character positions (in TCHARs) of the current
selection in an edit control. [...]
0x00B0
- EM_GETTHUMB → const int
-
Gets the position of the scroll box (thumb) in the vertical scroll bar of a
multiline edit control. [...]
0x00BE
- EM_GETWORDBREAKPROC → const int
-
Gets the address of the current Wordwrap function. [...]
0x00D1
- EM_LIMITTEXT → const int
-
Sets the text limit of an edit control. [...]
0x00C5
- EM_LINEFROMCHAR → const int
-
Gets the index of the line that contains the specified character index in a
multiline edit control. [...]
0x00C9
- EM_LINEINDEX → const int
-
Gets the character index of the first character of a specified line in a
multiline edit control. [...]
0x00BB
- EM_LINELENGTH → const int
-
Retrieves the length, in characters, of a line in an edit control. [...]
0x00C1
- EM_LINESCROLL → const int
-
Scrolls the text in a multiline edit control.
0x00B6
- EM_POSFROMCHAR → const int
-
Retrieves the client area coordinates of a specified character in an edit
control. [...]
0x00D6
- EM_REPLACESEL → const int
-
Replaces the selected text in an edit control or a rich edit control with
the specified text.
0x00C2
- EM_SCROLL → const int
-
Scrolls the text vertically in a multiline edit control. [...]
0x00B5
- EM_SCROLLCARET → const int
-
Scrolls the caret into view in an edit control. [...]
0x00B7
- EM_SETHANDLE → const int
-
Sets the handle of the memory that will be used by a multiline edit control.
0x00BC
- EM_SETIMESTATUS → const int
-
Sets the status flags that determine how an edit control interacts with the
Input Method Editor (IME).
0x00D8
- EM_SETLIMITTEXT → const int
-
Sets the text limit of an edit control. [...]
EM_LIMITTEXT
- EM_SETMARGINS → const int
-
Sets the widths of the left and right margins for an edit control. [...]
0x00D3
- EM_SETMODIFY → const int
-
Sets or clears the modification flag for an edit control. [...]
0x00B9
- EM_SETPASSWORDCHAR → const int
-
Sets or removes the password character for an edit control. [...]
0x00CC
- EM_SETREADONLY → const int
-
Sets or removes the read-only style (ES_READONLY) of an edit control. [...]
0x00CF
- EM_SETRECT → const int
-
Sets the formatting rectangle of a multiline edit control. [...]
0x00B3
- EM_SETRECTNP → const int
-
Sets the formatting rectangle of a multiline edit control. [...]
0x00B4
- EM_SETSEL → const int
-
Selects a range of characters in an edit control. [...]
0x00B1
- EM_SETTABSTOPS → const int
-
The EM_SETTABSTOPS message sets the tab stops in a multiline edit control.
When text is copied to the control, any tab character in the text causes
space to be generated up to the next tab stop. [...]
0x00CB
- EM_SETWORDBREAKPROC → const int
-
Replaces an edit control's default Wordwrap function with an
application-defined Wordwrap function. [...]
0x00D0
- EM_UNDO → const int
-
This message undoes the last edit control operation in the control's undo
queue. [...]
0x00C7
- EN_ALIGN_LTR_EC → const int
-
Sent when the user has changed the edit control direction to left-to-right.
0x0700
- EN_ALIGN_RTL_EC → const int
-
Sent when the user has changed the edit control direction to right-to-left.
0x0701
- EN_CHANGE → const int
-
Sent when the user has taken an action that may have altered text in an edit
control. [...]
0x0300
- EN_ERRSPACE → const int
-
Sent when an edit control cannot allocate enough memory to meet a specific
request.
0x0500
- EN_HSCROLL → const int
-
Sent when the user clicks an edit control's horizontal scroll bar.
0x0601
- EN_KILLFOCUS → const int
-
Sent when an edit control loses the keyboard focus.
0x0200
- EN_MAXTEXT → const int
-
Sent when the current text insertion has exceeded the specified number of
characters for the edit control. The text insertion has been truncated.
0x0501
- EN_SETFOCUS → const int
-
Sent when an edit control receives the keyboard focus.
0x0100
- EN_UPDATE → const int
-
Sent when an edit control is about to redraw itself. This notification code
is sent after the control has formatted the text, but before it displays the
text. This makes it possible to resize the edit control window, if
necessary.
0x0400
- EN_VSCROLL → const int
-
Sent when the user clicks an edit control's vertical scroll bar or when the
user scrolls the mouse wheel over the edit control.
0x0602
- ENABLE_ECHO_INPUT → const int
-
Characters read by the ReadFile or ReadConsole function are written to the
active screen buffer as they are read. This mode can be used only if the
ENABLE_LINE_INPUT mode is also enabled.
0x0004
- ENABLE_EXTENDED_FLAGS → const int
-
Required to enable or disable extended flags. See ENABLE_INSERT_MODE and
ENABLE_QUICK_EDIT_MODE.
0x0080
- ENABLE_INSERT_MODE → const int
-
When enabled, text entered in a console window will be inserted at the
current cursor location and all text following that location will not be
overwritten. When disabled, all following text will be overwritten. [...]
0x0020
- ENABLE_LINE_INPUT → const int
-
The ReadFile or ReadConsole function returns only when a carriage return
character is read. If this mode is disabled, the functions return when one
or more characters are available.
0x0002
- ENABLE_LVB_GRID_WORLDWIDE → const int
-
The APIs for writing character attributes including WriteConsoleOutput and
WriteConsoleOutputAttribute allow the usage of flags from character
attributes to adjust the color of the foreground and background of text.
Additionally, a range of DBCS flags was specified with the COMMON_LVB
prefix. Historically, these flags only functioned in DBCS code pages for
Chinese, Japanese, and Korean languages.
0x0010
- ENABLE_MOUSE_INPUT → const int
-
If the mouse pointer is within the borders of the console window and the
window has the keyboard focus, mouse events generated by mouse movement and
button presses are placed in the input buffer. These events are discarded by
ReadFile or ReadConsole, even when this mode is enabled.
0x0010
- ENABLE_PROCESSED_INPUT → const int
-
CTRL+C is processed by the system and is not placed in the input buffer. If
the input buffer is being read by ReadFile or ReadConsole, other control
keys are processed by the system and are not returned in the ReadFile or
ReadConsole buffer. If the ENABLE_LINE_INPUT mode is also enabled,
backspace, carriage return, and line feed characters are handled by the
system.
0x0001
- ENABLE_PROCESSED_OUTPUT → const int
-
Characters written by the WriteFile or WriteConsole function or echoed by
the ReadFile or ReadConsole function are examined for ASCII control
sequences and the correct action is performed. Backspace, tab, bell,
carriage return, and line feed characters are processed.
0x0001
- ENABLE_QUICK_EDIT_MODE → const int
-
This flag enables the user to use the mouse to select and edit text. [...]
0x0040
- ENABLE_VIRTUAL_TERMINAL_INPUT → const int
-
Setting this flag directs the Virtual Terminal processing engine to convert
user input received by the console window into Console Virtual Terminal
Sequences that can be retrieved by a supporting application through ReadFile
or ReadConsole functions. [...]
0x0200
- ENABLE_VIRTUAL_TERMINAL_PROCESSING → const int
-
When writing with WriteFile or WriteConsole, characters are parsed for VT100
and similar control character sequences that control cursor movement,
color/font mode, and other operations that can also be performed via the
existing Console APIs. For more information, see Console Virtual Terminal
Sequences.
0x0004
- ENABLE_WINDOW_INPUT → const int
-
User interactions that change the size of the console screen buffer are
reported in the console's input buffer. Information about these events can
be read from the input buffer by applications using the ReadConsoleInput
function, but not by those using ReadFile or ReadConsole.
0x0008
- ENABLE_WRAP_AT_EOL_OUTPUT → const int
-
When writing with WriteFile or WriteConsole or echoing with ReadFile or
ReadConsole, the cursor moves to the beginning of the next row when it
reaches the end of the current row. This causes the rows displayed in the
console window to scroll up automatically when the cursor advances beyond
the last row in the window. It also causes the contents of the console
screen buffer to scroll up (discarding the top row of the console screen
buffer) when the cursor advances beyond the last row in the console screen
buffer. If this mode is disabled, the last character in the row is
overwritten with any subsequent characters.
0x0002
- ERROR_ACCESS_DENIED → const int
-
Access is denied.
5
- ERROR_ADAP_HDW_ERR → const int
-
A network adapter hardware error occurred.
57
- ERROR_ALREADY_ASSIGNED → const int
-
The local device name is already in use.
85
- ERROR_ARENA_TRASHED → const int
-
The storage control blocks were destroyed.
7
- ERROR_BAD_COMMAND → const int
-
The device does not recognize the command.
22
- ERROR_BAD_DEV_TYPE → const int
-
The network resource type is not correct.
66
- ERROR_BAD_ENVIRONMENT → const int
-
The environment is incorrect.
10
- ERROR_BAD_FORMAT → const int
-
An attempt was made to load a program with an incorrect format.
11
- ERROR_BAD_LENGTH → const int
-
The program issued a command but the command length is incorrect.
24
- ERROR_BAD_NET_NAME → const int
-
The network name cannot be found.
67
- ERROR_BAD_NET_RESP → const int
-
The specified server cannot perform the requested operation.
58
- ERROR_BAD_NETPATH → const int
-
The network path was not found.
53
- ERROR_BAD_REM_ADAP → const int
-
The remote adapter is not compatible.
60
- ERROR_BAD_UNIT → const int
-
The system cannot find the device specified.
20
- ERROR_CANNOT_MAKE → const int
-
The directory or file cannot be created.
82
- ERROR_CRC → const int
-
Data error (cyclic redundancy check).
23
- ERROR_CURRENT_DIRECTORY → const int
-
The directory cannot be removed.
16
- ERROR_DEV_NOT_EXIST → const int
-
The specified network resource or device is no longer available.
55
- ERROR_DUP_NAME → const int
-
You were not connected because a duplicate name exists on the network. If
joining a domain, go to System in Control Panel to change the computer name
and try again. If joining a workgroup, choose another workgroup name.
52
- ERROR_EXCL_SEM_ALREADY_OWNED → const int
-
The exclusive semaphore is owned by another process.
101
- ERROR_FAIL_I24 → const int
-
Fail on INT 24.
83
- ERROR_FILE_EXISTS → const int
-
The file exists.
80
- ERROR_FILE_NOT_FOUND → const int
-
The system cannot find the file specified.
2
- ERROR_GEN_FAILURE → const int
-
A device attached to the system is not functioning.
31
- ERROR_HANDLE_DISK_FULL → const int
-
The disk is full.
39
- ERROR_HANDLE_EOF → const int
-
Reached the end of the file.
38
- ERROR_INVALID_ACCESS → const int
-
The access code is invalid.
12
- ERROR_INVALID_AT_INTERRUPT_TIME → const int
-
Cannot request exclusive semaphores at interrupt time.
104
- ERROR_INVALID_BLOCK → const int
-
The storage control block address is invalid.
9
- ERROR_INVALID_DATA → const int
-
The data is invalid.
13
- ERROR_INVALID_DRIVE → const int
-
The system cannot find the drive specified.
15
- ERROR_INVALID_FUNCTION → const int
-
Incorrect function.
1
- ERROR_INVALID_HANDLE → const int
-
The handle is invalid.
6
- ERROR_INVALID_PARAMETER → const int
-
The parameter is incorrect.
87
- ERROR_INVALID_PASSWORD → const int
-
The specified network password is not correct.
86
- ERROR_LOCK_VIOLATION → const int
-
The process cannot access the file because another process has locked a
portion of the file.
33
- ERROR_NET_WRITE_FAULT → const int
-
A write fault occurred on the network.
88
- ERROR_NETNAME_DELETED → const int
-
The specified network name is no longer available.
64
- ERROR_NETWORK_ACCESS_DENIED → const int
-
Network access is denied.
65
- ERROR_NETWORK_BUSY → const int
-
The network is busy.
54
- ERROR_NO_MORE_FILES → const int
-
There are no more files.
18
- ERROR_NO_PROC_SLOTS → const int
-
The system cannot start another process at this time.
89
- ERROR_NO_SPOOL_SPACE → const int
-
Space to store the file waiting to be printed is not available on the server.
62
- ERROR_NOT_DOS_DISK → const int
-
The specified disk or diskette cannot be accessed.
26
- ERROR_NOT_ENOUGH_MEMORY → const int
-
Not enough memory resources are available to process this command.
8
- ERROR_NOT_READY → const int
-
The device is not ready.
21
- ERROR_NOT_SAME_DEVICE → const int
-
The system cannot move the file to a different disk drive.
17
- ERROR_NOT_SUPPORTED → const int
-
The request is not supported.
50
- ERROR_OUT_OF_PAPER → const int
-
The printer is out of paper.
28
- ERROR_OUT_OF_STRUCTURES → const int
-
Storage to process this request is not available.
84
- ERROR_OUTOFMEMORY → const int
-
Not enough storage is available to complete this operation.
14
- ERROR_PATH_NOT_FOUND → const int
-
The system cannot find the path specified.
3
- ERROR_PRINT_CANCELLED → const int
-
Your file waiting to be printed was deleted.
63
- ERROR_PRINTQ_FULL → const int
-
The printer queue is full.
61
- ERROR_READ_FAULT → const int
-
The system cannot read from the specified device.
30
- ERROR_REDIR_PAUSED → const int
-
The specified printer or disk device has been paused.
72
- ERROR_REM_NOT_LIST → const int
-
Windows cannot find the network path. Verify that the network path is
correct and the destination computer is not busy or turned off. If Windows
still cannot find the network path, contact your network administrator.
51
- ERROR_REQ_NOT_ACCEP → const int
-
No more connections can be made to this remote computer at this time because
there are already as many connections as the computer can accept.
71
- ERROR_SECTOR_NOT_FOUND → const int
-
The drive cannot find the sector requested.
27
- ERROR_SEEK → const int
-
The drive cannot locate a specific area or track on the disk.
25
- ERROR_SEM_IS_SET → const int
-
The semaphore is set and cannot be closed.
102
- ERROR_SHARING_BUFFER_EXCEEDED → const int
-
Too many files opened for sharing.
36
- ERROR_SHARING_PAUSED → const int
-
The remote server has been paused or is in the process of being started.
70
- ERROR_SHARING_VIOLATION → const int
-
The process cannot access the file because it is being used by another
process.
32
- ERROR_SUCCESS → const int
-
The operation completed successfully.
0
- ERROR_TOO_MANY_CMDS → const int
-
The network BIOS command limit has been reached.
56
- ERROR_TOO_MANY_NAMES → const int
-
The name limit for the local computer network adapter card was exceeded.
68
- ERROR_TOO_MANY_OPEN_FILES → const int
-
The system cannot open the file.
4
- ERROR_TOO_MANY_SEM_REQUESTS → const int
-
The semaphore cannot be set again.
103
- ERROR_TOO_MANY_SEMAPHORES → const int
-
Cannot create another system semaphore.
100
- ERROR_TOO_MANY_SESS → const int
-
The network BIOS session limit was exceeded.
69
- ERROR_UNEXP_NET_ERR → const int
-
An unexpected network error occurred.
59
- ERROR_WRITE_FAULT → const int
-
The system cannot write to the specified device.
29
- ERROR_WRITE_PROTECT → const int
-
The media is write protected.
19
- ERROR_WRONG_DISK → const int
-
The wrong diskette is in the drive.
34
- ES_AUTOHSCROLL → const int
-
Automatically scrolls text to the right by 10 characters when the user types
a character at the end of the line. When the user presses the ENTER key, the
control scrolls all text back to position zero.
0x0080
- ES_AUTOVSCROLL → const int
-
Automatically scrolls text up one page when the user presses the ENTER key
on the last line.
0x0040
- ES_AWAYMODE_REQUIRED → const int
-
Enables away mode. This value must be specified with ES_CONTINUOUS.
0x00000040
- ES_CENTER → const int
-
Centers text in a single-line or multiline edit control.
0x0001
- ES_CONTINUOUS → const int
-
Informs the system that the state being set should remain in effect until
the next call that uses ES_CONTINUOUS and one of the other state flags is
cleared.
0x80000000
- ES_DISPLAY_REQUIRED → const int
-
Forces the display to be on by resetting the display idle timer.
0x00000002
- ES_LEFT → const int
-
Aligns text with the left margin.
0x0000
- ES_LOWERCASE → const int
-
Converts all characters to lowercase as they are typed into the edit
control.
0x0010
- ES_MULTILINE → const int
-
Designates a multiline edit control. The default is single-line edit
control.
0x0004
- ES_NOHIDESEL → const int
-
Negates the default behavior for an edit control. The default behavior hides
the selection when the control loses the input focus and inverts the
selection when the control receives the input focus. If you specify
ES_NOHIDESEL, the selected text is inverted, even if the control does not
have the focus.
0x0100
- ES_NUMBER → const int
-
Allows only digits to be entered into the edit control. Note that, even with
this set, it is still possible to paste non-digits into the edit control.
0x2000
- ES_OEMCONVERT → const int
-
Converts text entered in the edit control. The text is converted from the
Windows character set to the OEM character set and then back to the Windows
character set. This ensures proper character conversion when the application
calls the CharToOem function to convert a Windows string in the edit control
to OEM characters. This style is most useful for edit controls that contain
file names that will be used on file systems that do not support Unicode.
0x0400
- ES_PASSWORD → const int
-
Displays an asterisk (*) for each character typed into the edit control.
This style is valid only for single-line edit controls.
0x0020
- ES_READONLY → const int
-
Prevents the user from typing or editing text in the edit control.
0x0800
- ES_RIGHT → const int
-
Right-aligns text in a single-line or multiline edit control.
0x0002
- ES_SYSTEM_REQUIRED → const int
-
Forces the system to be in the working state by resetting the system idle
timer.
0x00000001
- ES_UPPERCASE → const int
-
Converts all characters to uppercase as they are typed into the edit
control.
0x0008
- ES_USER_PRESENT → const int
-
This value is not supported. If ES_USER_PRESENT is combined with other
esFlags values, the call will fail and none of the specified states will be
set.
0x00000004
- ES_WANTRETURN → const int
-
Specifies that a carriage return be inserted when the user presses the ENTER
key while entering text into a multiline edit control in a dialog box. If
you do not specify this style, pressing the ENTER key has the same effect as
pressing the dialog box's default push button. This style has no effect on a
single-line edit control.
0x1000
- FACILITY_CERT → const int
-
The source of the error code is a certificate client or server
11
- FACILITY_CONTROL → const int
-
The source of the error code is the control mechanism.
10
- FACILITY_DISPATCH → const int
-
For late-binding IDispatch interface errors.
2
- FACILITY_INTERNET → const int
-
The source of the error code is Wininet related.
12
- FACILITY_ITF → const int
-
For most status codes returned from interface methods. The actual meaning of
the error is defined by the interface. That is, two HRESULTs with exactly
the same 32-bit value returned from two different interfaces might have
different meanings.
4
- FACILITY_NULL → const int
-
For broadly applicable common status codes such as S_OK.
0
- FACILITY_RPC → const int
-
For status codes returned from remote procedure calls.
1
- FACILITY_SECURITY → const int
-
The source of the error code is the Security API layer.
9
- FACILITY_SSPI → const int
-
The source of the error code is the Security API layer.
9
- FACILITY_STORAGE → const int
-
For status codes returned from IStorage or IStream method calls relating to
structured storage. Status codes whose code (lower 16 bits) value is in the
range of MS-DOS error codes (that is, less than 256) have the same meaning
as the corresponding MS-DOS error.
3
- FACILITY_WIN32 → const int
-
Used to provide a means of handling error codes from functions in the
Windows API as an HRESULT. Error codes in 16-bit OLE that duplicated system
error codes have also been changed to FACILITY_WIN32.
7
- FACILITY_WINDOWS → const int
-
Used for additional error codes from Microsoft-defined interfaces.
8
- FALSE → const int
-
Boolean false value returned from the Win32 API
0
- FILE_FLAG_BACKUP_SEMANTICS → const int
-
The file is being opened or created for a backup or restore operation. The
system ensures that the calling process overrides file security checks when
the process has SE_BACKUP_NAME and SE_RESTORE_NAME privileges.
0x02000000
- FILE_FLAG_DELETE_ON_CLOSE → const int
-
The file is to be deleted immediately after all of its handles are closed,
which includes the specified handle and any other open or duplicated
handles.
0x04000000
- FILE_FLAG_FIRST_PIPE_INSTANCE → const int
-
If you attempt to create multiple instances of a pipe with this flag,
creation of the first instance succeeds, but creation of the next instance
fails with ERROR_ACCESS_DENIED.
0x00080000
- FILE_FLAG_NO_BUFFERING → const int
-
The file or device is being opened with no system caching for data reads and
writes. This flag does not affect hard disk caching or memory mapped files
0x20000000
- FILE_FLAG_OPEN_NO_RECALL → const int
-
The file data is requested, but it should continue to be located in remote
storage. It should not be transported back to local storage. This flag is
for use by remote storage systems.
0x00100000
- FILE_FLAG_OPEN_REPARSE_POINT → const int
-
Normal reparse point processing will not occur; CreateFile will attempt to
open the reparse point. When a file is opened, a file handle is returned,
whether or not the filter that controls the reparse point is operational.
0x00200000
- FILE_FLAG_OVERLAPPED → const int
-
The file or device is being opened or created for asynchronous I/O. When
subsequent I/O operations are completed on this handle, the event specified
in the OVERLAPPED structure will be set to the signaled state. If this flag
is specified, the file can be used for simultaneous read and write
operations. If this flag is not specified, then I/O operations are
serialized, even if the calls to the read and write functions specify an
OVERLAPPED structure.
0x40000000
- FILE_FLAG_POSIX_SEMANTICS → const int
-
Access will occur according to POSIX rules. This includes allowing multiple
files with names, differing only in case, for file systems that support that
naming.
0x01000000
- FILE_FLAG_RANDOM_ACCESS → const int
-
Access is intended to be random. The system can use this as a hint to
optimize file caching.
0x10000000
- FILE_FLAG_SEQUENTIAL_SCAN → const int
-
Access is intended to be sequential from beginning to end. The system can
use this as a hint to optimize file caching.
0x08000000
- FILE_FLAG_SESSION_AWARE → const int
-
The file or device is being opened with session awareness. If this flag is
not specified, then per-session devices (such as a device using RemoteFX USB
Redirection) cannot be opened by processes running in session 0. This flag
has no effect for callers not in session 0. This flag is supported only on
server editions of Windows.
0x00800000
- FILE_FLAG_WRITE_THROUGH → const int
-
Write operations will not go through any intermediate cache, they will go
directly to disk.
0x80000000
- FORMAT_MESSAGE_ARGUMENT_ARRAY → const int
-
The Arguments parameter is not a va_list structure, but is a pointer to an
array of values that represent the arguments.
0x00002000
- FORMAT_MESSAGE_FROM_HMODULE → const int
-
The lpSource parameter is a module handle containing the message-table
resource(s) to search. If this lpSource handle is NULL, the current
process's application image file will be searched. This flag cannot be used
with FORMAT_MESSAGE_FROM_STRING.
0x00000800
- FORMAT_MESSAGE_FROM_STRING → const int
-
The lpSource parameter is a pointer to a null-terminated string that
contains a message definition. The message definition may contain insert
sequences, just as the message text in a message table resource may. This
flag cannot be used with FORMAT_MESSAGE_FROM_HMODULE or
FORMAT_MESSAGE_FROM_SYSTEM.
0x00000400
- FORMAT_MESSAGE_FROM_SYSTEM → const int
-
The function should search the system message-table resource(s) for the
requested message. If this flag is specified with
FORMAT_MESSAGE_FROM_HMODULE, the function searches the system message table
if the message is not found in the module specified by lpSource. This flag
cannot be used with FORMAT_MESSAGE_FROM_STRING.
0x00001000
- FORMAT_MESSAGE_IGNORE_INSERTS → const int
-
Insert sequences in the message definition are to be ignored and passed
through to the output buffer unchanged. This flag is useful for fetching a
message for later formatting. If this flag is set, the Arguments parameter
is ignored.
0x00000200
- FORMAT_MESSAGE_MAX_WIDTH_MASK → const int
-
The function ignores regular line breaks in the message definition text. The
function stores hard-coded line breaks in the message definition text into
the output buffer. The function generates no new line breaks.
0x000000FF
- GENERIC_ALL → const int
-
Specifies all defined access control on the object.
0x10000000
- GENERIC_EXECUTE → const int
-
Specifies access control suitable for executing an action on the object.
0x20000000
- GENERIC_READ → const int
-
Specifies access control suitable for reading the object.
0x80000000
- GENERIC_WRITE → const int
-
Specifies access control suitable for updating attributes on the object.
0x40000000
- GWL_EXSTYLE → const int
-
Gets/sets the extended window styles.
-20
- GWL_HINSTANCE → const int
-
Gets/sets a new application instance handle.
-6
- GWL_ID → const int
-
Gets/sets a new identifier of the child window. The window cannot be a
top-level window.
-12
- GWL_STYLE → const int
-
Gets/sets a new window style.
-16
- GWL_USERDATA → const int
-
Gets/sets the user data associated with the window. This data is intended
for use by the application that created the window. Its value is initially
zero.
-21
- GWL_WNDPROC → const int
-
Sets a new address for the window procedure. You cannot change this
attribute if the window does not belong to the same process as the calling
thread.
-4
- HALFTONE → const int
-
Maps pixels from the source rectangle into blocks of pixels in the
destination rectangle. The average color over the destination block of
pixels approximates the color of the source pixels.
4
- HANDLE_FLAG_INHERIT → const int
-
If this flag is set, a child process created with the bInheritHandles
parameter of CreateProcess set to TRUE will inherit the object handle.
0x00000001
- HANDLE_FLAG_PROTECT_FROM_CLOSE → const int
-
If this flag is set, calling the CloseHandle function will not close the
object handle.
0x00000002
- HEAP_CREATE_ENABLE_EXECUTE → const int
-
All memory blocks that are allocated from this heap allow code execution, if
the hardware enforces data execution prevention.
0x00040000
- HEAP_GENERATE_EXCEPTIONS → const int
-
The system will raise an exception to indicate a function failure, such as
an out-of-memory condition, instead of returning NULL.
0x00000004
- HEAP_NO_SERIALIZE → const int
-
Serialized access will not be used for this allocation.
0x00000001
- HEAP_REALLOC_IN_PLACE_ONLY → const int
-
There can be no movement when reallocating a memory block.
0x00000010
- HEAP_ZERO_MEMORY → const int
-
The allocated memory will be initialized to zero. Otherwise, the memory is
not initialized to zero.
0x00000008
- HS_BDIAGONAL → const int
-
45-degree upward left-to-right hatch
3
- HS_CROSS → const int
-
Horizontal and vertical crosshatch
4
- HS_DIAGCROSS → const int
-
45-degree crosshatch
5
- HS_FDIAGONAL → const int
-
45-degree downward left-to-right hatch
2
- HS_HORIZONTAL → const int
-
Horizontal hatch
0
- HS_VERTICAL → const int
-
Vertical hatch
1
- HTBORDER → const int
-
In the border of a window that does not have a sizing border.
18
- HTBOTTOM → const int
-
In the lower-horizontal border of a resizable window (the user can click the
mouse to resize the window vertically).
15
- HTBOTTOMLEFT → const int
-
In the lower-left corner of a border of a resizable window (the user can
click the mouse to resize the window diagonally).
16
- HTBOTTOMRIGHT → const int
-
In the lower-right corner of a border of a resizable window (the user can
click the mouse to resize the window diagonally).
17
- HTCAPTION → const int
-
In a title bar.
2
- HTCLIENT → const int
-
In a client area.
1
- HTCLOSE → const int
-
In a Close button.
20
- HTERROR → const int
-
On the screen background or on a dividing line between windows (same as
HTNOWHERE, except that the DefWindowProc function produces a system beep to
indicate an error).
-2
- HTGROWBOX → const int
-
In a size box (same as HTSIZE).
4
- HTHELP → const int
-
In a Help button.
21
- HTHSCROLL → const int
-
In a horizontal scroll bar.
6
- HTLEFT → const int
-
In the left border of a resizable window (the user can click the mouse to
resize the window horizontally).
10
- HTMAXBUTTON → const int
-
In a Maximize button.
9
- HTMENU → const int
-
In a menu.
5
- HTMINBUTTON → const int
-
In a Minimize button.
8
- HTNOWHERE → const int
-
On the screen background or on a dividing line between windows.
0
- HTREDUCE → const int
-
In a Minimize button.
HTMINBUTTON
- HTRIGHT → const int
-
In the right border of a resizable window (the user can click the mouse to
resize the window horizontally).
11
- HTSIZE → const int
-
In a size box (same as HTGROWBOX).
HTGROWBOX
- HTSYSMENU → const int
-
In a window menu or in a Close button in a child window.
3
- HTTOP → const int
-
In the upper-horizontal border of a window.
12
- HTTOPLEFT → const int
-
In the upper-left corner of a window border.
13
- HTTOPRIGHT → const int
-
In the upper-right corner of a window border.
14
- HTTRANSPARENT → const int
-
In a window currently covered by another window in the same thread (the
message will be sent to underlying windows in the same thread until one of
them returns a code that is not HTTRANSPARENT).
-1
- HTVSCROLL → const int
-
In the vertical scroll bar.
7
- HTZOOM → const int
-
In a Maximize button.
HTMAXBUTTON
- IMAGE_BITMAP → const int
-
Loads a bitmap.
0
- IMAGE_CURSOR → const int
-
Loads a cursor.
2
- IMAGE_ENHMETAFILE → const int
-
Loads an enhanced metafile.
3
- IMAGE_ICON → const int
-
Loads an icon.
1
- LR_COPYDELETEORG → const int
-
Deletes the original image after creating the copy.
0x00000008
- LR_COPYFROMRESOURCE → const int
-
Tries to reload an icon or cursor resource from the original resource file
rather than simply copying the current image. This is useful for creating a
different-sized copy when the resource file contains multiple sizes of the
resource. Without this flag, CopyImage stretches the original image to the
new size. If this flag is set, CopyImage uses the size in the resource file
closest to the desired size.
0x00004000
- LR_COPYRETURNORG → const int
-
Returns the original hImage if it satisfies the criteria for the copy—that
is, correct dimensions and color depth—in which case the LR_COPYDELETEORG
flag is ignored. If this flag is not specified, a new object is always
created.
0x00000004
- LR_CREATEDIBSECTION → const int
-
Causes the function to return a DIB section bitmap rather than a compatible
bitmap. This flag is useful for loading a bitmap without mapping it to the
colors of the display device.
0x00002000
- LR_DEFAULTCOLOR → const int
-
The default flag; it does nothing.
0x00000000
- LR_DEFAULTSIZE → const int
-
Uses the width or height specified by the system metric values for cursors
or icons, if the cxDesired or cyDesired values are set to zero.
0x00000040
- LR_LOADFROMFILE → const int
-
Loads the stand-alone image from the file specified by lpszName (icon,
cursor, or bitmap file).
0x00000010
- LR_LOADMAP3DCOLORS → const int
-
Searches the color table for the image and replaces shades of gray with the
corresponding 3-D color.
0x00001000
- LR_LOADTRANSPARENT → const int
-
Retrieves the color value of the first pixel in the image and replaces the
corresponding entry in the color table with the default window color
(COLOR_WINDOW). All pixels in the image that use that entry become the
default window color. This value applies only to images that have
corresponding color tables.
0x00000020
- LR_MONOCHROME → const int
-
Loads the image in black and white.
0x00000001
- LR_SHARED → const int
-
Shares the image handle if the image is loaded multiple times. If LR_SHARED
is not set, a second call to LoadImage for the same resource will load the
image again and return a different handle.
0x00008000
- LR_VGACOLOR → const int
-
Uses true VGA colors.
0x00000080
- MAX_PATH → const int
-
260
- MAXIMUM_ALLOWED → const int
-
Indicates that the caller is requesting the most access possible to the
object.
0x02000000
- MB_ABORTRETRYIGNORE → const int
-
The message box contains three push buttons: Abort, Retry, and Ignore.
0x00000002
- MB_APPLMODAL → const int
-
The user must respond to the message box before continuing work in the
window identified by the hWnd parameter. However, the user can move to the
windows of other threads and work in those windows.
0x00000000
- MB_CANCELTRYCONTINUE → const int
-
The message box contains three push buttons: Cancel, Try Again, Continue.
Use this message box type instead of MB_ABORTRETRYIGNORE.
0x00000006
- MB_DEFAULT_DESKTOP_ONLY → const int
-
Same as desktop of the interactive window station. [...]
0x00020000
- MB_DEFBUTTON1 → const int
-
The first button is the default button. [...]
0x00000000
- MB_DEFBUTTON2 → const int
-
The second button is the default button.
0x00000100
- MB_DEFBUTTON3 → const int
-
The third button is the default button.
0x00000200
- MB_DEFBUTTON4 → const int
-
The fourth button is the default button.
0x00000300
- MB_HELP → const int
-
Adds a Help button to the message box. When the user clicks the Help button
or presses F1, the system sends a WM_HELP message to the owner.
0x00004000
- MB_ICONASTERISK → const int
-
An icon consisting of a lowercase letter i in a circle appears in the
message box.
0x00000040
- MB_ICONERROR → const int
-
A stop-sign icon appears in the message box.
MB_ICONHAND
- MB_ICONEXCLAMATION → const int
-
An exclamation-point icon appears in the message box.
0x00000030
- MB_ICONHAND → const int
-
A stop-sign icon appears in the message box.
0x00000010
- MB_ICONINFORMATION → const int
-
An icon consisting of a lowercase letter i in a circle appears in the
message box.
MB_ICONASTERISK
- MB_ICONQUESTION → const int
-
A question-mark icon appears in the message box. [...]
0x00000020
- MB_ICONSTOP → const int
-
A stop-sign icon appears in the message box.
MB_ICONHAND
- MB_ICONWARNING → const int
-
An exclamation-point icon appears in the message box.
MB_ICONEXCLAMATION
- MB_OK → const int
-
The message box contains one push button: OK. This is the default.
0x00000000
- MB_OKCANCEL → const int
-
The message box contains two push buttons: OK and Cancel.
0x00000001
- MB_RETRYCANCEL → const int
-
The message box contains two push buttons: Retry and Cancel.
0x00000005
- MB_RIGHT → const int
-
The text is right-justified.
0x00080000
- MB_RTLREADING → const int
-
Displays message and caption text using right-to-left reading order on
Hebrew and Arabic systems.
0x00100000
- MB_SERVICE_NOTIFICATION → const int
-
The caller is a service notifying the user of an event. The function
displays a message box on the current active desktop, even if there is no
user logged on to the computer.
0x00200000
- MB_SETFOREGROUND → const int
-
The message box becomes the foreground window. Internally, the system calls
the SetForegroundWindow function for the message box.
0x00010000
- MB_SYSTEMMODAL → const int
-
Same as MB_APPLMODAL except that the message box has the WS_EX_TOPMOST
style. [...]
0x00001000
- MB_TASKMODAL → const int
-
Same as MB_APPLMODAL except that all the top-level windows belonging to the
current thread are disabled if the hWnd parameter is NULL. [...]
0x00002000
- MB_TOPMOST → const int
-
The message box is created with the WS_EX_TOPMOST window style.
0x00040000
- MB_YESNO → const int
-
The message box contains two push buttons: Yes and No.
0x00000004
- MB_YESNOCANCEL → const int
-
The message box contains three push buttons: Yes, No, and Cancel.
0x00000003
- MF_BITMAP → const int
-
Uses a bitmap as the menu item. The lpNewItem parameter contains a handle to
the bitmap.
0x00000004
- MF_BYCOMMAND → const int
-
Indicates that flag gives the identifier of the menu item.
0x00000000
- MF_BYPOSITION → const int
-
Indicates that flag gives the zero-based relative position of the menu item.
0x00000400
- MF_CHECKED → const int
-
Places a check mark next to the menu item.
0x00000008
- MF_DISABLED → const int
-
Disables the menu item so that it cannot be selected, but the flag does not
gray it.
0x00000002
- MF_ENABLED → const int
-
Enables the menu item so that it can be selected, and restores it from its
grayed state.
0x00000000
- MF_GRAYED → const int
-
Disables the menu item and grays it so that it cannot be selected.
0x00000001
- MF_HILITE → const int
-
Highlights the menu item. If this flag is not specified, the highlighting is
removed from the item.
0x00000080
- MF_MENUBARBREAK → const int
-
Functions the same as the MF_MENUBREAK flag for a menu bar. For a drop-down
menu, submenu, or shortcut menu, the new column is separated from the old
column by a vertical line.
0x00000020
- MF_MENUBREAK → const int
-
Places the item on a new line (for a menu bar) or in a new column (for a
drop-down menu, submenu, or shortcut menu) without separating columns.
0x00000040
- MF_OWNERDRAW → const int
-
Specifies that the item is an owner-drawn item. Before the menu is displayed
for the first time, the window that owns the menu receives a WM_MEASUREITEM
message to retrieve the width and height of the menu item. The WM_DRAWITEM
message is then sent to the window procedure of the owner window whenever
the appearance of the menu item must be updated.
0x00000100
- MF_POPUP → const int
-
Specifies that the menu item opens a drop-down menu or submenu. The
uIDNewItem parameter specifies a handle to the drop-down menu or submenu.
This flag is used to add a menu name to a menu bar, or a menu item that
opens a submenu to a drop-down menu, submenu, or shortcut menu.
0x00000010
- MF_SEPARATOR → const int
-
Draws a horizontal dividing line. This flag is used only in a drop-down
menu, submenu, or shortcut menu. The line cannot be grayed, disabled, or
highlighted. The lpNewItem and uIDNewItem parameters are ignored.
0x00000800
- MF_STRING → const int
-
Specifies that the menu item is a text string; the lpNewItem parameter is a
pointer to the string.
0x00000000
- MF_UNCHECKED → const int
-
Does not place a check mark next to the item (default). If the application
supplies check-mark bitmaps (see SetMenuItemBitmaps), this flag displays the
clear bitmap next to the menu item.
0x00000000
- MF_UNHILITE → const int
-
Removes highlighting from the menu item.
0x00000000
- MM_ANISOTROPIC → const int
-
Logical units are mapped to arbitrary units with arbitrarily scaled axes.
Use the SetWindowExtEx and SetViewportExtEx functions to specify the units,
orientation, and scaling.
8
- MM_HIENGLISH → const int
-
Each logical unit is mapped to 0.001 inch. Positive x is to the right;
positive y is up.
5
- MM_HIMETRIC → const int
-
Each logical unit is mapped to 0.01 millimeter. Positive x is to the right;
positive y is up.
3
- MM_ISOTROPIC → const int
-
Logical units are mapped to arbitrary units with equally scaled axes; that
is, one unit along the x-axis is equal to one unit along the y-axis. Use the
SetWindowExtEx and SetViewportExtEx functions to specify the units and the
orientation of the axes. Graphics device interface (GDI) makes adjustments
as necessary to ensure the x and y units remain the same size (When the
window extent is set, the viewport will be adjusted to keep the units
isotropic).
7
- MM_LOENGLISH → const int
-
Each logical unit is mapped to 0.01 inch. Positive x is to the right;
positive y is up.
4
- MM_LOMETRIC → const int
-
Each logical unit is mapped to 0.1 millimeter. Positive x is to the right;
positive y is up.
2
- MM_TEXT → const int
-
Each logical unit is mapped to one device pixel. Positive x is to the right;
positive y is down.
1
- MM_TWIPS → const int
-
Each logical unit is mapped to one twentieth of a printer's point (1/1440
inch, also called a twip). Positive x is to the right; positive y is up.
6
- MONITOR_DEFAULTTONEAREST → const int
-
If the point is not contained within any display monitor, return a handle to
the display monitor that is nearest to the point.
0x00000002
- MONITOR_DEFAULTTONULL → const int
-
If the point is not contained within any display monitor, return NULL.
0x00000000
- MONITOR_DEFAULTTOPRIMARY → const int
-
If the point is not contained within any display monitor, return a handle to
the primary display monitor.
0x00000001
- MONITORINFOF_PRIMARY → const int
-
This is the primary display monitor.
0x00000001
- NIF_GUID → const int
-
Windows 7 and later: The guidItem is valid.
Windows Vista and earlier: Reserved.
0x00000020
- NIF_ICON → const int
-
The hIcon member is valid.
0x00000002
- NIF_INFO → const int
-
To display the balloon notification, specify NIF_INFO and provide
text in szInfo.
To remove a balloon notification, specify NIF_INFO and provide an empty
string through szInfo.
To add a notification area icon without displaying a notification,
do not set the NIF_INFO flag.
0x00000010
- NIF_MESSAGE → const int
-
The uCallbackMessage member is valid.
0x00000001
- NIF_REALTIME → const int
-
Windows Vista and later. If the balloon notification cannot be displayed
immediately, discard it. Use this flag for notifications that represent
real-time information which would be meaningless or misleading if displayed
at a later time. For example, a message that states
"Your telephone is ringing." NIF_REALTIME is meaningful only when combined
with the NIF_INFO flag.
0x00000040
- NIF_SHOWTIP → const int
-
Windows Vista and later. Use the standard tooltip. Normally, when uVersion
is set to NOTIFYICON_VERSION_4, the standard tooltip is suppressed and
can be replaced by the application-drawn, pop-up UI. If the application
wants to show the standard tooltip with NOTIFYICON_VERSION_4, it can
specify NIF_SHOWTIP to indicate the standard tooltip should still be shown.
0x00000080
- NIF_STATE → const int
-
The dwState and dwStateMask members are valid.
0x00000008
- NIF_TIP → const int
-
The szTip member is valid.
0x00000004
- NIIF_ERROR → const int
-
An error icon.
0x00000003
- NIIF_ICON_MASK → const int
-
Windows XP and later. Reserved.
0x0000000F
- NIIF_INFO → const int
-
An information icon.
0x00000001
- NIIF_LARGE_ICON → const int
-
The large version of the icon should be used as the notification icon
0x00000020
- NIIF_NONE → const int
-
No icon.
0x00000000
- NIIF_NOSOUND → const int
-
Do not play the associated sound. Applies only to notifications.
0x00000010
- NIIF_RESPECT_QUIET_TIME → const int
-
Do not display the balloon notification if the curr user is in "quiet time"
0x00000080
- NIIF_USER → const int
-
Windows Vista and later: Use the icon identified in hBalloonIcon as the
notification balloon's title icon.
0x00000004
- NIIF_WARNING → const int
-
A warning icon.
0x00000002
- NIM_ADD → const int
-
Adds an icon to the status area. The icon is given an identifier in the
NOTIFYICONDATA structure pointed to by lpdata—either through its uID or
guidItem member. This identifier is used in subsequent calls to
Shell_NotifyIcon to perform later actions on the icon.
0x00000000
- NIM_DELETE → const int
-
Deletes an icon from the status area. NOTIFYICONDATA structure
pointed to by lpdata uses the ID originally assigned to the icon when it was
added to the notification area (NIM_ADD) to identify the icon to be deleted.
0x00000002
- NIM_MODIFY → const int
-
Modifies an icon in the status area. NOTIFYICONDATA structure pointed to by
lpdata uses the ID originally assigned to the icon when it was added to the
notification area (NIM_ADD) to identify the icon to be modified.
0x00000001
- NIM_SETFOCUS → const int
-
Shell32.dll version 5.0 and later only. Returns focus to the
taskbar notification area. Notification area icons should use this message
when they have completed their UI operation. For example, if the icon
displays a shortcut menu, but the user presses ESC to cancel it, use
NIM_SETFOCUS to return focus to the notification area.
0x00000003
- NIM_SETVERSION → const int
-
Shell32.dll version 5.0 and later only. Instructs the notification area to
behave according to the version number specified in the uVersion member of
the structure pointed to by lpdata. The version number specifies which
members are recognized. NIM_SETVERSION must be called every time a
notification area icon is added (NIM_ADD)>. It does not need to be called
with NIM_MOFIDY. The version setting is not persisted once a user logs off.
0x00000004
- NIN_BALLOONHIDE → const int
-
Sent when the balloon disappears. For example, when the icon is deleted.
This message is not sent if the balloon is dismissed because of a timeout or
if the user clicks the mouse.
As of Windows 7, NIN_BALLOONHIDE is also sent when a notification with
the NIIF_RESPECT_QUIET_TIME flag set attempts to display during quiet time
(a user's first hour on a new computer). In that case, the balloon is never
displayed at all.
WM_USER + 3
- NIN_BALLOONSHOW → const int
-
Sent when the balloon is shown (balloons are queued).
WM_USER + 2
- NIN_BALLOONTIMEOUT → const int
-
Sent when the balloon is dismissed because of a timeout.
WM_USER + 4
- NIN_BALLOONUSERCLICK → const int
-
Sent when the balloon is dismissed because the user clicked the mouse.
WM_USER + 5
- NIN_KEYSELECT → const int
-
If a user selects a notify icon with the keyboard and activates it with
the SPACEBAR or ENTER key, the version 5.0 Shell sends the associated
application an NIN_KEYSELECT notification. Earlier versions send
WM_RBUTTONDOWN and WM_RBUTTONUP messages.
NIN_SELECT | NINF_KEY
- NIN_POPUPCLOSE → const int
-
Sent when a cursor no longer hovers over an icon to indicate that the rich
pop-up UI should be closed.
WM_USER + 7
- NIN_POPUPOPEN → const int
-
Sent when the user hovers the cursor over an icon to indicate that the
richer pop-up UI should be used in place of a standard textual tooltip.
WM_USER + 6
- NIN_SELECT → const int
-
If a user selects a notify icon with the mouse and activates it with the
ENTER key, the Shell now sends the associated application an NIN_SELECT
notification. Earlier versions send WM_RBUTTONDOWN and WM_RBUTTONUP
messages.
WM_USER + 0
- NINF_KEY → const int
-
0x1
- NIS_HIDDEN → const int
-
The icon is hidden.
0x00000001
- NIS_SHAREDICON → const int
-
The icon resource is shared between multiple icons.
0x00000002
- NO_ERROR → const int
-
The operation completed successfully.
0
- NOTIFYICON_VERSION → const int
-
3
- NOTIFYICON_VERSION_4 → const int
-
4
- NULL → const int
-
A zero value; used to represent an empty bitmask.
0
- OPEN_ALWAYS → const int
-
Opens a file, always.
4
- OPEN_EXISTING → const int
-
Opens a file or device, only if it exists.
3
- PBT_APMBATTERYLOW → const int
-
Notifies applications that the battery power is low.
0x0009
- PBT_APMPOWERSTATUSCHANGE → const int
-
Notifies applications of a change in the power status of the computer, such
as a switch from battery power to A/C. The system also broadcasts this event
when remaining battery power slips below the threshold specified by the user
or if the battery power changes by a specified percentage.
0x000A
- PBT_APMRESUMEAUTOMATIC → const int
-
Notifies applications that the system is resuming from sleep or hibernation.
This event is delivered every time the system resumes and does not indicate
whether a user is present.
0x0012
- PBT_APMRESUMESUSPEND → const int
-
Notifies applications that the system has resumed operation after being
suspended.
0x0007
- PBT_APMSUSPEND → const int
-
Notifies applications that the computer is about to enter a suspended state.
This event is typically broadcast when all applications and installable
drivers have returned TRUE to a previous PBT_APMQUERYSUSPEND event.
0x0004
- PBT_POWERSETTINGCHANGE → const int
-
Power setting change event sent with a WM_POWERBROADCAST window message or
in a HandlerEx notification callback for services.
0x8013
- PHYSICAL_MONITOR_DESCRIPTION_SIZE → const int
-
128
- PIPE_ACCEPT_REMOTE_CLIENTS → const int
-
Connections from remote clients can be accepted and checked against the
security descriptor for the pipe.
0x00000000
- PIPE_ACCESS_DUPLEX → const int
-
The pipe is bi-directional; both server and client processes can read from
and write to the pipe. This mode gives the server the equivalent of
GENERIC_READ and GENERIC_WRITE access to the pipe. The client can specify
GENERIC_READ or GENERIC_WRITE, or both, when it connects to the pipe using
the CreateFile function.
0x00000003
- PIPE_ACCESS_INBOUND → const int
-
The flow of data in the pipe goes from client to server only. This mode
gives the server the equivalent of GENERIC_READ access to the pipe. The
client must specify GENERIC_WRITE access when connecting to the pipe. If the
client must read pipe settings by calling the GetNamedPipeInfo or
GetNamedPipeHandleState functions, the client must specify GENERIC_WRITE and
FILE_READ_ATTRIBUTES access when connecting to the pipe.
0x00000001
- PIPE_ACCESS_OUTBOUND → const int
-
The flow of data in the pipe goes from server to client only. This mode
gives the server the equivalent of GENERIC_WRITE access to the pipe. The
client must specify GENERIC_READ access when connecting to the pipe. If the
client must change pipe settings by calling the SetNamedPipeHandleState
function, the client must specify GENERIC_READ and FILE_WRITE_ATTRIBUTES
access when connecting to the pipe.
0x00000002
- PIPE_CLIENT_END → const int
-
The handle refers to the client end of a named pipe instance. This is the
default.
0x00000000
- PIPE_NOWAIT → const int
-
Nonblocking mode is enabled. In this mode, ReadFile, WriteFile, and
ConnectNamedPipe always return immediately.
0x00000001
- PIPE_READMODE_BYTE → const int
-
Data is read from the pipe as a stream of bytes. This mode can be used with
either PIPE_TYPE_MESSAGE or PIPE_TYPE_BYTE.
0x00000000
- PIPE_READMODE_MESSAGE → const int
-
Data is read from the pipe as a stream of messages. This mode can be only
used if PIPE_TYPE_MESSAGE is also specified.
0x00000002
- PIPE_REJECT_REMOTE_CLIENTS → const int
-
Connections from remote clients are automatically rejected.
0x00000008
- PIPE_SERVER_END → const int
-
The handle refers to the server end of a named pipe instance. If this value
is not specified, the handle refers to the client end of a named pipe
instance.
0x00000001
- PIPE_TYPE_BYTE → const int
-
The named pipe is a byte pipe. This is the default.
0x00000000
- PIPE_TYPE_MESSAGE → const int
-
The named pipe is a message pipe. If this value is not specified, the pipe
is a byte pipe.
0x00000004
- PIPE_UNLIMITED_INSTANCES → const int
-
The number of pipe instances that can be created is limited only by the
availability of system resources.
255
- PIPE_WAIT → const int
-
Blocking mode is enabled. When the pipe handle is specified in the ReadFile,
WriteFile, or ConnectNamedPipe function, the operations are not completed
until there is data to read, all data is written, or a client is connected.
Use of this mode can mean waiting indefinitely in some situations for a
client process to perform an action.
0x00000000
- PM_NOREMOVE → const int
-
Messages are not removed from the queue after processing by PeekMessage.
0x0000
- PM_NOYIELD → const int
-
Prevents the system from releasing any thread that is waiting for the caller
to go idle.
0x0002
- PM_REMOVE → const int
-
Messages are removed from the queue after processing by PeekMessage.
0x0001
- PS_ALTERNATE → const int
-
The pen sets every other pixel. (This style is applicable only for cosmetic
pens.)
8
- PS_COSMETIC → const int
-
The pen is cosmetic.
0x00000000
- PS_DASH → const int
-
The pen is dashed.
1
- PS_DASHDOT → const int
-
The pen has alternating dashes and dots.
3
- PS_DASHDOTDOT → const int
-
The pen has alternating dashes and double dots.
4
- PS_DOT → const int
-
The pen is dotted.
2
- PS_ENDCAP_FLAT → const int
-
End caps are flat.
0x00000200
- PS_ENDCAP_MASK → const int
-
Mask for pen endcap styles.
0x00000F00
- PS_ENDCAP_ROUND → const int
-
End caps are round.
0x00000000
- PS_ENDCAP_SQUARE → const int
-
End caps are square.
0x00000100
- PS_GEOMETRIC → const int
-
The pen is geometric.
0x00010000
- PS_INSIDEFRAME → const int
-
The pen is solid. When this pen is used in any GDI drawing function that
takes a bounding rectangle, the dimensions of the figure are shrunk so that
it fits entirely in the bounding rectangle, taking into account the width of
the pen. This applies only to geometric pens.
6
- PS_JOIN_BEVEL → const int
-
Line joins are beveled.
0x00001000
- PS_JOIN_MASK → const int
-
Mask for pen join values.
0x0000F000
- PS_JOIN_MITER → const int
-
Line joins are mitered when they are within the current limit set by the
SetMiterLimit function. A join is beveled when it would exceed the limit.
0x00002000
- PS_JOIN_ROUND → const int
-
Line joins are round.
0x00000000
- PS_NULL → const int
-
The pen is invisible.
5
- PS_SOLID → const int
-
The pen is solid.
0
- PS_STYLE_MASK → const int
-
0x0000000F
- PS_TYPE_MASK → const int
-
Mask for pen types.
0x000F0000
- PS_USERSTYLE → const int
-
The pen uses a styling array supplied by the user.
7
- QS_ALLEVENTS → const int
-
An input, WM_TIMER, WM_PAINT, WM_HOTKEY, or posted message is in the queue.
QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY
- QS_ALLINPUT → const int
-
Any message is in the queue.
QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY | QS_SENDMESSAGE
- QS_ALLPOSTMESSAGE → const int
-
A posted message (other than those listed here) is in the queue.
0x0100
- QS_HOTKEY → const int
-
A WM_HOTKEY message is in the queue.
0x0080
- QS_INPUT → const int
-
An input message is in the queue.
QS_MOUSE | QS_KEY | QS_RAWINPUT | QS_TOUCH | QS_POINTER
- QS_KEY → const int
-
A WM_KEYUP, WM_KEYDOWN, WM_SYSKEYUP, or WM_SYSKEYDOWN message is in the
queue.
0x0001
- QS_MOUSE → const int
-
A WM_MOUSEMOVE message or mouse-button message (WM_LBUTTONUP,
WM_RBUTTONDOWN, and so on).
QS_MOUSEMOVE | QS_MOUSEBUTTON
- QS_MOUSEBUTTON → const int
-
A mouse-button message (WM_LBUTTONUP, WM_RBUTTONDOWN, and so on).
0x0004
- QS_MOUSEMOVE → const int
-
A WM_MOUSEMOVE message is in the queue.
0x0002
- QS_PAINT → const int
-
A WM_PAINT message is in the queue.
0x0020
- QS_POINTER → const int
-
A pointer message is in the queue.
0x1000
- QS_POSTMESSAGE → const int
-
A posted message (other than those listed here) is in the queue.
0x0008
- QS_RAWINPUT → const int
-
A raw input message is in the queue.
0x0400
- QS_SENDMESSAGE → const int
-
A message sent by another thread or application is in the queue.
0x0040
- QS_TIMER → const int
-
A WM_TIMER message is in the queue.
0x0010
- QS_TOUCH → const int
-
A touch message is in the queue.
0x0800
- READ_CONTROL → const int
-
The right to read the information in the object's security descriptor, not
including the information in the system access control list (SACL).
0x00020000
- RO_E_CHANGE_NOTIFICATION_IN_PROGRESS → const int
-
Operation is prohibited during change notification.
0x80000015
- RO_E_CLOSED → const int
-
The object has been closed.
0x80000013
- RO_E_ERROR_STRING_NOT_FOUND → const int
-
The text associated with this error code could not be found.
0x80000016
- RO_E_EXCLUSIVE_WRITE → const int
-
Only one thread may access the object during a write operation.
0x80000014
- RO_E_INVALID_METADATA_FILE → const int
-
Metadata file is invalid or corrupted.
0x80000012
- RO_E_METADATA_INVALID_TYPE_FORMAT → const int
-
Typename has an invalid format.
0x80000011
- RO_E_METADATA_NAME_IS_NAMESPACE → const int
-
Name is an existing namespace rather than a typename.
0x80000010
- RO_E_METADATA_NAME_NOT_FOUND → const int
-
Typename or Namespace was not found in metadata file.
0x8000000F
- S_FALSE → const int
-
Operation successful [...]
1
- S_OK → const int
-
Operation successful
0
- SC_CLOSE → const int
-
Closes the window.
0xF060
- SC_CONTEXTHELP → const int
-
Changes the cursor to a question mark with a pointer. If the user then
clicks a control in the dialog box, the control receives a WM_HELP message.
0xF180
- SC_DEFAULT → const int
-
Selects the default item; the user double-clicked the window menu.
0xF160
- SC_HOTKEY → const int
-
Activates the window associated with the application-specified hot key. The
lParam parameter identifies the window to activate.
0xF150
- SC_HSCROLL → const int
-
Scrolls horizontally.
0xF080
- SC_KEYMENU → const int
-
Retrieves the window menu as a result of a keystroke.
0xF100
- SC_MAXIMIZE → const int
-
Maximizes the window.
0xF030
- SC_MINIMIZE → const int
-
Minimizes the window.
0xF020
- SC_MONITORPOWER → const int
-
Sets the state of the display. This command supports devices that have
power-saving features, such as a battery-powered personal computer.
0xF170
- SC_MOUSEMENU → const int
-
Retrieves the window menu as a result of a mouse click.
0xF090
- SC_MOVE → const int
-
Moves the window.
0xF010
- SC_NEXTWINDOW → const int
-
Moves to the next window.
0xF040
- SC_PREVWINDOW → const int
-
Moves to the previous window.
0xF050
- SC_RESTORE → const int
-
Restores the window to its normal position and size.
0xF120
- SC_SCREENSAVE → const int
-
Executes the screen saver application.
0xF140
- SC_SIZE → const int
-
Sizes the window.
0xF000
- SC_TASKLIST → const int
-
Activates the Start menu.
0xF130
- SC_VSCROLL → const int
-
Scrolls vertically.
0xF070
- SCF_ISSECURE → const int
-
Indicates whether the screen saver is secure.
0x00000001
- SCS_32BIT_BINARY → const int
-
A 32-bit Windows-based application
0
- SCS_64BIT_BINARY → const int
-
A 64-bit Windows-based application.
6
- SCS_DOS_BINARY → const int
-
An MS-DOS – based application
1
- SCS_OS216_BINARY → const int
-
A 16-bit OS/2-based application
5
- SCS_PIF_BINARY → const int
-
A PIF file that executes an MS-DOS–based application
3
- SCS_POSIX_BINARY → const int
-
A POSIX–based application
4
- SCS_WOW_BINARY → const int
-
A 16-bit Windows-based application
2
- SEC_E_OK → const int
-
The operation completed successfully.
0
- SHUTDOWN_FORCE_OTHERS → const int
-
All sessions are forcefully logged off. If this flag is not set and users
other than the current user are logged on to the computer specified by the
lpMachineName parameter, this function fails with a return value of
ERROR_SHUTDOWN_USERS_LOGGED_ON.
0x0000001
- SHUTDOWN_FORCE_SELF → const int
-
Specifies that the originating session is logged off forcefully. If this
flag is not set, the originating session is shut down interactively, so a
shutdown is not guaranteed even if the function returns successfully.
0x0000002
- SHUTDOWN_GRACE_OVERRIDE → const int
-
Overrides the grace period so that the computer is shut down immediately.
0x0000020
- SHUTDOWN_HYBRID → const int
-
Beginning with InitiateShutdown running on Windows 8, you must include the
SHUTDOWN_HYBRID flag with one or more of the flags in this table to specify
options for the shutdown.
0x0000200
- SHUTDOWN_INSTALL_UPDATES → const int
-
The computer installs any updates before starting the shutdown.
0x0000040
- SHUTDOWN_NOREBOOT → const int
-
The computer is shut down but is not powered down or rebooted.
0x0000010
- SHUTDOWN_POWEROFF → const int
-
The computer is shut down and powered down.
0x0000008
- SHUTDOWN_RESTART → const int
-
The computer is shut down and rebooted.
0x0000004
- SHUTDOWN_RESTARTAPPS → const int
-
The system is rebooted using the ExitWindowsEx function with the
EWX_RESTARTAPPS flag. This restarts any applications that have been
registered for restart using the RegisterApplicationRestart function.
0x0000080
- SIF_ALL → const int
-
Combines SIF_RANGE, SIF_PAGE, SIF_POS and SIF_TRACKPOS.
SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS
- SIF_DISABLENOSCROLL → const int
-
Disables the scroll bar instead of removing it, if the scroll bar's new
parameters make the scroll bar unnecessary.
0x0008
- SIF_PAGE → const int
-
Copies the scroll page to the nPage member of the SCROLLINFO structure
pointed to by lpsi.
0x0002
- SIF_POS → const int
-
Copies the scroll position to the nPos member of the SCROLLINFO structure
pointed to by lpsi.
0x0004
- SIF_RANGE → const int
-
Copies the scroll range to the nMin and nMax members of the SCROLLINFO
structure pointed to by lpsi.
0x0001
- SIF_TRACKPOS → const int
-
Copies the current scroll box tracking position to the nTrackPos member of
the SCROLLINFO structure pointed to by lpsi.
0x0010
- SM_ARRANGE → const int
-
The flags that specify how the system arranged minimized windows.
56
- SM_CLEANBOOT → const int
-
The value that specifies how the system is started.
67
- SM_CMONITORS → const int
-
The number of display monitors on a desktop.
80
- SM_CMOUSEBUTTONS → const int
-
The number of buttons on a mouse, or zero if no mouse is installed.
43
- SM_CONVERTIBLESLATEMODE → const int
-
Reflects the state of the laptop or slate mode, 0 for Slate Mode and
non-zero otherwise.
0x2003
- SM_CXBORDER → const int
-
The width of a window border, in pixels.
5
- SM_CXCURSOR → const int
-
The width of a cursor, in pixels.
13
- SM_CXDLGFRAME → const int
-
This value is the same as SM_CXFIXEDFRAME.
7
- SM_CXDOUBLECLK → const int
-
The width of the rectangle around the location of a first click in a
double-click sequence, in pixels. The second click must occur within the
rectangle that is defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the
system to consider the two clicks a double-click.
36
- SM_CXDRAG → const int
-
The number of pixels on either side of a mouse-down point that the mouse
pointer can move before a drag operation begins. This allows the user to
click and release the mouse button easily without unintentionally starting a
drag operation. If this value is negative, it is subtracted from the left of
the mouse-down point and added to the right of it.
68
- SM_CXEDGE → const int
-
The width of a 3-D border, in pixels.
45
- SM_CXFIXEDFRAME → const int
-
The thickness of the frame around the perimeter of a window that has a
caption but is not sizable, in pixels. SM_CXFIXEDFRAME is the height of the
horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border.
SM_CXDLGFRAME
- SM_CXFOCUSBORDER → const int
-
The width of the left and right edges of the focus rectangle that the
DrawFocusRect draws. This value is in pixels.
83
- SM_CXFRAME → const int
-
This value is the same as SM_CXSIZEFRAME.
32
- SM_CXFULLSCREEN → const int
-
The width of the client area for a full-screen window on the primary display
monitor, in pixels.
16
- SM_CXHSCROLL → const int
-
The width of the arrow bitmap on a horizontal scroll bar, in pixels.
21
- SM_CXHTHUMB → const int
-
The width of the thumb box in a horizontal scroll bar, in pixels.
10
- SM_CXICON → const int
-
The default width of an icon, in pixels.
11
- SM_CXICONSPACING → const int
-
The width of a grid cell for items in large icon view, in pixels. Each item
fits into a rectangle of size SM_CXICONSPACING by SM_CYICONSPACING when
arranged. This value is always greater than or equal to SM_CXICON.
38
- SM_CXMAXIMIZED → const int
-
The default width, in pixels, of a maximized top-level window on the primary
display monitor.
61
- SM_CXMAXTRACK → const int
-
The default maximum width of a window that has a caption and sizing borders,
in pixels. This metric refers to the entire desktop. The user cannot drag
the window frame to a size larger than these dimensions.
59
- SM_CXMENUCHECK → const int
-
The width of the default menu check-mark bitmap, in pixels.
71
- SM_CXMENUSIZE → const int
-
The width of menu bar buttons, such as the child window close button that is
used in the multiple document interface, in pixels.
54
- SM_CXMIN → const int
-
The minimum width of a window, in pixels.
28
- SM_CXMINIMIZED → const int
-
The width of a minimized window, in pixels.
57
- SM_CXMINSPACING → const int
-
The width of a grid cell for a minimized window, in pixels. Each minimized
window fits into a rectangle this size when arranged. This value is always
greater than or equal to SM_CXMINIMIZED.
47
- SM_CXMINTRACK → const int
-
The minimum tracking width of a window, in pixels. The user cannot drag the
window frame to a size smaller than these dimensions.
34
- SM_CXPADDEDBORDER → const int
-
The amount of border padding for captioned windows, in pixels.
92
- SM_CXSCREEN → const int
-
The width of the screen of the primary display monitor, in pixels.
0
- SM_CXSIZE → const int
-
The width of a button in a window caption or title bar, in pixels.
30
- SM_CXSIZEFRAME → const int
-
The thickness of the sizing border around the perimeter of a window that can
be resized, in pixels. SM_CXSIZEFRAME is the width of the horizontal border,
and SM_CYSIZEFRAME is the height of the vertical border.
SM_CXFRAME
- SM_CXSMICON → const int
-
The recommended width of a small icon, in pixels. Small icons typically
appear in window captions and in small icon view.
49
- SM_CXSMSIZE → const int
-
The width of small caption buttons, in pixels.
52
- SM_CXVIRTUALSCREEN → const int
-
The width of the virtual screen, in pixels. The virtual screen is the
bounding rectangle of all display monitors. The SM_XVIRTUALSCREEN metric is
the coordinates for the left side of the virtual screen.
78
- SM_CXVSCROLL → const int
-
The width of a vertical scroll bar, in pixels.
2
- SM_CYBORDER → const int
-
The height of a window border, in pixels.
6
- SM_CYCAPTION → const int
-
The height of a caption area, in pixels.
4
- SM_CYCURSOR → const int
-
The height of a cursor, in pixels.
14
- SM_CYDLGFRAME → const int
-
This value is the same as SM_CYFIXEDFRAME.
8
- SM_CYDOUBLECLK → const int
-
The height of the rectangle around the location of a first click in a
double-click sequence, in pixels. The second click must occur within the
rectangle defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to
consider the two clicks a double-click. The two clicks must also occur
within a specified time.
37
- SM_CYDRAG → const int
-
The number of pixels above and below a mouse-down point that the mouse
pointer can move before a drag operation begins. This allows the user to
click and release the mouse button easily without unintentionally starting a
drag operation. If this value is negative, it is subtracted from above the
mouse-down point and added below it.
69
- SM_CYEDGE → const int
-
The height of a 3-D border, in pixels.
46
- SM_CYFIXEDFRAME → const int
-
The thickness of the frame around the perimeter of a window that has a
caption but is not sizable, in pixels. SM_CXFIXEDFRAME is the height of the
horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border.
SM_CYDLGFRAME
- SM_CYFOCUSBORDER → const int
-
The height of the top and bottom edges of the focus rectangle drawn by
DrawFocusRect. This value is in pixels.
84
- SM_CYFRAME → const int
-
This value is the same as SM_CYSIZEFRAME.
33
- SM_CYFULLSCREEN → const int
-
The height of the client area for a full-screen window on the primary
display monitor, in pixels.
17
- SM_CYHSCROLL → const int
-
The height of a horizontal scroll bar, in pixels.
3
- SM_CYICON → const int
-
The default height of an icon, in pixels.
12
- SM_CYICONSPACING → const int
-
The height of a grid cell for items in large icon view, in pixels. Each item
fits into a rectangle of size SM_CXICONSPACING by SM_CYICONSPACING when
arranged. This value is always greater than or equal to SM_CYICON.
39
- SM_CYKANJIWINDOW → const int
-
For double byte character set versions of the system, this is the height of
the Kanji window at the bottom of the screen, in pixels.
18
- SM_CYMAXIMIZED → const int
-
The default height, in pixels, of a maximized top-level window on the
primary display monitor.
62
- SM_CYMAXTRACK → const int
-
The default maximum height of a window that has a caption and sizing
borders, in pixels. This metric refers to the entire desktop. The user
cannot drag the window frame to a size larger than these dimensions.
60
- SM_CYMENU → const int
-
The height of a single-line menu bar, in pixels.
15
- SM_CYMENUCHECK → const int
-
The height of the default menu check-mark bitmap, in pixels.
72
- SM_CYMENUSIZE → const int
-
The height of menu bar buttons, such as the child window close button that
is used in the multiple document interface, in pixels.
55
- SM_CYMIN → const int
-
The minimum height of a window, in pixels.
29
- SM_CYMINIMIZED → const int
-
The height of a minimized window, in pixels.
58
- SM_CYMINSPACING → const int
-
The height of a grid cell for a minimized window, in pixels. Each minimized
window fits into a rectangle this size when arranged. This value is always
greater than or equal to SM_CYMINIMIZED.
48
- SM_CYMINTRACK → const int
-
The minimum tracking height of a window, in pixels. The user cannot drag the
window frame to a size smaller than these dimensions.
35
- SM_CYSCREEN → const int
-
The height of the screen of the primary display monitor, in pixels.
1
- SM_CYSIZE → const int
-
The height of a button in a window caption or title bar, in pixels.
31
- SM_CYSIZEFRAME → const int
-
The thickness of the sizing border around the perimeter of a window that can
be resized, in pixels. SM_CXSIZEFRAME is the width of the horizontal border,
and SM_CYSIZEFRAME is the height of the vertical border.
SM_CYFRAME
- SM_CYSMCAPTION → const int
-
The height of a small caption, in pixels.
51
- SM_CYSMICON → const int
-
The recommended height of a small icon, in pixels. Small icons typically
appear in window captions and in small icon view.
50
- SM_CYSMSIZE → const int
-
The height of small caption buttons, in pixels.
53
- SM_CYVIRTUALSCREEN → const int
-
The height of the virtual screen, in pixels. The virtual screen is the
bounding rectangle of all display monitors. The SM_YVIRTUALSCREEN metric is
the coordinates for the top of the virtual screen.
79
- SM_CYVSCROLL → const int
-
The height of the arrow bitmap on a vertical scroll bar, in pixels.
20
- SM_CYVTHUMB → const int
-
The height of the thumb box in a vertical scroll bar, in pixels.
9
- SM_DBCSENABLED → const int
-
Nonzero if User32.dll supports DBCS; otherwise, 0.
42
- SM_DEBUG → const int
-
Nonzero if the debug version of User.exe is installed; otherwise, 0.
22
- SM_DIGITIZER → const int
-
Nonzero if the current operating system is Windows 7 or Windows Server 2008
R2 and the Tablet PC Input service is started; otherwise, 0. The return
value is a bitmask that specifies the type of digitizer input supported by
the device.
94
- SM_IMMENABLED → const int
-
Nonzero if Input Method Manager/Input Method Editor features are enabled;
otherwise, 0.
82
- SM_MAXIMUMTOUCHES → const int
-
Nonzero if there are digitizers in the system; otherwise, 0.
SM_MAXIMUMTOUCHES returns the aggregate maximum of the maximum number of
contacts supported by every digitizer in the system. If the system has only
single-touch digitizers, the return value is 1. If the system has
multi-touch digitizers, the return value is the number of simultaneous
contacts the hardware can provide.
95
- SM_MEDIACENTER → const int
-
Nonzero if the current operating system is the Windows XP, Media Center
Edition, 0 if not.
87
- SM_MENUDROPALIGNMENT → const int
-
Nonzero if drop-down menus are right-aligned with the corresponding menu-bar
item; 0 if the menus are left-aligned.
40
- SM_MIDEASTENABLED → const int
-
Nonzero if the system is enabled for Hebrew and Arabic languages, 0 if not.
74
- SM_MOUSEHORIZONTALWHEELPRESENT → const int
-
Nonzero if a mouse with a horizontal scroll wheel is installed; otherwise 0.
91
- SM_MOUSEPRESENT → const int
-
Nonzero if a mouse is installed; otherwise, 0. This value is rarely zero,
because of support for virtual mice and because some systems detect the
presence of the port instead of the presence of a mouse.
19
- SM_MOUSEWHEELPRESENT → const int
-
Nonzero if a mouse with a vertical scroll wheel is installed; otherwise 0.
75
- SM_NETWORK → const int
-
The least significant bit is set if a network is present; otherwise, it is
cleared.
63
- SM_PENWINDOWS → const int
-
Nonzero if the Microsoft Windows for Pen computing extensions are installed;
zero otherwise.
41
- SM_REMOTECONTROL → const int
-
This system metric is used in a Terminal Services environment to determine
if the current Terminal Server session is being remotely controlled. Its
value is nonzero if the current session is remotely controlled; otherwise,
0.
0x2001
- SM_REMOTESESSION → const int
-
This system metric is used in a Terminal Services environment. If the
calling process is associated with a Terminal Services client session, the
return value is nonzero. If the calling process is associated with the
Terminal Services console session, the return value is 0
0x1000
- SM_SAMEDISPLAYFORMAT → const int
-
Nonzero if all the display monitors have the same color format, otherwise, [...]
81
- SM_SECURE → const int
-
This system metric should be ignored; it always returns 0.
44
- SM_SERVERR2 → const int
-
The build number if the system is Windows Server 2003 R2; otherwise, 0.
89
- SM_SHOWSOUNDS → const int
-
Nonzero if the user requires an application to present information visually
in situations where it would otherwise present the information only in
audible form; otherwise, 0.
70
- SM_SHUTTINGDOWN → const int
-
Nonzero if the current session is shutting down; otherwise, 0.
0x2000
- SM_SLOWMACHINE → const int
-
Nonzero if the computer has a low-end (slow) processor; otherwise, 0.
73
- SM_STARTER → const int
-
Nonzero if the current operating system is Windows 7 Starter Edition,
Windows Vista Starter, or Windows XP Starter Edition; otherwise, 0.
88
- SM_SWAPBUTTON → const int
-
Nonzero if the meanings of the left and right mouse buttons are swapped;
otherwise, 0.
23
- SM_SYSTEMDOCKED → const int
-
Reflects the state of the docking mode, 0 for Undocked Mode and non-zero
otherwise.
0x2004
- SM_TABLETPC → const int
-
Nonzero if the current operating system is the Windows XP Tablet PC edition
or if the current operating system is Windows Vista or Windows 7 and the
Tablet PC Input service is started; otherwise, 0.
86
- SM_XVIRTUALSCREEN → const int
-
The coordinates for the left side of the virtual screen. The virtual screen
is the bounding rectangle of all display monitors. The SM_CXVIRTUALSCREEN
metric is the width of the virtual screen.
76
- SM_YVIRTUALSCREEN → const int
-
The coordinates for the top of the virtual screen. The virtual screen is the
bounding rectangle of all display monitors. The SM_CYVIRTUALSCREEN metric is
the height of the virtual screen.
77
- SND_ALIAS → const int
-
name is a registry alias
0x00010000
- SND_ALIAS_ID → const int
-
alias is a predefined ID
0x00110000
- SND_APPLICATION → const int
-
look for application specific association
0x0080
- SND_ASYNC → const int
-
play asynchronously
0x0001
- SND_FILENAME → const int
-
name is file name
0x00020000
- SND_LOOP → const int
-
loop the sound until next sndPlaySound
0x0008
- SND_MEMORY → const int
-
pszSound points to a memory file
0x0004
- SND_NODEFAULT → const int
-
silence (!default) if sound not found
0x0002
- SND_NOSTOP → const int
-
don't stop any currently playing sound
0x0010
- SND_NOWAIT → const int
-
don't wait if the driver is busy
0x00002000
- SND_PURGE → const int
-
purge non-static events for task
0x0040
- SND_RESOURCE → const int
-
name is resource name or atom
0x00040004
- SND_RING → const int
-
Treat this as a "ring" from a communications app - don't duck me
0x00100000
- SND_SENTRY → const int
-
Generate a SoundSentry event with this sound
0x00080000
- SND_SYNC → const int
-
play synchronously (default)
0x0000
- SND_SYSTEM → const int
-
Treat this as a system sound
0x00200000
- SPI_GETANIMATION → const int
-
Retrieves the animation effects associated with user actions. The pvParam
parameter must point to an ANIMATIONINFO structure that receives the
information. Set the cbSize member of this structure and the uiParam
parameter to sizeof(ANIMATIONINFO).
0x0048
- SPI_GETBEEP → const int
-
Determines whether the warning beeper is on.
0x0001
- SPI_GETBORDER → const int
-
Retrieves the border multiplier factor that determines the width of a
window's sizing border. The pvParamparameter must point to an integer
variable that receives this value.
0x0005
- SPI_GETDEFAULTINPUTLANG → const int
-
Retrieves the input locale identifier for the system default input language. [...]
0x0059
- SPI_GETDRAGFULLWINDOWS → const int
-
Determines whether dragging of full windows is enabled. The pvParam
parameter must point to a BOOL variable that receives TRUE if enabled, or
FALSE otherwise.
0x0026
- SPI_GETFILTERKEYS → const int
-
Retrieves information about the FilterKeys accessibility feature. The
pvParam parameter must point to a FILTERKEYS structure that receives the
information. Set the cbSize member of this structure and the uiParam
parameter to sizeof(FILTERKEYS).
0x0032
- SPI_GETFONTSMOOTHING → const int
-
Determines whether the font smoothing feature is enabled. This feature uses
font antialiasing to make font curves appear smoother by painting pixels at
different gray levels. [...]
0x004A
- SPI_GETHIGHCONTRAST → const int
-
Retrieves information about the HighContrast accessibility feature. The
pvParam parameter must point to a HIGHCONTRAST structure that receives the
information. Set the cbSize member of this structure and the uiParam
parameter to sizeof(HIGHCONTRAST).
0x0042
- SPI_GETICONMETRICS → const int
-
Retrieves the metrics associated with icons. The pvParam parameter must
point to an ICONMETRICS structure that receives the information. Set the
cbSize member of this structure and the uiParam parameter to
sizeof(ICONMETRICS).
0x002D
- SPI_GETICONTITLELOGFONT → const int
-
Retrieves the logical font information for the current icon-title font. The
uiParam parameter specifies the size of a LOGFONT structure, and the pvParam
parameter must point to the LOGFONT structure to fill in.
0x001F
- SPI_GETICONTITLEWRAP → const int
-
Determines whether icon-title wrapping is enabled. The pvParam parameter
must point to a BOOL variable that receives TRUE if enabled, or FALSE
otherwise.
0x0019
- SPI_GETKEYBOARDDELAY → const int
-
Retrieves the keyboard repeat-delay setting, which is a value in the range
from 0 (approximately 250 ms delay) through 3 (approximately 1 second
delay). [...]
0x0016
- SPI_GETKEYBOARDPREF → const int
-
Determines whether the user relies on the keyboard instead of the mouse, and
wants applications to display keyboard interfaces that would otherwise be
hidden. The pvParam parameter must point to a BOOL variable that receives
TRUE if the user relies on the keyboard; or FALSE otherwise.
0x0044
- SPI_GETKEYBOARDSPEED → const int
-
Retrieves the keyboard repeat-speed setting, which is a value in the range
from 0 (approximately 2.5 repetitions per second) through 31 (approximately
30 repetitions per second). The actual repeat rates are hardware-dependent
and may vary from a linear scale by as much as 20%. The pvParam parameter
must point to a DWORD variable that receives the setting.
0x000A
- SPI_GETLOWPOWERTIMEOUT → const int
-
This parameter is not supported.
0x004F
- SPI_GETMENUDROPALIGNMENT → const int
-
Determines whether pop-up menus are left-aligned or right-aligned, relative
to the corresponding menu-bar item. The pvParam parameter must point to a
BOOL variable that receives TRUE if right-aligned, or FALSE otherwise.
0x001B
- SPI_GETMINIMIZEDMETRICS → const int
-
Retrieves the metrics associated with minimized windows. The pvParam
parameter must point to a MINIMIZEDMETRICS structure that receives the
information. Set the cbSize member of this structure and the uiParam
parameter to sizeof(MINIMIZEDMETRICS).
0x002B
- SPI_GETMOUSE → const int
-
Retrieves the two mouse threshold values and the mouse acceleration. The
pvParam parameter must point to an array of three integers that receives
these values. See mouse_event for further information.
0x0003
- SPI_GETMOUSEKEYS → const int
-
Retrieves information about the MouseKeys accessibility feature. The pvParam
parameter must point to a MOUSEKEYS structure that receives the information.
Set the cbSize member of this structure and the uiParam parameter to
sizeof(MOUSEKEYS).
0x0036
- SPI_GETMOUSETRAILS → const int
-
Determines whether the Mouse Trails feature is enabled. This feature
improves the visibility of mouse cursor movements by briefly showing a trail
of cursors and quickly erasing them. [...]
0x005E
- SPI_GETNONCLIENTMETRICS → const int
-
Retrieves the metrics associated with the nonclient area of nonminimized
windows. The pvParam parameter must point to a NONCLIENTMETRICS structure
that receives the information. Set the cbSize member of this structure and
the uiParam parameter to sizeof(NONCLIENTMETRICS).
0x0029
- SPI_GETPOWEROFFACTIVE → const int
-
This parameter is not supported.
0x0054
- SPI_GETPOWEROFFTIMEOUT → const int
-
This parameter is not supported.
0x0050
- SPI_GETSCREENREADER → const int
-
Determines whether a screen reviewer utility is running. A screen reviewer
utility directs textual information to an output device, such as a speech
synthesizer or Braille display. When this flag is set, an application should
provide textual information in situations where it would otherwise present
the information graphically. [...]
0x0046
- SPI_GETSCREENSAVEACTIVE → const int
-
Determines whether screen saving is enabled. The pvParam parameter must
point to a BOOL variable that receives TRUE if screen saving is enabled, or
FALSE otherwise.
0x0010
- SPI_GETSCREENSAVETIMEOUT → const int
-
Retrieves the screen saver time-out value, in seconds. The pvParam parameter
must point to an integer variable that receives the value.
0x000E
- SPI_GETTOGGLEKEYS → const int
-
Retrieves information about the ToggleKeys accessibility feature. The
pvParam parameter must point to a TOGGLEKEYS structure that receives the
information. Set the cbSize member of this structure and the uiParam
parameter to sizeof(TOGGLEKEYS).
0x0034
- SPI_GETWORKAREA → const int
-
Retrieves the size of the work area on the primary display monitor. The work
area is the portion of the screen not obscured by the system taskbar or by
application desktop toolbars. The pvParam parameter must point to a RECT
structure that receives the coordinates of the work area, expressed in
physical pixel size. Any DPI virtualization mode of the caller has no effect
on this output. [...]
0x0030
- SPI_ICONHORIZONTALSPACING → const int
-
Sets or retrieves the width, in pixels, of an icon cell. [...]
0x000D
- SPI_ICONVERTICALSPACING → const int
-
Sets or retrieves the height, in pixels, of an icon cell. [...]
0x0018
- SPI_SETANIMATION → const int
-
Sets the animation effects associated with user actions. The pvParam
parameter must point to an ANIMATIONINFO structure that contains the new
parameters. Set the cbSize member of this structure and the uiParam
parameter to sizeof(ANIMATIONINFO).
0x0049
- SPI_SETBEEP → const int
-
Turns the warning beeper on or off. The uiParam parameter specifies TRUE for
on, or FALSE for off.
0x0002
- SPI_SETBORDER → const int
-
Sets the border multiplier factor that determines the width of a window's
sizing border. The uiParam parameter specifies the new value.
0x0006
- SPI_SETCURSORS → const int
-
Reloads the system cursors. Set the uiParam parameter to zero and the
pvParam parameter to NULL.
0x0057
- SPI_SETDEFAULTINPUTLANG → const int
-
Sets the default input language for the system shell and applications. [...]
0x005A
- SPI_SETDESKPATTERN → const int
-
Sets the current desktop pattern.
0x0015
- SPI_SETDESKWALLPAPER → const int
-
Sets the desktop wallpaper.
0x0014
- SPI_SETDOUBLECLICKTIME → const int
-
Sets the double-click time for the mouse to the value of the uiParam
parameter. If the uiParam value is greater than 5000 milliseconds, the
system sets the double-click time to 5000 milliseconds. [...]
0x0020
- SPI_SETDOUBLECLKHEIGHT → const int
-
Sets the height of the double-click rectangle to the value of the uiParam
parameter. [...]
0x001E
- SPI_SETDOUBLECLKWIDTH → const int
-
Sets the width of the double-click rectangle to the value of the uiParam
parameter. [...]
0x001D
- SPI_SETDRAGFULLWINDOWS → const int
-
Sets dragging of full windows either on or off. The uiParam parameter
specifies TRUE for on, or FALSE for off.
0x0025
- SPI_SETDRAGHEIGHT → const int
-
Sets the height, in pixels, of the rectangle used to detect the start of a
drag operation. Set uiParam to the new value. To retrieve the drag height,
call GetSystemMetrics with the SM_CYDRAG flag.
0x004D
- SPI_SETDRAGWIDTH → const int
-
Sets the width, in pixels, of the rectangle used to detect the start of a
drag operation. Set uiParam to the new value. To retrieve the drag width,
call GetSystemMetrics with the SM_CXDRAG flag.
0x004C
- SPI_SETFILTERKEYS → const int
-
Sets the parameters of the FilterKeys accessibility feature. The pvParam
parameter must point to a FILTERKEYS structure that contains the new
parameters. Set the cbSize member of this structure and the uiParam
parameter to sizeof(FILTERKEYS).
0x0033
- SPI_SETFONTSMOOTHING → const int
-
Enables or disables the font smoothing feature, which uses font antialiasing
to make font curves appear smoother by painting pixels at different gray
levels. [...]
0x004B
- SPI_SETHIGHCONTRAST → const int
-
Sets the parameters of the HighContrast accessibility feature. The pvParam
parameter must point to a HIGHCONTRAST structure that contains the new
parameters. Set the cbSize member of this structure and the uiParam
parameter to sizeof(HIGHCONTRAST).
0x0043
- SPI_SETICONMETRICS → const int
-
Sets the metrics associated with icons. The pvParam parameter must point to
an ICONMETRICS structure that contains the new parameters. Set the cbSize
member of this structure and the uiParam parameter to sizeof(ICONMETRICS).
0x002E
- SPI_SETICONS → const int
-
Reloads the system icons. Set the uiParam parameter to zero and the pvParam
parameter to NULL.
0x0058
- SPI_SETICONTITLELOGFONT → const int
-
Sets the font that is used for icon titles. The uiParam parameter specifies
the size of a LOGFONT structure, and the pvParam parameter must point to a
LOGFONT structure.
0x0022
- SPI_SETICONTITLEWRAP → const int
-
Turns icon-title wrapping on or off. The uiParam parameter specifies TRUE
for on, or FALSE for off.
0x001A
- SPI_SETKEYBOARDDELAY → const int
-
Sets the keyboard repeat-delay setting. [...]
0x0017
- SPI_SETKEYBOARDPREF → const int
-
Sets the keyboard preference. The uiParam parameter specifies TRUE if the
user relies on the keyboard instead of the mouse, and wants applications to
display keyboard interfaces that would otherwise be hidden; uiParam is FALSE
otherwise.
0x0045
- SPI_SETKEYBOARDSPEED → const int
-
Sets the keyboard repeat-speed setting. The uiParam parameter must specify a
value in the range from 0 (approximately 2.5 repetitions per second) through
31 (approximately 30 repetitions per second). The actual repeat rates are
hardware-dependent and may vary from a linear scale by as much as 20%. If
uiParam is greater than 31, the parameter is set to 31.
0x000B
- SPI_SETLANGTOGGLE → const int
-
Sets the hot key set for switching between input languages. [...]
0x005B
- SPI_SETLOWPOWERACTIVE → const int
-
This parameter is not supported.
0x0055
- SPI_SETLOWPOWERTIMEOUT → const int
-
This parameter is not supported.
0x0051
- SPI_SETMENUDROPALIGNMENT → const int
-
Sets the alignment value of pop-up menus. The uiParam parameter specifies
TRUE for right alignment, or FALSE for left alignment.
0x001C
- SPI_SETMINIMIZEDMETRICS → const int
-
Sets the metrics associated with minimized windows. The pvParam parameter
must point to a MINIMIZEDMETRICS structure that contains the new parameters.
Set the cbSize member of this structure and the uiParam parameter to
sizeof(MINIMIZEDMETRICS).
0x002C
- SPI_SETMOUSE → const int
-
Sets the two mouse threshold values and the mouse acceleration. The pvParam
parameter must point to an array of three integers that specifies these
values. See mouse_event for further information.
0x0004
- SPI_SETMOUSEBUTTONSWAP → const int
-
Swaps or restores the meaning of the left and right mouse buttons. The
uiParam parameter specifies TRUE to swap the meanings of the buttons, or
FALSE to restore their original meanings. [...]
0x0021
- SPI_SETMOUSEKEYS → const int
-
Sets the parameters of the MouseKeys accessibility feature. The pvParam
parameter must point to a MOUSEKEYS structure that contains the new
parameters. Set the cbSize member of this structure and the uiParam
parameter to sizeof(MOUSEKEYS).
0x0037
- SPI_SETMOUSETRAILS → const int
-
Enables or disables the Mouse Trails feature, which improves the visibility
of mouse cursor movements by briefly showing a trail of cursors and quickly
erasing them. [...]
0x005D
- SPI_SETNONCLIENTMETRICS → const int
-
Sets the metrics associated with the nonclient area of nonminimized windows.
The pvParam parameter must point to a NONCLIENTMETRICS structure that
contains the new parameters. Set the cbSize member of this structure and the
uiParam parameter to sizeof(NONCLIENTMETRICS). Also, the lfHeight member of
the LOGFONT structure must be a negative value.
0x002A
- SPI_SETPOWEROFFACTIVE → const int
-
This parameter is not supported.
0x0056
- SPI_SETPOWEROFFTIMEOUT → const int
-
This parameter is not supported.
0x0052
- SPI_SETSCREENREADER → const int
-
Determines whether a screen review utility is running. The uiParam parameter
specifies TRUE for on, or FALSE for off. [...]
0x0047
- SPI_SETSCREENSAVEACTIVE → const int
-
Sets the state of the screen saver. The uiParam parameter specifies TRUE to
activate screen saving, or FALSE to deactivate it.
0x0011
- SPI_SETSCREENSAVETIMEOUT → const int
-
Sets the screen saver time-out value to the value of the uiParam parameter.
This value is the amount of time, in seconds, that the system must be idle
before the screen saver activates. [...]
0x000F
- SPI_SETTOGGLEKEYS → const int
-
Sets the parameters of the ToggleKeys accessibility feature. The pvParam
parameter must point to a TOGGLEKEYS structure that contains the new
parameters. Set the cbSize member of this structure and the uiParam
parameter to sizeof(TOGGLEKEYS).
0x0035
- SPI_SETWORKAREA → const int
-
Sets the size of the work area. The work area is the portion of the screen
not obscured by the system taskbar or by application desktop toolbars. The
pvParam parameter is a pointer to a RECT structure that specifies the new
work area rectangle, expressed in virtual screen coordinates. In a system
with multiple display monitors, the function sets the work area of the
monitor that contains the specified rectangle.
0x002F
- SS_BITMAP → const int
-
A bitmap is to be displayed in the static control. [...]
0x0000000E
- SS_BLACKFRAME → const int
-
A box with a frame drawn in the same color as the window frames. This color
is black in the default color scheme.
0x00000007
- SS_BLACKRECT → const int
-
A rectangle filled with the current window frame color. This color is black
in the default color scheme.
0x00000004
- SS_CENTER → const int
-
A simple rectangle and centers the text in the rectangle. [...]
0x00000001
- SS_CENTERIMAGE → const int
-
A bitmap is centered in the static control that contains it. [...]
0x00000200
- SS_EDITCONTROL → const int
-
The static control duplicates the text-displaying characteristics of a
multiline edit control. [...]
0x00002000
- SS_ELLIPSISMASK → const int
-
Mask for text ellipsis styles.
0x0000C000
- SS_ENDELLIPSIS → const int
-
If the end of a string does not fit in the rectangle, it is truncated and
ellipses are added. [...]
0x00004000
- SS_ENHMETAFILE → const int
-
An enhanced metafile is to be displayed in the static control. [...]
0x0000000F
- SS_ETCHEDFRAME → const int
-
Draws the frame of the static control using the EDGE_ETCHED edge style.
0x00000012
- SS_ETCHEDHORZ → const int
-
Draws the top and bottom edges of the static control using the EDGE_ETCHED
edge style.
0x00000010
- SS_ETCHEDVERT → const int
-
Draws the left and right edges of the static control using the EDGE_ETCHED
edge style.
0x00000011
- SS_GRAYFRAME → const int
-
A box with a frame drawn with the same color as the screen background
(desktop). This color is gray in the default color scheme.
0x00000008
- SS_GRAYRECT → const int
-
A rectangle filled with the current screen background color. This color is
gray in the default color scheme.
0x00000005
- SS_ICON → const int
-
An icon to be displayed in the dialog box. [...]
0x00000003
- SS_LEFT → const int
-
A simple rectangle and left-aligns the text in the rectangle. [...]
0x00000000
- SS_LEFTNOWORDWRAP → const int
-
A simple rectangle and left-aligns the text in the rectangle. [...]
0x0000000C
- SS_NOPREFIX → const int
-
Prevents interpretation of any ampersand (&) characters in the control's
text as accelerator prefix characters. [...]
0x00000080
- SS_NOTIFY → const int
-
Sends the parent window STN_CLICKED, STN_DBLCLK, STN_DISABLE, and STN_ENABLE
notification codes when the user clicks or double-clicks the control.
0x00000100
- SS_OWNERDRAW → const int
-
The owner of the static control is responsible for drawing the control. The
owner window receives a WM_DRAWITEM message whenever the control needs to be
drawn.
0x0000000D
- SS_PATHELLIPSIS → const int
-
Replaces characters in the middle of the string with ellipses so that the
result fits in the specified rectangle. [...]
0x00008000
- SS_REALSIZECONTROL → const int
-
Adjusts the bitmap to fit the size of the static control. [...]
0x00000040
- SS_REALSIZEIMAGE → const int
-
Specifies that the actual resource width is used and the icon is loaded
using LoadImage. SS_REALSIZEIMAGE is always used in conjunction with
SS_ICON.
0x00000800
- SS_RIGHT → const int
-
A simple rectangle and right-aligns the text in the rectangle. [...]
0x00000002
- SS_RIGHTJUST → const int
-
The lower right corner of a static control with the SS_BITMAP or SS_ICON
style is to remain fixed when the control is resized. [...]
0x00000400
- SS_SIMPLE → const int
-
A simple rectangle and displays a single line of left-aligned text in the
rectangle.
0x0000000B
- SS_SUNKEN → const int
-
Draws a half-sunken border around a static control.
0x00001000
- SS_TYPEMASK → const int
-
A composite style bit that results from using the OR operator on SS_* style
bits. [...]
0x0000001F
- SS_USERITEM → const int
-
Specifies a user-defined item.
0x0000000A
- SS_WHITEFRAME → const int
-
A box with a frame drawn with the same color as the window background. This
color is white in the default color scheme.
0x00000009
- SS_WHITERECT → const int
-
A rectangle filled with the current window background color. This color is
white in the default color scheme.
0x00000006
- SS_WORDELLIPSIS → const int
-
Truncates any word that does not fit in the rectangle and adds ellipses.
Using this style will force the control s text to be on one line with no
word wrap.
0x0000C000
- STANDARD_RIGHTS_ALL → const int
-
Combines DELETE, READ_CONTROL, WRITE_DAC, WRITE_OWNER, and SYNCHRONIZE
access.
0x001F0000
- STANDARD_RIGHTS_EXECUTE → const int
-
Currently defined to equal READ_CONTROL.
READ_CONTROL
- STANDARD_RIGHTS_READ → const int
-
Currently defined to equal READ_CONTROL.
READ_CONTROL
- STANDARD_RIGHTS_REQUIRED → const int
-
Combines DELETE, READ_CONTROL, WRITE_DAC, and WRITE_OWNER access.
0x000F0000
- STANDARD_RIGHTS_WRITE → const int
-
Currently defined to equal READ_CONTROL.
READ_CONTROL
- STATUS_SUCCESS → const int
-
Success status
0
- STD_ERROR_HANDLE → const int
-
The standard error device. Initially, this is the active console screen
buffer, CONOUT$.
-12
- STD_INPUT_HANDLE → const int
-
The standard input device. Initially, this is the console input buffer,
CONIN$.
-10
- STD_OUTPUT_HANDLE → const int
-
The standard output device. Initially, this is the active console screen
buffer, CONOUT$.
-11
- STRETCH_ANDSCANS → const int
-
Performs a Boolean AND operation using the color values for the eliminated
and existing pixels. If the bitmap is a monochrome bitmap, this mode
preserves black pixels at the expense of white pixels.
BLACKONWHITE
- STRETCH_DELETESCANS → const int
-
Deletes the pixels. This mode deletes all eliminated lines of pixels without
trying to preserve their information.
COLORONCOLOR
- STRETCH_HALFTONE → const int
-
Maps pixels from the source rectangle into blocks of pixels in the
destination rectangle. The average color over the destination block of
pixels approximates the color of the source pixels.
HALFTONE
- STRETCH_ORSCANS → const int
-
Performs a Boolean OR operation using the color values for the eliminated
and existing pixels. If the bitmap is a monochrome bitmap, this mode
preserves white pixels at the expense of black pixels.
WHITEONBLACK
- SW_FORCEMINIMIZE → const int
-
Minimizes a window, even if the thread that owns the window is not
responding. [...]
11
- SW_HIDE → const int
-
Hides the window and activates another window.
0
- SW_MAXIMIZE → const int
-
Maximizes the specified window.
3
- SW_MINIMIZE → const int
-
Minimizes the specified window and activates the next top-level window in
the Z order.
6
- SW_RESTORE → const int
-
Activates and displays the window. [...]
9
- SW_SHOW → const int
-
Activates the window and displays it in its current size and position.
5
- SW_SHOWDEFAULT → const int
-
Sets the show state based on the SW_ value specified in the STARTUPINFO
structure passed to the CreateProcess function by the program that started
the application.
10
- SW_SHOWMAXIMIZED → const int
-
Activates the window and displays it as a maximized window.
3
- SW_SHOWMINIMIZED → const int
-
Activates the window and displays it as a minimized window.
2
- SW_SHOWMINNOACTIVE → const int
-
Displays the window as a minimized window. [...]
7
- SW_SHOWNA → const int
-
Displays the window in its current size and position. [...]
8
- SW_SHOWNOACTIVATE → const int
-
Displays a window in its most recent size and position. [...]
4
- SW_SHOWNORMAL → const int
-
Activates and displays a window. [...]
1
- SWP_ASYNCWINDOWPOS → const int
-
If the calling thread and the thread that owns the window are attached to
different input queues, the system posts the request to the thread that owns
the window. This prevents the calling thread from blocking its execution
while other threads process the request.
0x4000
- SWP_DEFERERASE → const int
-
Prevents generation of the WM_SYNCPAINT message.
0x2000
- SWP_DRAWFRAME → const int
-
Draws a frame (defined in the window's class description) around the window.
SWP_FRAMECHANGED
- SWP_FRAMECHANGED → const int
-
Applies new frame styles set using the SetWindowLong function. Sends a
WM_NCCALCSIZE message to the window, even if the window's size is not being
changed. If this flag is not specified, WM_NCCALCSIZE is sent only when the
window's size is being changed.
0x0020
- SWP_HIDEWINDOW → const int
-
Hides the window.
0x0080
- SWP_NOACTIVATE → const int
-
Does not activate the window. If this flag is not set, the window is
activated and moved to the top of either the topmost or non-topmost group
(depending on the setting of the hWndInsertAfter parameter).
0x0010
- SWP_NOCOPYBITS → const int
-
Discards the entire contents of the client area. If this flag is not
specified, the valid contents of the client area are saved and copied back
into the client area after the window is sized or repositioned.
0x0100
- SWP_NOMOVE → const int
-
Retains the current position (ignores X and Y parameters).
0x0002
- SWP_NOOWNERZORDER → const int
-
Does not change the owner window's position in the Z order.
0x0200
- SWP_NOREDRAW → const int
-
Does not redraw changes. If this flag is set, no repainting of any kind
occurs. This applies to the client area, the nonclient area (including the
title bar and scroll bars), and any part of the parent window uncovered as a
result of the window being moved. When this flag is set, the application
must explicitly invalidate or redraw any parts of the window and parent
window that need redrawing.
0x0008
- SWP_NOREPOSITION → const int
-
Same as the SWP_NOOWNERZORDER flag.
SWP_NOOWNERZORDER
- SWP_NOSENDCHANGING → const int
-
Prevents the window from receiving the WM_WINDOWPOSCHANGING message.
0x0400
- SWP_NOSIZE → const int
-
Retains the current size (ignores the cx and cy parameters).
0x0001
- SWP_NOZORDER → const int
-
Retains the current Z order (ignores the hWndInsertAfter parameter).
0x0004
- SWP_SHOWWINDOW → const int
-
Displays the window.
0x0040
- SYNCHRONIZE → const int
-
The right to use the object for synchronization. This enables a thread to
wait until the object is in the signaled state.
0x00100000
- TIME_BYTES → const int
-
Current byte offset from beginning of the file.
0x0004
- TIME_MIDI → const int
-
MIDI time.
0x0010
- TIME_MS → const int
-
Time in milliseconds.
0x0001
- TIME_SAMPLES → const int
-
Number of waveform-audio samples.
0x0002
- TIME_SMPTE → const int
-
SMPTE (Society of Motion Picture and Television Engineers) time.
0x0008
- TIME_TICKS → const int
-
Ticks within a MIDI stream.
0x0020
- TPM_BOTTOMALIGN → const int
-
Positions the shortcut menu so that its bottom side is aligned with the
coordinate specified by the y parameter.
0x0020
- TPM_CENTERALIGN → const int
-
Centers the shortcut menu horizontally relative to the coordinate specified
by the x parameter.
0x0004
- TPM_HORIZONTAL → const int
-
If the menu cannot be shown at the specified location without overlapping
the excluded rectangle, the system tries to accommodate the requested
horizontal alignment before the requested vertical alignment.
0x0000
- TPM_HORNEGANIMATION → const int
-
Animates the menu from right to left.
0x0800
- TPM_HORPOSANIMATION → const int
-
Animates the menu from left to right.
0x0400
- TPM_LAYOUTRTL → const int
-
For right-to-left text layout, use TPM_LAYOUTRTL. By default, the text
layout is left-to-right.
0x8000
- TPM_LEFTALIGN → const int
-
Positions the shortcut menu so that its left side is aligned with the
coordinate specified by the x parameter.
0x0000
- TPM_LEFTBUTTON → const int
-
The user can select menu items with only the left mouse button.
0x0000
- TPM_NOANIMATION → const int
-
Displays menu without animation.
0x4000
- TPM_NONOTIFY → const int
-
The function does not send notification messages when the user clicks a menu
item.
0x0080
- TPM_RECURSE → const int
-
Use the TPM_RECURSE flag to display a menu when another menu is already
displayed. This is intended to support context menus within a menu.
0x0001
- TPM_RETURNCMD → const int
-
The function returns the menu item identifier of the user's selection in the
return value.
0x0100
- TPM_RIGHTALIGN → const int
-
Positions the shortcut menu so that its right side is aligned with the
coordinate specified by the x parameter.
0x0008
- TPM_RIGHTBUTTON → const int
-
The user can select menu items with both the left and right mouse buttons.
0x0002
- TPM_TOPALIGN → const int
-
Positions the shortcut menu so that its top side is aligned with the
coordinate specified by the y parameter.
0x0000
- TPM_VCENTERALIGN → const int
-
Centers the shortcut menu vertically relative to the coordinate specified by
the y parameter.
0x0010
- TPM_VERNEGANIMATION → const int
-
Animates the menu from bottom to top.
0x2000
- TPM_VERPOSANIMATION → const int
-
Animates the menu from top to bottom.
0x1000
- TPM_VERTICAL → const int
-
If the menu cannot be shown at the specified location without overlapping
the excluded rectangle, the system tries to accommodate the requested
vertical alignment before the requested horizontal alignment.
0x0040
- TPM_WORKAREA → const int
-
Restricts the pop-up window to within the work area.
0x10000
- TRUE → const int
-
Boolean true value returned from the Win32 API
1
- TRUNCATE_EXISTING → const int
-
Opens a file and truncates it so that its size is zero bytes, only if it
exists.
5
- VARIANT_ALPHABOOL → const int
-
Converts a VT_BOOL value to a string containing either "True" or "False".
0x02
- VARIANT_LOCALBOOL → const int
-
For conversions from VT_BOOL to VT_BSTR and back, uses the language
specified by the locale in use on the local computer.
0x10
- VARIANT_NOUSEROVERRIDE → const int
-
For conversions to or from VT_BSTR, passes LOCALE_NOUSEROVERRIDE to the core
coercion routines.
0x04
- VARIANT_NOVALUEPROP → const int
-
Prevents the function from attempting to coerce an object to a fundamental
type by getting the Value property. Applications should set this flag only
if necessary, because it makes their behavior inconsistent with other
applications.
0x01
- WAVE_ALLOWSYNC → const int
-
If this flag is specified, a synchronous waveform-audio device can be
opened. If this flag is not specified while opening a synchronous driver,
the device will fail to open.
0x0002
- WAVE_FORMAT_DIRECT → const int
-
If this flag is specified, the ACM driver does not perform conversions on
the audio data.
0x0008
- WAVE_FORMAT_QUERY → const int
-
0x0001
- WAVE_MAPPED → const int
-
If this flag is specified, the uDeviceID parameter specifies a
waveform-audio device to be mapped to by the wave mapper.
0x0004
- WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICE → const int
-
If this flag is specified and the uDeviceID parameter is WAVE_MAPPER, the
function opens the default communication device.
0x0010
- WHITEONBLACK → const int
-
Performs a Boolean OR operation using the color values for the eliminated
and existing pixels. If the bitmap is a monochrome bitmap, this mode
preserves white pixels at the expense of black pixels.
2
- WM_ACTIVATE → const int
-
Sent to both the window being activated and the window being deactivated. [...]
0x0006
- WM_ACTIVATEAPP → const int
-
Sent when a window belonging to a different application than the active
window is about to be activated. The message is sent to the application
whose window is being activated and to the application whose window is being
deactivated.
0x001C
- WM_APP → const int
-
Used to define private messages, usually of the form WM_APP+x, where x
is an integer value.
0x8000
- WM_ASKCBFORMATNAME → const int
-
Sent to the clipboard owner by a clipboard viewer window to request the name
of a CF_OWNERDISPLAY clipboard format.
0x030C
- WM_CANCELMODE → const int
-
Sent to cancel certain modes, such as mouse capture. For example, the system
sends this message to the active window when a dialog box or message box is
displayed. Certain functions also send this message explicitly to the
specified window regardless of whether it is the active window. For example,
the EnableWindow function sends this message when disabling the specified
window.
0x001F
- WM_CHANGECBCHAIN → const int
-
Sent to the first window in the clipboard viewer chain when a window is
being removed from the chain.
0x030D
- WM_CHANGEUISTATE → const int
-
An application sends the WM_CHANGEUISTATE message to indicate that the UI
state should be changed.
0x0127
- WM_CHAR → const int
-
Posted to the window with the keyboard focus when a WM_KEYDOWN message is
translated by the TranslateMessage function. The WM_CHAR message contains
the character code of the key that was pressed.
0x0102
- WM_CHARTOITEM → const int
-
Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in
response to a WM_CHAR message.
0x002F
- WM_CHILDACTIVATE → const int
-
Sent to a child window when the user clicks the window's title bar or when
the window is activated, moved, or sized.
0x0022
- WM_CLEAR → const int
-
An application sends a WM_CLEAR message to an edit control or combo box to
delete (clear) the current selection, if any, from the edit control.
0x0303
- WM_CLOSE → const int
-
Sent as a signal that a window or an application should terminate.
0x0010
- WM_COMMAND → const int
-
Sent when the user selects a command item from a menu, when a control sends
a notification message to its parent window, or when an accelerator
keystroke is translated.
0x0111
- WM_COMMNOTIFY → const int
-
Deprecated. This message is not sent in modern versions of Windows.
0x0044
- WM_COMPACTING → const int
-
Sent to all top-level windows when the system detects more than 12.5 percent
of system time over a 30- to 60-second interval is being spent compacting
memory. This indicates that system memory is low.
0x0041
- WM_COMPAREITEM → const int
-
Sent to determine the relative position of a new item in the sorted list of
an owner-drawn combo box or list box. Whenever the application adds a new
item, the system sends this message to the owner of a combo box or list box
created with the CBS_SORT or LBS_SORT style.
0x0039
- WM_CONTEXTMENU → const int
-
Notifies a window that the user clicked the right mouse button
(right-clicked) in the window.
0x007B
- WM_COPY → const int
-
An application sends the WM_COPY message to an edit control or combo box to
copy the current selection to the clipboard in CF_TEXT format.
0x0301
- WM_CREATE → const int
-
Sent when an application requests that a window be created by calling the
CreateWindowEx or CreateWindow function. [...]
0x0001
- WM_CUT → const int
-
An application sends a WM_CUT message to an edit control or combo box to
delete (cut) the current selection, if any, in the edit control and copy the
deleted text to the clipboard in CF_TEXT format.
0x0300
- WM_DEADCHAR → const int
-
Posted to the window with the keyboard focus when a WM_KEYUP message is
translated by the TranslateMessage function. WM_DEADCHAR specifies a
character code generated by a dead key. A dead key is a key that generates a
character, such as the umlaut (double-dot), that is combined with another
character to form a composite character. For example, the umlaut-O character
(Ö) is generated by typing the dead key for the umlaut character, and then
typing the O key.
0x0103
- WM_DELETEITEM → const int
-
Sent to the owner of a list box or combo box when the list box or combo box
is destroyed or when items are removed by the LB_DELETESTRING,
LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. The system
sends a WM_DELETEITEM message for each deleted item. The system sends the
WM_DELETEITEM message for any deleted list box or combo box item with
nonzero item data.
0x002D
- WM_DESTROY → const int
-
Sent when a window is being destroyed. [...]
0x0002
- WM_DESTROYCLIPBOARD → const int
-
Sent to the clipboard owner when a call to the EmptyClipboard function
empties the clipboard.
0x0307
- WM_DEVMODECHANGE → const int
-
The WM_DEVMODECHANGE message is sent to all top-level windows whenever the
user changes device-mode settings.
0x001B
- WM_DISPLAYCHANGE → const int
-
The WM_DISPLAYCHANGE message is sent to all windows when the display
resolution has changed.
0x007E
- WM_DRAWCLIPBOARD → const int
-
Sent to the first window in the clipboard viewer chain when the content of
the clipboard changes. This enables a clipboard viewer window to display the
new content of the clipboard.
0x0308
- WM_DRAWITEM → const int
-
Sent to the parent window of an owner-drawn button, combo box, list box, or
menu when a visual aspect of the button, combo box, list box, or menu has
changed.
0x002B
- WM_ENABLE → const int
-
Sent when an application changes the enabled state of a window. [...]
0x000A
- WM_ENDSESSION → const int
-
The WM_ENDSESSION message is sent to an application after the system
processes the results of the WM_QUERYENDSESSION message. The WM_ENDSESSION
message informs the application whether the session is ending.
0x0016
- WM_ENTERIDLE → const int
-
Sent to the owner window of a modal dialog box or menu that is entering an
idle state. A modal dialog box or menu enters an idle state when no messages
are waiting in its queue after it has processed one or more previous
messages.
0x0121
- WM_ERASEBKGND → const int
-
Sent when the window background must be erased (for example, when a window
is resized). The message is sent to prepare an invalidated portion of a
window for painting.
0x0014
- WM_FONTCHANGE → const int
-
An application sends the WM_FONTCHANGE message to all top-level windows in
the system after changing the pool of font resources.
0x001D
- WM_GESTURE → const int
-
Passes information about a gesture.
0x0119
- WM_GESTURENOTIFY → const int
-
Gives you a chance to set the gesture configuration.
0x011A
- WM_GETDLGCODE → const int
-
Sent to the window procedure associated with a control. By default, the
system handles all keyboard input to the control; the system interprets
certain types of keyboard input as dialog box navigation keys. To override
this default behavior, the control can respond to the WM_GETDLGCODE message
to indicate the types of input it wants to process itself.
0x0087
- WM_GETFONT → const int
-
Retrieves the font with which the control is currently drawing its text.
0x0031
- WM_GETHOTKEY → const int
-
Sent to determine the hot key associated with a window.
0x0033
- WM_GETICON → const int
-
Sent to a window to retrieve a handle to the large or small icon associated
with a window. The system displays the large icon in the ALT+TAB dialog, and
the small icon in the window caption.
0x007F
- WM_GETMINMAXINFO → const int
-
Sent to a window when the size or position of the window is about to change.
An application can use this message to override the window's default
maximized size and position, or its default minimum or maximum tracking
size.
0x0024
- WM_GETOBJECT → const int
-
Sent by both Microsoft Active Accessibility and Microsoft UI Automation to
obtain information about an accessible object contained in a server
application. [...]
0x003D
- WM_GETTEXT → const int
-
Copies the text that corresponds to a window into a buffer provided by the
caller.
0x000D
- WM_GETTEXTLENGTH → const int
-
Determines the length, in characters, of the text associated with a window.
0x000E
- WM_HELP → const int
-
Indicates that the user pressed the F1 key. If a menu is active when F1 is
pressed, WM_HELP is sent to the window associated with the menu; otherwise,
WM_HELP is sent to the window that has the keyboard focus. If no window has
the keyboard focus, WM_HELP is sent to the currently active window.
0x0053
- WM_HOTKEY → const int
-
Posted when the user presses a hot key registered by the RegisterHotKey
function. The message is placed at the top of the message queue associated
with the thread that registered the hot key.
0x0312
- WM_HSCROLL → const int
-
The WM_HSCROLL message is sent to a window when a scroll event occurs in the
window's standard horizontal scroll bar. This message is also sent to the
owner of a horizontal scroll bar control when a scroll event occurs in the
control.
0x0114
- WM_HSCROLLCLIPBOARD → const int
-
Sent to the clipboard owner by a clipboard viewer window. This occurs when
the clipboard contains data in the CF_OWNERDISPLAY format and an event
occurs in the clipboard viewer's horizontal scroll bar. The owner should
scroll the clipboard image and update the scroll bar values.
0x030E
- WM_ICONERASEBKGND → const int
-
Deprecated. This message is not sent in modern versions of Windows.
0x0027
- WM_INITDIALOG → const int
-
Sent to the dialog box procedure immediately before a dialog box is
displayed. Dialog box procedures typically use this message to initialize
controls and carry out any other initialization tasks that affect the
appearance of the dialog box.
0x0110
- WM_INITMENU → const int
-
Sent when a menu is about to become active. It occurs when the user clicks
an item on the menu bar or presses a menu key. This allows the application
to modify the menu before it is displayed.
0x0116
- WM_INITMENUPOPUP → const int
-
Sent when a drop-down menu or submenu is about to become active. This allows
an application to modify the menu before it is displayed, without changing
the entire menu.
0x0117
- WM_INPUT → const int
-
Sent to the window that is getting raw input.
0x00FF
- WM_INPUT_DEVICE_CHANGE → const int
-
Sent to the window that registered to receive raw input. [...]
0x00FE
- WM_INPUTLANGCHANGE → const int
-
Sent to the topmost affected window after an application's input language
has been changed. You should make any application-specific settings and pass
the message to the DefWindowProc function, which passes the message to all
first-level child windows. These child windows can pass the message to
DefWindowProc to have it pass the message to their child windows, and so on.
0x0051
- WM_INPUTLANGCHANGEREQUEST → const int
-
Posted to the window with the focus when the user chooses a new input
language, either with the hotkey (specified in the Keyboard control panel
application) or from the indicator on the system taskbar. An application can
accept the change by passing the message to the DefWindowProc function or
reject the change (and prevent it from taking place) by returning
immediately.
0x0050
- WM_KEYDOWN → const int
-
Posted to the window with the keyboard focus when a nonsystem key is
pressed. A nonsystem key is a key that is pressed when the ALT key is not
pressed.
0x0100
- WM_KEYUP → const int
-
Posted to the window with the keyboard focus when a nonsystem key is
released. A nonsystem key is a key that is pressed when the ALT key is not
pressed, or a keyboard key that is pressed when a window has the keyboard
focus.
0x0101
- WM_KILLFOCUS → const int
-
Sent to a window immediately before it loses the keyboard focus.
0x0008
- WM_LBUTTONDBLCLK → const int
-
Posted when the user double-clicks the left mouse button while the cursor is
in the client area of a window. If the mouse is not captured, the message is
posted to the window beneath the cursor. Otherwise, the message is posted to
the window that has captured the mouse.
0x0203
- WM_LBUTTONDOWN → const int
-
Posted when the user presses the left mouse button while the cursor is in
the client area of a window. If the mouse is not captured, the message is
posted to the window beneath the cursor. Otherwise, the message is posted to
the window that has captured the mouse.
0x0201
- WM_LBUTTONUP → const int
-
Posted when the user releases the left mouse button while the cursor is in
the client area of a window. If the mouse is not captured, the message is
posted to the window beneath the cursor. Otherwise, the message is posted to
the window that has captured the mouse.
0x0202
- WM_MBUTTONDBLCLK → const int
-
Posted when the user double-clicks the middle mouse button while the cursor
is within the nonclient area of a window. This message is posted to the
window that contains the cursor. If a window has captured the mouse, this
message is not posted.
0x0209
- WM_MBUTTONDOWN → const int
-
Posted when the user presses the middle mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x0207
- WM_MBUTTONUP → const int
-
Posted when the user releases the middle mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x0208
- WM_MEASUREITEM → const int
-
Sent to the owner window of a combo box, list box, list-view control, or
menu item when the control or menu is created.
0x002C
- WM_MENUCHAR → const int
-
Sent when a menu is active and the user presses a key that does not
correspond to any mnemonic or accelerator key. This message is sent to the
window that owns the menu.
0x0120
- WM_MENUCOMMAND → const int
-
Sent when the user makes a selection from a menu.c
0x0126
- WM_MENUDRAG → const int
-
Sent to the owner of a drag-and-drop menu when the user drags a menu item.
0x0123
- WM_MENUGETOBJECT → const int
-
Sent to the owner of a drag-and-drop menu when the mouse cursor enters a
menu item or moves from the center of the item to the top or bottom of the
item.
0x0124
- WM_MENURBUTTONUP → const int
-
Sent when the user releases the right mouse button while the cursor is on a
menu item.
0x0122
- WM_MENUSELECT → const int
-
Sent to a menu's owner window when the user selects a menu item.
0x011F
- WM_MOUSEACTIVATE → const int
-
Sent when the cursor is in an inactive window and the user presses a mouse
button. The parent window receives this message only if the child window
passes it to the DefWindowProc function.
0x0021
- WM_MOUSEHWHEEL → const int
-
Sent to the active window when the mouse's horizontal scroll wheel is tilted
or rotated. The DefWindowProc function propagates the message to the
window's parent. There should be no internal forwarding of the message,
since DefWindowProc propagates it up the parent chain until it finds a
window that processes it.
0x020E
- WM_MOUSEMOVE → const int
-
Posted to a window when the cursor moves. If the mouse is not captured, the
message is posted to the window that contains the cursor. Otherwise, the
message is posted to the window that has captured the mouse.
0x0200
- WM_MOUSEWHEEL → const int
-
Sent to the focus window when the mouse wheel is rotated. The DefWindowProc
function propagates the message to the window's parent. There should be no
internal forwarding of the message, since DefWindowProc propagates it up the
parent chain until it finds a window that processes it.
0x020A
- WM_MOVE → const int
-
Sent after a window has been moved.
0x0003
- WM_NCACTIVATE → const int
-
Sent to a window when its nonclient area needs to be changed to indicate an
active or inactive state.
0x0086
- WM_NCCALCSIZE → const int
-
Sent when the size and position of a window's client area must be
calculated. By processing this message, an application can control the
content of the window's client area when the size or position of the window
changes.
0x0083
- WM_NCCREATE → const int
-
Sent prior to the WM_CREATE message when a window is first created.
0x0081
- WM_NCDESTROY → const int
-
Notifies a window that its nonclient area is being destroyed. The
DestroyWindow function sends the WM_NCDESTROY message to the window
following the WM_DESTROY message.WM_DESTROY is used to free the allocated
memory object associated with the window. [...]
0x0082
- WM_NCHITTEST → const int
-
Sent to a window in order to determine what part of the window corresponds
to a particular screen coordinate. This can happen, for example, when the
cursor moves, when a mouse button is pressed or released, or in response to
a call to a function such as WindowFromPoint. If the mouse is not captured,
the message is sent to the window beneath the cursor. Otherwise, the message
is sent to the window that has captured the mouse.
0x0084
- WM_NCLBUTTONDBLCLK → const int
-
Posted when the user double-clicks the left mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00A3
- WM_NCLBUTTONDOWN → const int
-
Posted when the user presses the left mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00A1
- WM_NCLBUTTONUP → const int
-
Posted when the user releases the left mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00A2
- WM_NCMBUTTONDBLCLK → const int
-
Posted when the user double-clicks the middle mouse button while the cursor
is within the nonclient area of a window. This message is posted to the
window that contains the cursor. If a window has captured the mouse, this
message is not posted.
0x00A9
- WM_NCMBUTTONDOWN → const int
-
Posted when the user presses the middle mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00A7
- WM_NCMBUTTONUP → const int
-
Posted when the user releases the middle mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00A8
- WM_NCMOUSEMOVE → const int
-
Posted to a window when the cursor is moved within the nonclient area of the
window. This message is posted to the window that contains the cursor. If a
window has captured the mouse, this message is not posted.
0x00A0
- WM_NCPAINT → const int
-
The WM_NCPAINT message is sent to a window when its frame must be painted.
0x0085
- WM_NCRBUTTONDBLCLK → const int
-
Posted when the user double-clicks the middle mouse button while the cursor
is within the nonclient area of a window. This message is posted to the
window that contains the cursor. If a window has captured the mouse, this
message is not posted.
0x00A6
- WM_NCRBUTTONDOWN → const int
-
Posted when the user presses the right mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00A4
- WM_NCRBUTTONUP → const int
-
Posted when the user releases the right mouse button while the cursor is
within the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00A5
- WM_NCXBUTTONDBLCLK → const int
-
Posted when the user double-clicks the first or second X button while the
cursor is in the nonclient area of a window. This message is posted to the
window that contains the cursor. If a window has captured the mouse, this
message is not posted.
0x00AD
- WM_NCXBUTTONDOWN → const int
-
Posted when the user presses the first or second X button while the cursor
is in the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00AB
- WM_NCXBUTTONUP → const int
-
Posted when the user releases the first or second X button while the cursor
is in the nonclient area of a window. This message is posted to the window
that contains the cursor. If a window has captured the mouse, this message
is not posted.
0x00AC
- WM_NEXTDLGCTL → const int
-
Sent to a dialog box procedure to set the keyboard focus to a different
control in the dialog box.
0x0028
- WM_NOTIFY → const int
-
Sent by a common control to its parent window when an event has occurred or
the control requires some information.
0x004E
- WM_NOTIFYFORMAT → const int
-
Determines if a window accepts ANSI or Unicode structures in the WM_NOTIFY
notification message. WM_NOTIFYFORMAT messages are sent from a common
control to its parent window and from the parent window to the common
control.
0x0055
- WM_NULL → const int
-
Performs no operation. [...]
0x0000
- WM_PAINT → const int
-
The WM_PAINT message is sent when the system or another application makes a
request to paint a portion of an application's window. [...]
0x000F
- WM_PAINTCLIPBOARD → const int
-
Sent to the clipboard owner by a clipboard viewer window when the clipboard
contains data in the CF_OWNERDISPLAY format and the clipboard viewer's
client area needs repainting.
0x0309
- WM_PAINTICON → const int
-
Deprecated. This message is not sent in modern versions of Windows.
0x0026
- WM_PALETTECHANGED → const int
-
The WM_PALETTECHANGED message is sent to all top-level and overlapped
windows after the window with the keyboard focus has realized its logical
palette, thereby changing the system palette. This message enables a window
that uses a color palette but does not have the keyboard focus to realize
its logical palette and update its client area.
0x0311
- WM_PALETTEISCHANGING → const int
-
The WM_PALETTEISCHANGING message informs applications that an application is
going to realize its logical palette.
0x0310
- WM_PASTE → const int
-
An application sends a WM_PASTE message to an edit control or combo box to
copy the current content of the clipboard to the edit control at the current
caret position. Data is inserted only if the clipboard contains data in
CF_TEXT format.
0x0302
- WM_POWER → const int
-
Notifies applications that the system, typically a battery-powered personal
computer, is about to enter a suspended mode.
0x0048
- WM_POWERBROADCAST → const int
-
Notifies applications that a power-management event has occurred.
0x0218
- WM_QUERYDRAGICON → const int
-
Sent to a minimized (iconic) window. The window is about to be dragged by
the user but does not have an icon defined for its class. An application can
return a handle to an icon or cursor. The system displays this cursor or
icon while the user drags the icon.
0x0037
- WM_QUERYENDSESSION → const int
-
The WM_QUERYENDSESSION message is sent when the user chooses to end the
session or when an application calls one of the system shutdown functions. [...]
0x0011
- WM_QUERYNEWPALETTE → const int
-
The WM_QUERYNEWPALETTE message informs a window that it is about to receive
the keyboard focus, giving the window the opportunity to realize its logical
palette when it receives the focus.
0x030F
- WM_QUERYOPEN → const int
-
Sent to an icon when the user requests that the window be restored to its
previous size and position.
0x0013
- WM_QUERYUISTATE → const int
-
An application sends the WM_QUERYUISTATE message to retrieve the UI state
for a window.
0x0129
- WM_QUEUESYNC → const int
-
Sent by a computer-based training (CBT) application to separate user-input
messages from other messages sent through the WH_JOURNALPLAYBACK procedure.
0x0023
- WM_QUIT → const int
-
Indicates a request to terminate an application, and is generated when the
application calls the PostQuitMessage function. This message causes the
GetMessage function to return zero.
0x0012
- WM_RBUTTONDBLCLK → const int
-
Posted when the user double-clicks the right mouse button while the cursor
is in the client area of a window. If the mouse is not captured, the message
is posted to the window beneath the cursor. Otherwise, the message is posted
to the window that has captured the mouse.
0x0206
- WM_RBUTTONDOWN → const int
-
Posted when the user presses the right mouse button while the cursor is in
the client area of a window. If the mouse is not captured, the message is
posted to the window beneath the cursor. Otherwise, the message is posted to
the window that has captured the mouse.
0x0204
- WM_RBUTTONUP → const int
-
Posted when the user releases the right mouse button while the cursor is in
the client area of a window. If the mouse is not captured, the message is
posted to the window beneath the cursor. Otherwise, the message is posted to
the window that has captured the mouse.
0x0205
- WM_RENDERALLFORMATS → const int
-
Sent to the clipboard owner before it is destroyed, if the clipboard owner
has delayed rendering one or more clipboard formats. For the content of the
clipboard to remain available to other applications, the clipboard owner
must render data in all the formats it is capable of generating, and place
the data on the clipboard by calling the SetClipboardData function.
0x0306
- WM_RENDERFORMAT → const int
-
Sent to the clipboard owner if it has delayed rendering a specific clipboard
format and if an application has requested data in that format. The
clipboard owner must render data in the specified format and place it on the
clipboard by calling the SetClipboardData function.
0x0305
- WM_SETCURSOR → const int
-
Sent to a window if the mouse causes the cursor to move within a window and
mouse input is not captured.
0x0020
- WM_SETFOCUS → const int
-
Sent to a window after it has gained the keyboard focus.
0x0007
- WM_SETFONT → const int
-
Sets the font that a control is to use when drawing text.
0x0030
- WM_SETHOTKEY → const int
-
Sent to a window to associate a hot key with the window. When the user
presses the hot key, the system activates the window.
0x0032
- WM_SETICON → const int
-
Associates a new large or small icon with a window. The system displays the
large icon in the ALT+TAB dialog box, and the small icon in the window
caption.
0x0080
- WM_SETREDRAW → const int
-
An application sends the WM_SETREDRAW message to a window to allow changes
in that window to be redrawn or to prevent changes in that window from being
redrawn.
0x000B
- WM_SETTEXT → const int
-
Sets the text of a window.
0x000C
- WM_SETTINGCHANGE → const int
-
A message that is sent to all top-level windows when the
SystemParametersInfo function changes a system-wide setting or when policy
settings have changed. [...]
WM_WININICHANGE
- WM_SHOWWINDOW → const int
-
Sent to a window when the window is about to be hidden or shown.
0x0018
- WM_SIZE → const int
-
Sent to a window after its size has changed.
0x0005
- WM_SIZECLIPBOARD → const int
-
Sent to the clipboard owner by a clipboard viewer window when the clipboard
contains data in the CF_OWNERDISPLAY format and the clipboard viewer's
client area has changed size.
0x030B
- WM_SPOOLERSTATUS → const int
-
The WM_SPOOLERSTATUS message is sent from Print Manager whenever a job is
added to or removed from the Print Manager queue.
0x002A
- WM_STYLECHANGED → const int
-
Sent to a window after the SetWindowLong function has changed one or more of
the window's styles.
0x007D
- WM_STYLECHANGING → const int
-
Sent to a window when the SetWindowLong function is about to change one or
more of the window's styles.
0x007C
- WM_SYNCPAINT → const int
-
The WM_SYNCPAINT message is used to synchronize painting while avoiding
linking independent GUI threads.
0x0088
- WM_SYSCHAR → const int
-
Posted to the window with the keyboard focus when a WM_SYSKEYDOWN message is
translated by the TranslateMessage function. It specifies the character code
of a system character key that is, a character key that is pressed while the
ALT key is down.
0x0106
- WM_SYSCOLORCHANGE → const int
-
The WM_SYSCOLORCHANGE message is sent to all top-level windows when a change
is made to a system color setting.
0x0015
- WM_SYSCOMMAND → const int
-
A window receives this message when the user chooses a command from the
Window menu (formerly known as the system or control menu) or when the user
chooses the maximize button, minimize button, restore button, or close
button.
0x0112
- WM_SYSDEADCHAR → const int
-
Sent to the window with the keyboard focus when a WM_SYSKEYDOWN message is
translated by the TranslateMessage function. WM_SYSDEADCHAR specifies the
character code of a system dead key that is, a dead key that is pressed
while holding down the ALT key.
0x0107
- WM_SYSKEYDOWN → const int
-
Posted to the window with the keyboard focus when the user presses the F10
key (which activates the menu bar) or holds down the ALT key and then
presses another key. It also occurs when no window currently has the
keyboard focus; in this case, the WM_SYSKEYDOWN message is sent to the
active window. The window that receives the message can distinguish between
these two contexts by checking the context code in the lParam parameter.
0x0104
- WM_SYSKEYUP → const int
-
Posted to the window with the keyboard focus when the user releases a key
that was pressed while the ALT key was held down. It also occurs when no
window currently has the keyboard focus; in this case, the WM_SYSKEYUP
message is sent to the active window. The window that receives the message
can distinguish between these two contexts by checking the context code in
the lParam parameter.
0x0105
- WM_TCARD → const int
-
Sent to an application that has initiated a training card with Windows Help.
The message informs the application when the user clicks an authorable
button. An application initiates a training card by specifying the
HELP_TCARD command in a call to the WinHelp function.
0x0052
- WM_TIMECHANGE → const int
-
A message that is sent whenever there is a change in the system time.
0x001E
- WM_TIMER → const int
-
Posted to the installing thread's message queue when a timer expires. The
message is posted by the GetMessage or PeekMessage function.
0x0113
- WM_UNDO → const int
-
An application sends a WM_UNDO message to an edit control to undo the last
operation. When this message is sent to an edit control, the previously
deleted text is restored or the previously added text is deleted.
0x0304
- WM_UNINITMENUPOPUP → const int
-
Sent when a drop-down menu or submenu has been destroyed.
0x0125
- WM_UPDATEUISTATE → const int
-
An application sends the WM_UPDATEUISTATE message to change the UI state for
the specified window and all its child windows.
0x0128
- WM_USER → const int
-
Used to define private messages for use by private window classes, usually
in the form WM_USER+x, where x is an integer value.
0x0400
- WM_USERCHANGED → const int
-
Sent to all windows after the user has logged on or off. When the user logs
on or off, the system updates the user-specific settings. The system sends
this message immediately after updating the settings.
0x0054
- WM_VKEYTOITEM → const int
-
Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in
response to a WM_KEYDOWN message.
0x002E
- WM_VSCROLL → const int
-
The WM_VSCROLL message is sent to a window when a scroll event occurs in the
window's standard vertical scroll bar. This message is also sent to the
owner of a vertical scroll bar control when a scroll event occurs in the
control.
0x0115
- WM_VSCROLLCLIPBOARD → const int
-
Sent to the clipboard owner by a clipboard viewer window when the clipboard
contains data in the CF_OWNERDISPLAY format and an event occurs in the
clipboard viewer's vertical scroll bar. The owner should scroll the
clipboard image and update the scroll bar values.
0x030A
- WM_WINDOWPOSCHANGED → const int
-
Sent to a window whose size, position, or place in the Z order has changed
as a result of a call to the SetWindowPos function or another
window-management function.
0x0047
- WM_WINDOWPOSCHANGING → const int
-
Sent to a window whose size, position, or place in the Z order is about to
change as a result of a call to the SetWindowPos function or another
window-management function.
0x0046
- WM_WININICHANGE → const int
-
An application sends the WM_WININICHANGE message to all top-level windows
after making a change to the WIN.INI file. The SystemParametersInfo function
sends this message after an application uses the function to change a
setting in WIN.INI.
0x001A
- WM_XBUTTONDBLCLK → const int
-
Posted when the user double-clicks the first or second X button while the
cursor is in the client area of a window. If the mouse is not captured, the
message is posted to the window beneath the cursor. Otherwise, the message
is posted to the window that has captured the mouse.
0x020D
- WM_XBUTTONDOWN → const int
-
Posted when the user presses the first or second X button while the cursor
is in the client area of a window. If the mouse is not captured, the message
is posted to the window beneath the cursor. Otherwise, the message is posted
to the window that has captured the mouse.
0x020B
- WM_XBUTTONUP → const int
-
Posted when the user releases the first or second X button while the cursor
is in the client area of a window. If the mouse is not captured, the message
is posted to the window beneath the cursor. Otherwise, the message is posted
to the window that has captured the mouse.
0x020C
- WRITE_DAC → const int
-
The right to modify the discretionary access control list (DACL) in the
object's security descriptor.
0x00040000
- WRITE_OWNER → const int
-
The right to change the owner in the object's security descriptor.
0x00080000
- WS_ACTIVECAPTION → const int
-
The window is active.
0x0001
- WS_BORDER → const int
-
The window has a thin-line border.
0x00800000
- WS_CAPTION → const int
-
The window has a title bar (includes the WS_BORDER style).
0x00C00000
- WS_CHILD → const int
-
The window is a child window. A window with this style cannot have a menu
bar. This style cannot be used with the WS_POPUP style.
0x40000000
- WS_CHILDWINDOW → const int
-
Same as the WS_CHILD style.
WS_CHILD
- WS_CLIPCHILDREN → const int
-
Excludes the area occupied by child windows when drawing occurs within the
parent window. This style is used when creating the parent window.
0x02000000
- WS_CLIPSIBLINGS → const int
-
Clips child windows relative to each other; that is, when a particular child
window receives a WM_PAINT message, the WS_CLIPSIBLINGS style clips all
other overlapping child windows out of the region of the child window to be
updated. If WS_CLIPSIBLINGS is not specified and child windows overlap, it
is possible, when drawing within the client area of a child window, to draw
within the client area of a neighboring child window.
0x04000000
- WS_DISABLED → const int
-
The window is initially disabled. A disabled window cannot receive input
from the user. To change this after a window has been created, use the
EnableWindow function.
0x08000000
- WS_DLGFRAME → const int
-
The window has a border of a style typically used with dialog boxes. A
window with this style cannot have a title bar.
0x00400000
- WS_EX_ACCEPTFILES → const int
-
The window accepts drag-drop files.
0x00000010
- WS_EX_APPWINDOW → const int
-
Forces a top-level window onto the taskbar when the window is visible.
0x00040000
- WS_EX_CLIENTEDGE → const int
-
The window has a border with a sunken edge.
0x00000200
- WS_EX_COMPOSITED → const int
-
Paints all descendants of a window in bottom-to-top painting order using
double-buffering. [...]
0x02000000
- WS_EX_CONTEXTHELP → const int
-
The title bar of the window includes a question mark. [...]
0x00000400
- WS_EX_CONTROLPARENT → const int
-
The window itself contains child windows that should take part in dialog box
navigation. [...]
0x00010000
- WS_EX_DLGMODALFRAME → const int
-
The window has a double border; the window can, optionally, be created with
a title bar by specifying the WS_CAPTION style in the dwStyle parameter.
0x00000001
- WS_EX_LAYERED → const int
-
The window is a layered window. This style cannot be used if the window has
a class style of either CS_OWNDC or CS_CLASSDC.
0x00080000
- WS_EX_LAYOUTRTL → const int
-
If the shell language is Hebrew, Arabic, or another language that supports
reading order alignment, the horizontal origin of the window is on the right
edge. Increasing horizontal values advance to the left.
0x00400000
- WS_EX_LEFT → const int
-
The window has generic left-aligned properties. This is the default.
0x00000000
- WS_EX_LEFTSCROLLBAR → const int
-
If the shell language is Hebrew, Arabic, or another language that supports
reading order alignment, the vertical scroll bar (if present) is to the left
of the client area. For other languages, the style is ignored.
0x00004000
- WS_EX_LTRREADING → const int
-
The window text is displayed using left-to-right reading-order properties.
This is the default.
0x00000000
- WS_EX_MDICHILD → const int
-
The window is a MDI child window.
0x00000040
- WS_EX_NOACTIVATE → const int
-
A top-level window created with this style does not become the foreground
window when the user clicks it. The system does not bring this window to the
foreground when the user minimizes or closes the foreground window.
0x08000000
- WS_EX_NOINHERITLAYOUT → const int
-
The window does not pass its window layout to its child windows.
0x00100000
- WS_EX_NOPARENTNOTIFY → const int
-
The child window created with this style does not send the WM_PARENTNOTIFY
message to its parent window when it is created or destroyed.
0x00000004
- WS_EX_NOREDIRECTIONBITMAP → const int
-
The window does not render to a redirection surface. This is for windows
that do not have visible content or that use mechanisms other than surfaces
to provide their visual.
0x00200000
- WS_EX_OVERLAPPEDWINDOW → const int
-
The window is an overlapped window.
WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE
- WS_EX_PALETTEWINDOW → const int
-
The window is palette window, which is a modeless dialog box that presents
an array of commands.
WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST
- WS_EX_RIGHT → const int
-
The window has generic "right-aligned" properties. This depends on the
window class. This style has an effect only if the shell language is Hebrew,
Arabic, or another language that supports reading-order alignment;
otherwise, the style is ignored.
0x00001000
- WS_EX_RIGHTSCROLLBAR → const int
-
The vertical scroll bar (if present) is to the right of the client area.
This is the default.
0x00000000
- WS_EX_RTLREADING → const int
-
If the shell language is Hebrew, Arabic, or another language that supports
reading-order alignment, the window text is displayed using right-to-left
reading-order properties. For other languages, the style is ignored.
0x00002000
- WS_EX_STATICEDGE → const int
-
The window has a three-dimensional border style intended to be used for
items that do not accept user input.
0x00020000
- WS_EX_TOOLWINDOW → const int
-
The window is intended to be used as a floating toolbar. A tool window has a
title bar that is shorter than a normal title bar, and the window title is
drawn using a smaller font. A tool window does not appear in the taskbar or
in the dialog that appears when the user presses ALT+TAB. If a tool window
has a system menu, its icon is not displayed on the title bar. However, you
can display the system menu by right-clicking or by typing ALT+SPACE.
0x00000080
- WS_EX_TOPMOST → const int
-
The window should be placed above all non-topmost windows and should stay
above them, even when the window is deactivated. To add or remove this
style, use the SetWindowPos function.
0x00000008
- WS_EX_TRANSPARENT → const int
-
The window should not be painted until siblings beneath the window (that
were created by the same thread) have been painted. The window appears
transparent because the bits of underlying sibling windows have already been
painted.
0x00000020
- WS_EX_WINDOWEDGE → const int
-
The window has a border with a raised edge.
0x00000100
- WS_GROUP → const int
-
The window is the first control of a group of controls. [...]
0x00020000
- WS_HSCROLL → const int
-
The window has a horizontal scroll bar.
0x00100000
- WS_ICONIC → const int
-
The window is initially minimized. Same as the WS_MINIMIZE style.
WS_MINIMIZE
- WS_MAXIMIZE → const int
-
The window is initially maximized.
0x01000000
- WS_MAXIMIZEBOX → const int
-
The window has a maximize button. Cannot be combined with the
WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified.
0x00010000
- WS_MINIMIZE → const int
-
The window is initially minimized. Same as the WS_ICONIC style.
0x20000000
- WS_MINIMIZEBOX → const int
-
The window has a minimize button. Cannot be combined with the
WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified.
0x00020000
- WS_OVERLAPPED → const int
-
The window is an overlapped window. An overlapped window has a title bar and
a border. Same as the WS_TILED style.
0x00000000
- WS_OVERLAPPEDWINDOW → const int
-
The window is an overlapped window. Same as the WS_TILEDWINDOW style.
WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
- WS_POPUP → const int
-
The window is a pop-up window. This style cannot be used with the WS_CHILD
style.
0x80000000
- WS_POPUPWINDOW → const int
-
The window is a pop-up window. The WS_CAPTION and WS_POPUPWINDOW styles must
be combined to make the window menu visible.
WS_POPUP | WS_BORDER | WS_SYSMENU
- WS_SIZEBOX → const int
-
The window has a sizing border. Same as the WS_THICKFRAME style.
WS_THICKFRAME
- WS_SYSMENU → const int
-
The window has a window menu on its title bar. The WS_CAPTION style must
also be specified.
0x00080000
- WS_TABSTOP → const int
-
The window is a control that can receive the keyboard focus when the user
presses the TAB key. [...]
0x00010000
- WS_THICKFRAME → const int
-
The window has a sizing border. Same as the WS_SIZEBOX style.
0x00040000
- WS_TILED → const int
-
The window is an overlapped window. An overlapped window has a title bar and
a border. Same as the WS_OVERLAPPED style.
WS_OVERLAPPED
- WS_TILEDWINDOW → const int
-
The window is an overlapped window. Same as the WS_OVERLAPPEDWINDOW style.
WS_OVERLAPPEDWINDOW
- WS_VISIBLE → const int
-
The window is initially visible. [...]
0x10000000
- WS_VSCROLL → const int
-
The window has a vertical scroll bar.
0x00200000
Properties
- E_ABORT → int
-
Operation aborted
final
- E_ACCESSDENIED → int
-
General access denied error
final
- E_FAIL → int
-
Unspecified failure
final
- E_HANDLE → int
-
Handle that is not valid
final
- E_INVALIDARG → int
-
One or more arguments are not valid
final
- E_NOINTERFACE → int
-
No such interface supported
final
- E_NOTIMPL → int
-
Not implemented
final
- E_OUTOFMEMORY → int
-
Failed to allocate necessary memory
final
- E_PENDING → int
-
The data necessary to complete this operation is not yet available.
final
- E_POINTER → int
-
Pointer that is not valid
final
- E_UNEXPECTED → int
-
Unexpected failure
final
-
IDC_APPSTARTING
→ Pointer<
Utf16> -
Standard arrow and small hourglass
final
-
IDC_ARROW
→ Pointer<
Utf16> -
Standard arrow
final
-
IDC_CROSS
→ Pointer<
Utf16> -
Crosshair
final
-
IDC_HAND
→ Pointer<
Utf16> -
Hand
final
-
IDC_HELP
→ Pointer<
Utf16> -
Arrow and question mark
final
-
IDC_IBEAM
→ Pointer<
Utf16> -
I-beam
final
-
IDC_NO
→ Pointer<
Utf16> -
Slashed circle
final
-
IDC_SIZEALL
→ Pointer<
Utf16> -
Four-pointed arrow pointing north, south, east, and west
final
-
IDC_SIZENESW
→ Pointer<
Utf16> -
Double-pointed arrow pointing northeast and southwest
final
-
IDC_SIZENS
→ Pointer<
Utf16> -
Double-pointed arrow pointing north and south
final
-
IDC_SIZENWSE
→ Pointer<
Utf16> -
Double-pointed arrow pointing northwest and southeast
final
-
IDC_SIZEWE
→ Pointer<
Utf16> -
Double-pointed arrow pointing west and east
final
-
IDC_UPARROW
→ Pointer<
Utf16> -
Vertical arrow
final
-
IDC_WAIT
→ Pointer<
Utf16> -
Hourglass
final
-
IDI_APPLICATION
→ Pointer<
Utf16> -
Default application icon.
final
-
IDI_ASTERISK
→ Pointer<
Utf16> -
Asterisk icon. Same as IDI_INFORMATION.
final
-
IDI_ERROR
→ Pointer<
Utf16> -
Hand-shaped icon.
final
-
IDI_EXCLAMATION
→ Pointer<
Utf16> -
Exclamation point icon. Same as IDI_WARNING.
final
-
IDI_HAND
→ Pointer<
Utf16> -
Hand-shaped icon. Same as IDI_ERROR.
final
-
IDI_INFORMATION
→ Pointer<
Utf16> -
Asterisk icon.
final
-
IDI_QUESTION
→ Pointer<
Utf16> -
Question mark icon.
final
-
IDI_SHIELD
→ Pointer<
Utf16> -
Security Shield icon.
final
-
IDI_WARNING
→ Pointer<
Utf16> -
Exclamation point icon.
final
-
IDI_WINLOGO
→ Pointer<
Utf16> -
Windows logo icon.
final
- VARIANT_FALSE → int
-
typedef short VARIANT_BOOL: 0 == FALSE
final
- VARIANT_TRUE → int
-
typedef short VARIANT_BOOL: -1 == TRUE
final
Functions
-
ActivateActCtx(
int hActCtx, Pointer< kernel32IntPtr> lpCookie) → int - The ActivateActCtx function activates the specified activation context. It does this by pushing the specified activation context to the top of the activation stack. The specified activation context is thus associated with the current thread and any appropriate side-by-side API functions. [...]
-
ActivateKeyboardLayout(
int hkl, int Flags) → int user32 - 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. [...]
-
AddClipboardFormatListener(
int hwnd) → int user32 - Places the given window in the system-maintained clipboard format listener list. [...]
-
AddFontResource(
Pointer< gdi32Utf16> param0) → int - The AddFontResource function adds the font resource from the specified file to the system font table. The font can subsequently be used for text output by any application. [...]
-
AddFontResourceEx(
Pointer< gdi32Utf16> name, int fl, Pointer<NativeType> res) → int - The AddFontResourceEx function adds the font resource from the specified file to the system. Fonts added with the AddFontResourceEx function can be marked as private and not enumerable. [...]
-
AddRefActCtx(
int hActCtx) → void kernel32 - The AddRefActCtx function increments the reference count of the specified activation context. [...]
-
AllocConsole(
) → int kernel32 - Allocates a new console for the calling process. [...]
-
AngleArc(
int hdc, int x, int y, int r, double StartAngle, double SweepAngle) → int gdi32 - The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles. [...]
-
AnimatePalette(
int hPal, int iStartIndex, int cEntries, Pointer< gdi32PALETTEENTRY> ppe) → int - The AnimatePalette function replaces entries in the specified logical palette. [...]
-
AnimateWindow(
int hWnd, int dwTime, int dwFlags) → int user32 - 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. [...]
-
AppendMenu(
int hMenu, int uFlags, int uIDNewItem, Pointer< user32Utf16> lpNewItem) → int - 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. [...]
-
Arc(
int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) → int gdi32 - The Arc function draws an elliptical arc. [...]
-
ArcTo(
int hdc, int left, int top, int right, int bottom, int xr1, int yr1, int xr2, int yr2) → int gdi32 - The ArcTo function draws an elliptical arc. [...]
-
AttachConsole(
int dwProcessId) → int kernel32 - Attaches the calling process to the console of the specified process. [...]
-
Beep(
int dwFreq, int dwDuration) → int kernel32 - Generates simple tones on the speaker. The function is synchronous; it performs an alertable wait and does not return control to its caller until the sound finishes. [...]
-
BeginPaint(
int hWnd, Pointer< user32PAINTSTRUCT> lpPaint) → int - The BeginPaint function prepares the specified window for painting and fills a PAINTSTRUCT structure with information about the painting. [...]
-
BeginPath(
int hdc) → int gdi32 - The BeginPath function opens a path bracket in the specified device context. [...]
-
BeginUpdateResource(
Pointer< kernel32Utf16> pFileName, int bDeleteExistingResources) → int - Retrieves a handle that can be used by the UpdateResource function to add, delete, or replace resources in a binary module. [...]
-
BitBlt(
int hdc, int x, int y, int cx, int cy, int hdcSrc, int x1, int y1, int rop) → int gdi32 - The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context. [...]
-
BlockInput(
int fBlockIt) → int user32 - Blocks keyboard and mouse input events from reaching applications. [...]
-
BluetoothAuthenticateDeviceEx(
int hwndParentIn, int hRadioIn, Pointer< bthpropsBLUETOOTH_DEVICE_INFO> pbtdiInout, Pointer<BLUETOOTH_OOB_DATA_INFO> pbtOobData, int authenticationRequirement) → int - The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated. [...]
-
BluetoothDisplayDeviceProperties(
int hwndParent, Pointer< bthpropsBLUETOOTH_DEVICE_INFO> pbtdi) → int - The BluetoothDisplayDeviceProperties function opens the Control Panel device information property sheet. [...]
-
BluetoothEnableDiscovery(
int hRadio, int fEnabled) → int bthprops - The BluetoothEnableDiscovery function changes the discovery state of a local Bluetooth radio or radios. [...]
-
BluetoothEnableIncomingConnections(
int hRadio, int fEnabled) → int bthprops - The BluetoothEnableIncomingConnections function modifies whether a local Bluetooth radio accepts incoming connections. [...]
-
BluetoothEnumerateInstalledServices(
int hRadio, Pointer< bthpropsBLUETOOTH_DEVICE_INFO> pbtdi, Pointer<Uint32> pcServiceInout, Pointer<GUID> pGuidServices) → int - The BluetoothEnumerateInstalledServices function enumerates the services GUIDs (Globally Unique Identifiers) enabled on a Bluetooth device. [...]
-
BluetoothFindDeviceClose(
int hFind) → int bthprops - The BluetoothFindDeviceClose function closes an enumeration handle associated with a device query. [...]
-
BluetoothFindFirstDevice(
Pointer< bthpropsBLUETOOTH_DEVICE_SEARCH_PARAMS> pbtsp, Pointer<BLUETOOTH_DEVICE_INFO> pbtdi) → int - The BluetoothFindFirstDevice function begins the enumeration Bluetooth devices. [...]
-
BluetoothFindFirstRadio(
Pointer< bthpropsBLUETOOTH_FIND_RADIO_PARAMS> pbtfrp, Pointer<IntPtr> phRadio) → int - The BluetoothFindFirstRadio function begins the enumeration of local Bluetooth radios. [...]
-
BluetoothFindNextDevice(
int hFind, Pointer< bthpropsBLUETOOTH_DEVICE_INFO> pbtdi) → int - The BluetoothFindNextDevice function finds the next Bluetooth device. [...]
-
BluetoothFindNextRadio(
int hFind, Pointer< bthpropsIntPtr> phRadio) → int - The BluetoothFindNextRadio function finds the next Bluetooth radio. [...]
-
BluetoothFindRadioClose(
int hFind) → int bthprops - The BluetoothFindRadioClose function closes the enumeration handle associated with finding Bluetooth radios. [...]
-
BluetoothGetRadioInfo(
int hRadio, Pointer< bthpropsBLUETOOTH_RADIO_INFO> pRadioInfo) → int - The BluetoothGetRadioInfo function obtains information about a Bluetooth radio. [...]
-
BluetoothIsConnectable(
int hRadio) → int bthprops - The BluetoothIsConnectable function determines whether a Bluetooth radio or radios is connectable. [...]
-
BluetoothIsDiscoverable(
int hRadio) → int bthprops - The BluetoothIsDiscoverable function determines whether a Bluetooth radio or radios is discoverable. [...]
-
BluetoothIsVersionAvailable(
int MajorVersion, int MinorVersion) → int bthprops - The BluetoothIsVersionAvailable function indicates if the installed Bluetooth binary set supports the requested version. [...]
-
BluetoothRegisterForAuthenticationEx(
Pointer< bthpropsBLUETOOTH_DEVICE_INFO> pbtdiIn, Pointer<IntPtr> phRegHandleOut, Pointer<NativeFunction< pfnCallbackIn, Pointer<PfnAuthenticationCallbackEx> >NativeType> pvParam) → int - The BluetoothRegisterForAuthenticationEx function registers an application for a pin request, numeric comparison and callback function. [...]
-
BluetoothRemoveDevice(
Pointer< bthpropsBLUETOOTH_ADDRESS> pAddress) → int - The BluetoothRemoveDevice function removes authentication between a Bluetooth device and the computer and clears cached service information for the device. [...]
-
BluetoothSetServiceState(
int hRadio, Pointer< bthpropsBLUETOOTH_DEVICE_INFO> pbtdi, Pointer<GUID> pGuidService, int dwServiceFlags) → int - The BluetoothSetServiceState function enables or disables services for a Bluetooth device. [...]
-
BluetoothUnregisterAuthentication(
int hRegHandle) → int bthprops - The BluetoothUnregisterAuthentication function removes registration for a callback routine that was previously registered with a call to the BluetoothRegisterForAuthentication function. [...]
-
BluetoothUpdateDeviceRecord(
Pointer< bthpropsBLUETOOTH_DEVICE_INFO> pbtdi) → int - The BluetoothUpdateDeviceRecord function updates the local computer cache about a Bluetooth device. [...]
-
BringWindowToTop(
int hWnd) → int user32 - 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. [...]
-
CallNtPowerInformation(
int InformationLevel, Pointer< powrprofNativeType> InputBuffer, int InputBufferLength, Pointer<NativeType> OutputBuffer, int OutputBufferLength) → int - Sets or retrieves power information. [...]
-
CancelDC(
int hdc) → int gdi32 - The CancelDC function cancels any pending operation on the specified device context (DC). [...]
-
ChangeClipboardChain(
int hWndRemove, int hWndNewNext) → int user32 - Removes a specified window from the chain of clipboard viewers. [...]
-
CheckRemoteDebuggerPresent(
int hProcess, Pointer< kernel32Int32> pbDebuggerPresent) → int - Determines whether the specified process is being debugged. [...]
-
ChildWindowFromPoint(
int hWndParent, POINT Point) → int user32 - 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. [...]
-
ChildWindowFromPointEx(
int hwnd, POINT pt, int flags) → int user32 - 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. Grandchildren and deeper descendants are not searched. [...]
-
ChooseColor(
Pointer< comdlg32CHOOSECOLOR> param0) → int - Creates a Color dialog box that enables the user to select a color. [...]
-
ChooseFont(
Pointer< comdlg32CHOOSEFONT> param0) → int - 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(
int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) → int gdi32 - The Chord function draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush. [...]
-
ClientToScreen(
int hWnd, Pointer< user32POINT> lpPoint) → int - The ClientToScreen function converts the client-area coordinates of a specified point to screen coordinates. [...]
-
ClipCursor(
Pointer< user32RECT> lpRect) → int - 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. [...]
-
CloseClipboard(
) → int user32 - Closes the clipboard. [...]
-
CloseFigure(
int hdc) → int gdi32 - The CloseFigure function closes an open figure in a path. [...]
-
CloseHandle(
int hObject) → int kernel32 - Closes an open object handle. [...]
-
ClosePseudoConsole(
int hPC) → void kernel32 - Closes a pseudoconsole from the given handle. [...]
-
CLSIDFromProgID(
Pointer< ole32Utf16> lpszProgID, Pointer<GUID> lpclsid) → int - Looks up a CLSID in the registry, given a ProgID. [...]
-
CLSIDFromProgIDEx(
Pointer< ole32Utf16> lpszProgID, Pointer<GUID> lpclsid) → int - Triggers automatic installation if the COMClassStore policy is enabled. [...]
-
CLSIDFromString(
Pointer< ole32Utf16> lpsz, Pointer<GUID> pclsid) → int - Converts a string generated by the StringFromCLSID function back into the original CLSID. [...]
-
CoAddRefServerProcess(
) → int ole32 - Increments a global per-process reference count. [...]
-
CoCreateGuid(
Pointer< ole32GUID> pguid) → int - Creates a GUID, a unique 128-bit integer used for CLSIDs and interface identifiers. [...]
-
CoCreateInstance(
Pointer< ole32GUID> rclsid, Pointer<NativeType> pUnkOuter, int dwClsContext, Pointer<GUID> riid, Pointer<Pointer< ppv) → intNativeType> > - Creates a single uninitialized object of the class associated with a specified CLSID. Call CoCreateInstance when you want to create only one object on the local system. To create a single object on a remote system, call the CoCreateInstanceEx function. To create multiple objects based on a single CLSID, call the CoGetClassObject function. [...]
-
CoGetClassObject(
Pointer< ole32GUID> rclsid, int dwClsContext, Pointer<NativeType> pvReserved, Pointer<GUID> riid, Pointer<Pointer< ppv) → intNativeType> > - Provides a pointer to an interface on a class object associated with a specified CLSID. CoGetClassObject locates, and if necessary, dynamically loads the executable code required to do this. [...]
-
CoGetCurrentProcess(
) → int ole32 - Returns a value that is unique to the current thread. CoGetCurrentProcess can be used to avoid thread ID reuse problems. [...]
-
CoInitializeEx(
Pointer< ole32NativeType> pvReserved, int dwCoInit) → int - Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required. [...]
-
CoInitializeSecurity(
Pointer< ole32SECURITY_DESCRIPTOR> pSecDesc, int cAuthSvc, Pointer<SOLE_AUTHENTICATION_SERVICE> asAuthSvc, Pointer<NativeType> pReserved1, int dwAuthnLevel, int dwImpLevel, Pointer<NativeType> pAuthList, int dwCapabilities, Pointer<NativeType> pReserved3) → int - Registers security and sets the default security values for the process. [...]
-
CompareObjectHandles(
int hFirstObjectHandle, int hSecondObjectHandle) → int kernel32 - Compares two object handles to determine if they refer to the same underlying kernel object. [...]
-
ConnectNamedPipe(
int hNamedPipe, Pointer< kernel32OVERLAPPED> lpOverlapped) → int - Enables a named pipe server process to wait for a client process to connect to an instance of a named pipe. A client process connects by calling either the CreateFile or CallNamedPipe function. [...]
-
ContinueDebugEvent(
int dwProcessId, int dwThreadId, int dwContinueStatus) → int kernel32 - Enables a debugger to continue a thread that previously reported a debugging event. [...]
-
convertFromHString(
Pointer< winrtIntPtr> hstring) → String -
Takes a
HSTRING
(a WinRT String), and converts it to a DartString
. -
convertToCLSID(
String strCLSID) → Pointer< comGUID> - Converts a Dart string into an CLSID using the CLSIDFromString call. [...]
-
convertToHString(
String string) → Pointer< winrtIntPtr> -
Takes a Dart String and converts it to an
HSTRING
(a WinRT String), returning a pointer to theHSTRING
. [...] -
convertToIID(
String strIID) → Pointer< comGUID> - Converts a Dart string into an IID using the IIDFromString call. [...]
-
CopyAcceleratorTable(
int hAccelSrc, Pointer< user32ACCEL> lpAccelDst, int cAccelEntries) → int - 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. [...]
-
CopyIcon(
int hIcon) → int user32 - Copies the specified icon from another module to the current module. [...]
-
CopyImage(
int h, int type, int cx, int cy, int flags) → int user32 - Creates a new image (icon, cursor, or bitmap) and copies the attributes of the specified image to the new one. If necessary, the function stretches the bits to fit the desired size of the new image. [...]
-
CopyRect(
Pointer< user32RECT> lprcDst, Pointer<RECT> lprcSrc) → int - The CopyRect function copies the coordinates of one rectangle to another. [...]
-
CoSetProxyBlanket(
Pointer< ole32NativeType> pProxy, int dwAuthnSvc, int dwAuthzSvc, Pointer<Utf16> pServerPrincName, int dwAuthnLevel, int dwImpLevel, Pointer<NativeType> pAuthInfo, int dwCapabilities) → int - Sets the authentication information that will be used to make calls on the specified proxy. This is a helper function for IClientSecurity::SetBlanket. [...]
-
CoTaskMemFree(
Pointer< ole32NativeType> pv) → void - Frees a block of task memory previously allocated through a call to the CoTaskMemAlloc or CoTaskMemRealloc function. [...]
-
CoUninitialize(
) → void ole32 - Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close. [...]
-
CountClipboardFormats(
) → int user32 - Retrieves the number of different data formats currently on the clipboard. [...]
-
CreateAcceleratorTable(
Pointer< user32ACCEL> paccel, int cAccel) → int - Creates an accelerator table. [...]
-
CreateActCtx(
Pointer< kernel32ACTCTX> pActCtx) → int - The CreateActCtx function creates an activation context. [...]
-
CreateCompatibleBitmap(
int hdc, int cx, int cy) → int gdi32 - The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context. [...]
-
CreateCompatibleDC(
int hdc) → int gdi32 - The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device. [...]
-
CreateConsoleScreenBuffer(
int dwDesiredAccess, Pointer< kernel32SECURITY_ATTRIBUTES> lpSecurityAttributes, int dwFlags, Pointer<NativeType> lpScreenBufferData) → int - Creates a console screen buffer. [...]
-
CreateDialogIndirectParam(
int hInstance, Pointer< user32DLGTEMPLATE> lpTemplate, int hWndParent, Pointer<NativeFunction< lpDialogFunc, int dwInitParam) → intDlgProc> > - 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. [...]
-
CreateDIBitmap(
int hdc, Pointer< gdi32BITMAPINFOHEADER> pbmih, int flInit, Pointer<NativeType> pjBits, Pointer<BITMAPINFO> pbmi, int iUsage) → int - The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits. [...]
-
CreateDIBPatternBrushPt(
Pointer< gdi32NativeType> lpPackedDIB, int iUsage) → int - The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB). [...]
-
CreateDirectory(
Pointer< kernel32Utf16> lpPathName, Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes) → int - Creates a new directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory. [...]
-
CreateEllipticRgn(
int x1, int y1, int x2, int y2) → int gdi32 - The CreateEllipticRgn function creates an elliptical region. [...]
-
CreateFile(
Pointer< kernel32Utf16> lpFileName, int dwDesiredAccess, Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, int hTemplateFile) → int - Creates or opens a file or I/O device. The most commonly used I/O devices are as follows: file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe. The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified. [...]
-
CreateFontIndirect(
Pointer< gdi32LOGFONT> lplf) → int - The CreateFontIndirect function creates a logical font that has the specified characteristics. The font can subsequently be selected as the current font for any device context. [...]
-
CreateHalftonePalette(
int hdc) → int gdi32 - The CreateHalftonePalette function creates a halftone palette for the specified device context (DC). [...]
-
CreateHatchBrush(
int iHatch, int color) → int gdi32 - The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color. [...]
-
CreateMenu(
) → int user32 - Creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions. [...]
-
CreateNamedPipe(
Pointer< kernel32Utf16> lpName, int dwOpenMode, int dwPipeMode, int nMaxInstances, int nOutBufferSize, int nInBufferSize, int nDefaultTimeOut, Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes) → int - Creates an instance of a named pipe and returns a handle for subsequent pipe operations. A named pipe server process uses this function either to create the first instance of a specific named pipe and establish its basic attributes or to create a new instance of an existing named pipe. [...]
-
CreateObject(
String className, String iid) → Pointer< winrtCOMObject> - Creates a WinRT object. [...]
-
CreatePen(
int iStyle, int cWidth, int color) → int gdi32 - The CreatePen function creates a logical pen that has the specified style, width, and color. The pen can subsequently be selected into a device context and used to draw lines and curves. [...]
-
CreatePipe(
Pointer< kernel32IntPtr> hReadPipe, Pointer<IntPtr> hWritePipe, Pointer<SECURITY_ATTRIBUTES> lpPipeAttributes, int nSize) → int - Creates an anonymous pipe, and returns handles to the read and write ends of the pipe. [...]
-
CreateProcess(
Pointer< kernel32Utf16> lpApplicationName, Pointer<Utf16> lpCommandLine, Pointer<SECURITY_ATTRIBUTES> lpProcessAttributes, Pointer<SECURITY_ATTRIBUTES> lpThreadAttributes, int bInheritHandles, int dwCreationFlags, Pointer<NativeType> lpEnvironment, Pointer<Utf16> lpCurrentDirectory, Pointer<STARTUPINFO> lpStartupInfo, Pointer<PROCESS_INFORMATION> lpProcessInformation) → int - Creates a new process and its primary thread. The new process runs in the security context of the calling process. [...]
-
CreatePseudoConsole(
COORD size, int hInput, int hOutput, int dwFlags, Pointer< kernel32IntPtr> phPC) → int - Creates a new pseudoconsole object for the calling process. [...]
-
CreateSolidBrush(
int color) → int gdi32 - The CreateSolidBrush function creates a logical brush that has the specified solid color. [...]
-
CreateWindowEx(
int dwExStyle, Pointer< user32Utf16> lpClassName, Pointer<Utf16> lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, Pointer<NativeType> lpParam) → int - 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. [...]
-
CredDelete(
Pointer< advapi32Utf16> TargetName, int Type, int Flags) → int - The CredDelete function deletes a credential from the user's credential set. The credential set used is the one associated with the logon session of the current token. The token must not have the user's SID disabled. [...]
-
CredFree(
Pointer< advapi32NativeType> Buffer) → void - The CredFree function frees a buffer returned by any of the credentials management functions. [...]
-
CredRead(
Pointer< advapi32Utf16> TargetName, int Type, int Flags, Pointer<Pointer< Credential) → intCREDENTIAL> > - The CredRead function reads a credential from the user's credential set. The credential set used is the one associated with the logon session of the current token. The token must not have the user's SID disabled. [...]
-
CredWrite(
Pointer< advapi32CREDENTIAL> Credential, int Flags) → int - The CredWrite function creates a new credential or modifies an existing credential in the user's credential set. The new credential is associated with the logon session of the current token. The token must not have the user's security identifier (SID) disabled. [...]
-
DeactivateActCtx(
int dwFlags, int ulCookie) → int kernel32 - The DeactivateActCtx function deactivates the activation context corresponding to the specified cookie. [...]
-
DebugBreak(
) → void kernel32 - Causes a breakpoint exception to occur in the current process. This allows the calling thread to signal the debugger to handle the exception. [...]
-
DebugBreakProcess(
int Process) → int kernel32 - Causes a breakpoint exception to occur in the specified process. This allows the calling thread to signal the debugger to handle the exception. [...]
-
DebugSetProcessKillOnExit(
int KillOnExit) → int kernel32 - Sets the action to be performed when the calling thread exits. [...]
-
DecryptFile(
Pointer< advapi32Utf16> lpFileName, int dwReserved) → int - Decrypts an encrypted file or directory. [...]
-
DefWindowProc(
int hWnd, int Msg, int wParam, int lParam) → int user32 - 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. [...]
-
DeleteDC(
int hdc) → int gdi32 - The DeleteDC function deletes the specified device context (DC). [...]
-
DeleteFile(
Pointer< kernel32Utf16> lpFileName) → int - Deletes an existing file. [...]
-
DeleteObject(
int ho) → int gdi32 - The DeleteObject function deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid. [...]
-
DestroyIcon(
int hIcon) → int user32 - Destroys an icon and frees any memory the icon occupied. [...]
-
DestroyMenu(
int hMenu) → int user32 - Destroys the specified menu and frees any memory that the menu occupies. [...]
-
DestroyPhysicalMonitor(
int hMonitor) → int dxva2 - Closes a handle to a physical monitor. Call this function to close a monitor handle obtained from the GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9 function. [...]
-
DestroyPhysicalMonitors(
int dwPhysicalMonitorArraySize, Pointer< dxva2PHYSICAL_MONITOR> pPhysicalMonitorArray) → int - Closes an array of physical monitor handles. Call this function to close an array of monitor handles obtained from the GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9 function. [...]
-
DestroyWindow(
int hWnd) → int user32 - 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). [...]
-
DialogBoxIndirect(
int hInstance, Pointer< user32DLGTEMPLATE> lpTemplate, int hWndParent, Pointer<NativeFunction< lpDialogFunc) → voidDlgProc> > - 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. [...]
-
DialogBoxIndirectParam(
int hInstance, Pointer< user32DLGTEMPLATE> hDialogTemplate, int hWndParent, Pointer<NativeFunction< lpDialogFunc, int dwInitParam) → intDlgProc> > - 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. [...]
-
DisableProcessWindowsGhosting(
) → void user32 - Disables the window ghosting feature for the calling GUI process. Window ghosting is a Windows Manager feature that lets the user minimize, move, or close the main window of an application that is not responding. [...]
-
DisconnectNamedPipe(
int hNamedPipe) → int kernel32 - Disconnects the server end of a named pipe instance from a client process. [...]
-
DispatchMessage(
Pointer< user32MSG> lpMsg) → int - Dispatches a message to a window procedure. It is typically used to dispatch a message retrieved by the GetMessage function. [...]
-
DnsHostnameToComputerName(
Pointer< kernel32Utf16> Hostname, Pointer<Utf16> ComputerName, Pointer<Uint32> nSize) → int - Converts a DNS-style host name to a NetBIOS-style computer name. [...]
-
DosDateTimeToFileTime(
int wFatDate, int wFatTime, Pointer< kernel32FILETIME> lpFileTime) → int - Converts MS-DOS date and time values to a file time. [...]
-
DosDateTimeToVariantTime(
int wDosDate, int wDosTime, Pointer< oleaut32Double> pvtime) → int - Converts the MS-DOS representation of time to the date and time representation stored in a variant. [...]
-
DragDetect(
int hwnd, POINT pt) → int user32 - 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. [...]
-
DrawCaption(
int hwnd, int hdc, Pointer< user32RECT> lprect, int flags) → int - The DrawCaption function draws a window caption. [...]
-
DrawEscape(
int hdc, int iEscape, int cjIn, Pointer< gdi32Utf8> lpIn) → int - The DrawEscape function provides drawing capabilities of the specified video display that are not directly available through the graphics device interface (GDI). [...]
-
DrawIcon(
int hDC, int X, int Y, int hIcon) → int user32 - Draws an icon or cursor into the specified device context. [...]
-
DrawStatusText(
int hDC, Pointer< comctl32RECT> lprc, Pointer<Utf16> pszText, int uFlags) → void - The DrawStatusText function draws the specified text in the style of a status window with borders. [...]
-
DrawText(
int hdc, Pointer< user32Utf16> lpchText, int cchText, Pointer<RECT> lprc, int format) → int - The DrawText function draws formatted text in the specified rectangle. It formats the text according to the specified method (expanding tabs, justifying characters, breaking lines, and so forth). [...]
-
DrawTextEx(
int hdc, Pointer< user32Utf16> lpchText, int cchText, Pointer<RECT> lprc, int format, Pointer<DRAWTEXTPARAMS> lpdtp) → int - The DrawTextEx function draws formatted text in the specified rectangle. [...]
-
DuplicateHandle(
int hSourceProcessHandle, int hSourceHandle, int hTargetProcessHandle, Pointer< kernel32IntPtr> lpTargetHandle, int dwDesiredAccess, int bInheritHandle, int dwOptions) → int - Duplicates an object handle. [...]
-
Ellipse(
int hdc, int left, int top, int right, int bottom) → int gdi32 - The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush. [...]
-
EmptyClipboard(
) → int user32 - 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(
int hMenu, int uIDEnableItem, int uEnable) → int user32 - Enables, disables, or grays the specified menu item. [...]
-
EnableWindow(
int hWnd, int bEnable) → int user32 - 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(
Pointer< advapi32Utf16> lpFileName) → int - Encrypts a file or directory. All data streams in a file are encrypted. All new files created in an encrypted directory are encrypted. [...]
-
EndDialog(
int hDlg, int nResult) → int user32 - Destroys a modal dialog box, causing the system to end any processing for the dialog box. [...]
-
EndPaint(
int hWnd, Pointer< user32PAINTSTRUCT> lpPaint) → int - The EndPaint function marks the end of painting in the specified window. This function is required for each call to the BeginPaint function, but only after painting is complete. [...]
-
EndPath(
int hdc) → int gdi32 - The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context. [...]
-
EndUpdateResource(
int hUpdate, int fDiscard) → int kernel32 - Commits or discards changes made prior to a call to UpdateResource. [...]
-
EnumChildWindows(
int hWndParent, Pointer< user32NativeFunction< lpEnumFunc, int lParam) → intEnumWindowsProc> > - 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(
int format) → int user32 - Enumerates the data formats currently available on the clipboard. [...]
-
EnumDisplayMonitors(
int hdc, Pointer< user32RECT> lprcClip, Pointer<NativeFunction< lpfnEnum, int dwData) → intMonitorEnumProc> > - The EnumDisplayMonitors function enumerates display monitors (including invisible pseudo-monitors associated with the mirroring drivers) that intersect a region formed by the intersection of a specified clipping rectangle and the visible region of a device context. EnumDisplayMonitors calls an application-defined MonitorEnumProc callback function once for each monitor that is enumerated. Note that GetSystemMetrics (SM_CMONITORS) counts only the display monitors. [...]
-
EnumFontFamiliesEx(
int hdc, Pointer< gdi32LOGFONT> lpLogfont, Pointer<NativeFunction< lpProc, int lParam, int dwFlags) → intEnumFontFamExProc> > - The EnumFontFamiliesEx function enumerates all uniquely-named fonts in the system that match the font characteristics specified by the LOGFONT structure. EnumFontFamiliesEx enumerates fonts based on typeface name, character set, or both. [...]
-
EnumProcesses(
Pointer< kernel32Uint32> lpidProcess, int cb, Pointer<Uint32> lpcbNeeded) → int - Retrieves the process identifier for each process object in the system. [...]
-
EnumProcessModules(
int hProcess, Pointer< kernel32IntPtr> lphModule, int cb, Pointer<Uint32> lpcbNeeded) → int - Retrieves a handle for each module in the specified process. [...]
-
EnumProcessModulesEx(
int hProcess, Pointer< kernel32IntPtr> lphModule, int cb, Pointer<Uint32> lpcbNeeded, int dwFilterFlag) → int - Retrieves a handle for each module in the specified process that meets the specified filter criteria. [...]
-
EnumResourceNames(
int hModule, Pointer< kernel32Utf16> lpType, Pointer<NativeFunction< lpEnumFunc, int lParam) → intEnumResNameProc> > - Enumerates resources of a specified type within a binary module. For Windows Vista and later, this is typically a language-neutral Portable Executable (LN file), and the enumeration will also include resources from the corresponding language-specific resource files (.mui files) that contain localizable language resources. It is also possible for hModule to specify an .mui file, in which case only that file is searched for resources. [...]
-
EnumResourceTypes(
int hModule, Pointer< kernel32NativeFunction< lpEnumFunc, int lParam) → intEnumResTypeProc> > - Enumerates resource types within a binary module. Starting with Windows Vista, this is typically a language-neutral Portable Executable (LN file), and the enumeration also includes resources from one of the corresponding language-specific resource files (.mui files)—if one exists—that contain localizable language resources. It is also possible to use hModule to specify a .mui file, in which case only that file is searched for resource types. [...]
-
EnumWindows(
Pointer< user32NativeFunction< lpEnumFunc, int lParam) → intEnumWindowsProc> > - 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. [...]
-
EqualRect(
Pointer< user32RECT> lprc1, Pointer<RECT> lprc2) → int - The EqualRect function determines whether the two specified rectangles are equal by comparing the coordinates of their upper-left and lower-right corners. [...]
-
ExcludeUpdateRgn(
int hDC, int hWnd) → int user32 - The ExcludeUpdateRgn function prevents drawing within invalid areas of a window by excluding an updated region in the window from a clipping region. [...]
-
ExitProcess(
int uExitCode) → void kernel32 - Ends the calling process and all its threads. [...]
-
ExtCreatePen(
int iPenStyle, int cWidth, Pointer< gdi32LOGBRUSH> plbrush, int cStyle, Pointer<Uint32> pstyle) → int - The ExtCreatePen function creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes. [...]
-
ExtTextOut(
int hdc, int x, int y, int options, Pointer< gdi32RECT> lprect, Pointer<Utf16> lpString, int c, Pointer<Int32> lpDx) → int - The ExtTextOut function draws text using the currently selected font, background color, and text color. You can optionally provide dimensions to be used for clipping, opaquing, or both. [...]
-
FAILED(
int result) → bool - Provides a generic test for failure on any status value.
-
FileEncryptionStatus(
Pointer< advapi32Utf16> lpFileName, Pointer<Uint32> lpStatus) → int - Retrieves the encryption status of the specified file. [...]
-
FileTimeToDosDateTime(
Pointer< kernel32FILETIME> lpFileTime, Pointer<Uint16> lpFatDate, Pointer<Uint16> lpFatTime) → int - Converts a file time to MS-DOS date and time values. [...]
-
FillConsoleOutputAttribute(
int hConsoleOutput, int wAttribute, int nLength, COORD dwWriteCoord, Pointer< kernel32Uint32> lpNumberOfAttrsWritten) → int - Sets the character attributes for a specified number of character cells, beginning at the specified coordinates in a screen buffer. [...]
-
FillConsoleOutputCharacter(
int hConsoleOutput, int cCharacter, int nLength, COORD dwWriteCoord, Pointer< kernel32Uint32> lpNumberOfCharsWritten) → int - Writes a character to the console screen buffer a specified number of times, beginning at the specified coordinates. [...]
-
FillRect(
int hDC, Pointer< user32RECT> lprc, int hbr) → int - The FillRect function fills a rectangle by using the specified brush. This function includes the left and top borders, but excludes the right and bottom borders of the rectangle. [...]
-
FindClose(
int hFindFile) → int kernel32 - Closes a file search handle opened by the FindFirstFile, FindFirstFileEx, FindFirstFileNameW, FindFirstFileNameTransactedW, FindFirstFileTransacted, FindFirstStreamTransactedW, or FindFirstStreamW functions. [...]
-
FindCloseChangeNotification(
int hChangeHandle) → int kernel32 - Stops change notification handle monitoring. [...]
-
FindExecutable(
Pointer< shell32Utf16> lpFile, Pointer<Utf16> lpDirectory, Pointer<Utf16> lpResult) → int - Retrieves the name of and handle to the executable (.exe) file associated with a specific document file. [...]
-
FindFirstChangeNotification(
Pointer< kernel32Utf16> lpPathName, int bWatchSubtree, int dwNotifyFilter) → int - Creates a change notification handle and sets up initial change notification filter conditions. A wait on a notification handle succeeds when a change matching the filter conditions occurs in the specified directory or subtree. The function does not report changes to the specified directory itself. [...]
-
FindFirstFile(
Pointer< kernel32Utf16> lpFileName, Pointer<WIN32_FIND_DATA> lpFindFileData) → int - Searches a directory for a file or subdirectory with a name that matches a specific name (or partial name if wildcards are used). [...]
-
FindFirstVolume(
Pointer< kernel32Utf16> lpszVolumeName, int cchBufferLength) → int - Retrieves the name of a volume on a computer. FindFirstVolume is used to begin scanning the volumes of a computer. [...]
-
FindNextChangeNotification(
int hChangeHandle) → int kernel32 - Requests that the operating system signal a change notification handle the next time it detects an appropriate change. [...]
-
FindNextFile(
int hFindFile, Pointer< kernel32WIN32_FIND_DATA> lpFindFileData) → int - Continues a file search from a previous call to the FindFirstFile, FindFirstFileEx, or FindFirstFileTransacted functions. [...]
-
FindNextVolume(
int hFindVolume, Pointer< kernel32Utf16> lpszVolumeName, int cchBufferLength) → int - Continues a volume search started by a call to the FindFirstVolume function. FindNextVolume finds one volume per call. [...]
-
FindResource(
int hModule, Pointer< kernel32Utf16> lpName, Pointer<Utf16> lpType) → int - Determines the location of a resource with the specified type and name in the specified module. [...]
-
FindResourceEx(
int hModule, Pointer< kernel32Utf16> lpType, Pointer<Utf16> lpName, int wLanguage) → int - Determines the location of the resource with the specified type, name, and language in the specified module. [...]
-
FindText(
Pointer< comdlg32FINDREPLACE> param0) → int - 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(
int hFindVolume) → int kernel32 - Closes the specified volume search handle. The FindFirstVolume and FindNextVolume functions use this search handle to locate volumes. [...]
-
FindWindowEx(
int hWndParent, int hWndChildAfter, Pointer< user32Utf16> lpszClass, Pointer<Utf16> lpszWindow) → int - 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. [...]
-
FlushConsoleInputBuffer(
int hConsoleInput) → int kernel32 - Flushes the console input buffer. All input records currently in the input buffer are discarded. [...]
-
FormatMessage(
int dwFlags, Pointer< kernel32NativeType> lpSource, int dwMessageId, int dwLanguageId, Pointer<Utf16> lpBuffer, int nSize, Pointer<Pointer< Arguments) → intInt8> > - Formats a message string. The function requires a message definition as input. The message definition can come from a buffer passed into the function. It can come from a message table resource in an already-loaded module. Or the caller can ask the function to search the system's message table resource(s) for the message definition. The function finds the message definition in a message table resource based on a message identifier and a language identifier. The function copies the formatted message text to an output buffer, processing any embedded insert sequences if requested. [...]
-
FrameRect(
int hDC, Pointer< user32RECT> lprc, int hbr) → int - The FrameRect function draws a border around the specified rectangle by using the specified brush. The width and height of the border are always one logical unit. [...]
-
free(
Pointer< NativeType> pointer) → void - Frees allocated memory. [...]
-
FreeConsole(
) → int kernel32 - Detaches the calling process from its console. [...]
-
FreeLibrary(
int hLibModule) → int kernel32 - Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count. When the reference count reaches zero, the module is unloaded from the address space of the calling process and the handle is no longer valid. [...]
-
GET_SC_WPARAM(
int wParam) → int user32 - Retrieves the parameters to WM_SYSCOMMAND.
-
GetActiveObject(
Pointer< oleaut32GUID> rclsid, Pointer<NativeType> pvReserved, Pointer<Pointer< ppunk) → intNativeType> > - Retrieves a pointer to a running object that has been registered with OLE. [...]
-
GetActiveWindow(
) → int user32 - Retrieves the window handle to the active window attached to the calling thread's message queue. [...]
-
GetAncestor(
int hwnd, int gaFlags) → int user32 - Retrieves the handle to the ancestor of the specified window. [...]
-
GetAsyncKeyState(
int vKey) → int user32 - 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. [...]
-
GetBinaryType(
Pointer< kernel32Utf16> lpApplicationName, Pointer<Uint32> lpBinaryType) → int - Determines whether a file is an executable (.exe) file, and if so, which subsystem runs the executable file. [...]
-
GetBValue(
int rgb) → int - Retrieves an intensity value for the blue component of a red, green, blue (RGB) value.
-
GetCapture(
) → int user32 - 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. [...]
-
GetClientRect(
int hWnd, Pointer< user32RECT> lpRect) → int - 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(
int uFormat) → int user32 - Retrieves data from the clipboard in a specified format. The clipboard must have been opened previously. [...]
-
GetClipboardFormatName(
int format, Pointer< user32Utf16> lpszFormatName, int cchMaxCount) → int - Retrieves from the clipboard the name of the specified registered format. The function copies the name to the specified buffer. [...]
-
GetClipboardOwner(
) → int user32 - Retrieves the window handle of the current owner of the clipboard. [...]
-
GetClipboardSequenceNumber(
) → int user32 - Retrieves the clipboard sequence number for the current window station. [...]
-
GetClipboardViewer(
) → int user32 - Retrieves the handle to the first window in the clipboard viewer chain. [...]
-
GetComputerName(
Pointer< kernel32Utf16> lpBuffer, Pointer<Uint32> nSize) → int - Retrieves the NetBIOS name of the local computer. This name is established at system startup, when the system reads it from the registry. [...]
-
GetComputerNameEx(
int NameType, Pointer< kernel32Utf16> lpBuffer, Pointer<Uint32> nSize) → int - Retrieves a NetBIOS or DNS name associated with the local computer. The names are established at system startup, when the system reads them from the registry. [...]
-
GetConsoleCursorInfo(
int hConsoleOutput, Pointer< kernel32CONSOLE_CURSOR_INFO> lpConsoleCursorInfo) → int - Retrieves information about the size and visibility of the cursor for the specified console screen buffer. [...]
-
GetConsoleMode(
int hConsoleHandle, Pointer< kernel32Uint32> lpMode) → int - Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. [...]
-
GetConsoleScreenBufferInfo(
int hConsoleOutput, Pointer< kernel32CONSOLE_SCREEN_BUFFER_INFO> lpConsoleScreenBufferInfo) → int - Retrieves information about the specified console screen buffer. [...]
-
GetConsoleSelectionInfo(
Pointer< kernel32CONSOLE_SELECTION_INFO> lpConsoleSelectionInfo) → int - Retrieves information about the current console selection. [...]
-
GetConsoleTitle(
Pointer< kernel32Utf16> lpConsoleTitle, int nSize) → int - Retrieves the title for the current console window. [...]
-
GetConsoleWindow(
) → int kernel32 - Retrieves the window handle used by the console associated with the calling process. [...]
-
GetCurrentActCtx(
Pointer< kernel32IntPtr> lphActCtx) → int - The GetCurrentActCtx function returns the handle to the active activation context of the calling thread. [...]
-
GetCurrentProcess(
) → int kernel32 - Retrieves a pseudo handle for the current process. [...]
-
GetCursor(
) → int user32 - Retrieves a handle to the current cursor. [...]
-
GetCursorPos(
Pointer< user32POINT> lpPoint) → int - Retrieves the position of the mouse cursor, in screen coordinates. [...]
-
GetDC(
int hWnd) → int user32 - The GetDC function retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen. You can use the returned handle in subsequent GDI functions to draw in the DC. The device context is an opaque data structure, whose values are used internally by GDI. [...]
-
GetDCEx(
int hWnd, int hrgnClip, int flags) → int user32 - The GetDCEx function retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen. You can use the returned handle in subsequent GDI functions to draw in the DC. The device context is an opaque data structure, whose values are used internally by GDI. [...]
-
GetDesktopWindow(
) → int user32 - Retrieves 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. [...]
-
GetDialogBaseUnits(
) → int user32 - 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. [...]
-
GetDIBits(
int hdc, int hbm, int start, int cLines, Pointer< gdi32NativeType> lpvBits, Pointer<BITMAPINFO> lpbmi, int usage) → int - The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format. [...]
-
GetDlgItem(
int hDlg, int nIDDlgItem) → int user32 - Retrieves a handle to a control in the specified dialog box. [...]
-
GetDlgItemInt(
int hDlg, int nIDDlgItem, Pointer< user32Int32> lpTranslated, int bSigned) → int - Translates the text of a specified control in a dialog box into an integer value. [...]
-
GetDlgItemText(
int hDlg, int nIDDlgItem, Pointer< user32Utf16> lpString, int cchMax) → int - Retrieves the title or text associated with a control in a dialog box. [...]
-
GetDoubleClickTime(
) → int user32 - 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. The maximum double-click time is 5000 milliseconds. [...]
-
GetDpiForMonitor(
int hmonitor, int dpiType, Pointer< shcoreUint32> dpiX, Pointer<Uint32> dpiY) → int - Queries the dots per inch (dpi) of a display. [...]
-
GetDpiForSystem(
) → int user32 - Returns the system DPI. [...]
-
GetDpiForWindow(
int hwnd) → int user32 - Returns the dots per inch (dpi) value for the associated window. [...]
-
GetExitCodeProcess(
int hProcess, Pointer< kernel32Uint32> lpExitCode) → int - Retrieves the termination status of the specified process. [...]
-
GetFileAttributesEx(
Pointer< kernel32Utf16> lpFileName, int fInfoLevelId, Pointer<NativeType> lpFileInformation) → int - Retrieves attributes for a specified file or directory. [...]
-
GetFileVersionInfo(
Pointer< versionUtf16> lptstrFilename, int dwHandle, int dwLen, Pointer<NativeType> lpData) → int - Retrieves version information for the specified file. [...]
-
GetFileVersionInfoEx(
int dwFlags, Pointer< versionUtf16> lpwstrFilename, int dwHandle, int dwLen, Pointer<NativeType> lpData) → int - Retrieves version information for the specified file. [...]
-
GetFileVersionInfoSize(
Pointer< versionUtf16> lptstrFilename, Pointer<Uint32> lpdwHandle) → int - 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(
int dwFlags, Pointer< versionUtf16> lpwstrFilename, Pointer<Uint32> lpdwHandle) → int - 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. [...]
-
GetFocus(
) → int user32 - Retrieves the handle to the window that has the keyboard focus, if the window is attached to the calling thread's message queue. [...]
-
GetForegroundWindow(
) → int user32 - Retrieves 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. [...]
-
GetGValue(
int rgb) → int - Retrieves an intensity value for the green component of a red, green, blue (RGB) value.
-
GetHandleInformation(
int hObject, Pointer< kernel32Uint32> lpdwFlags) → int - Retrieves certain properties of an object handle. [...]
-
GetInputState(
) → int user32 - Determines whether there are mouse-button or keyboard messages in the calling thread's message queue. [...]
-
GetIntegratedDisplaySize(
Pointer< kernel32Double> sizeInInches) → int - Retrieves the best estimate of the diagonal size of the built-in screen, in inches. [...]
-
GetKeyboardLayout(
int idThread) → int user32 - Retrieves the active input locale identifier (formerly called the keyboard layout). [...]
-
GetKeyboardLayoutList(
int nBuff, Pointer< user32IntPtr> lpList) → int - 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(
Pointer< user32Utf16> pwszKLID) → int - Retrieves the name of the active input locale identifier (formerly called the keyboard layout) for the system. [...]
-
GetKeyboardState(
Pointer< user32Uint8> lpKeyState) → int - Copies the status of the 256 virtual keys to the specified buffer. [...]
-
GetKeyboardType(
int nTypeFlag) → int user32 - Retrieves information about the current keyboard. [...]
-
GetKeyNameText(
int lParam, Pointer< user32Utf16> lpString, int cchSize) → int - Retrieves a string that represents the name of a key. [...]
-
GetKeyState(
int nVirtKey) → int user32 - Retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off—alternating each time the key is pressed). [...]
-
GetLargestConsoleWindowSize(
int hConsoleOutput) → COORD kernel32 - Retrieves the size of the largest possible console window, based on the current font and the size of the display. [...]
-
GetLastError(
) → int kernel32 - Retrieves the calling thread's last-error code value. The last-error code is maintained on a per-thread basis. Multiple threads do not overwrite each other's last-error code. [...]
-
GetLastInputInfo(
Pointer< user32LASTINPUTINFO> plii) → int - Retrieves the time of the last input event. [...]
-
GetLocaleInfoEx(
Pointer< kernel32Utf16> lpLocaleName, int LCType, Pointer<Utf16> lpLCData, int cchData) → int - Retrieves information about a locale specified by name. [...]
-
GetLocalTime(
Pointer< kernel32SYSTEMTIME> lpSystemTime) → void - Retrieves the current local date and time. [...]
-
GetLogicalDriveStrings(
int nBufferLength, Pointer< kernel32Utf16> lpBuffer) → int - Fills a buffer with strings that specify valid drives in the system. [...]
-
GetMessage(
Pointer< user32MSG> lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax) → int - Retrieves a message from the calling thread's message queue. The function dispatches incoming sent messages until a posted message is available for retrieval. [...]
-
GetMessageExtraInfo(
) → int user32 - 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. [...]
-
GetMessageTime(
) → int user32 - 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). [...]
-
GetModuleBaseName(
int hProcess, int hModule, Pointer< kernel32Utf16> lpBaseName, int nSize) → int - Retrieves the base name of the specified module. [...]
-
GetModuleFileName(
int hModule, Pointer< kernel32Utf16> lpFilename, int nSize) → int - Retrieves the fully qualified path for the file that contains the specified module. The module must have been loaded by the current process. [...]
-
GetModuleFileNameEx(
int hProcess, int hModule, Pointer< kernel32Utf16> lpFilename, int nSize) → int - Retrieves the fully qualified path for the file containing the specified module. [...]
-
GetModuleHandle(
Pointer< kernel32Utf16> lpModuleName) → int - Retrieves a module handle for the specified module. The module must have been loaded by the calling process. [...]
-
GetMonitorBrightness(
int hMonitor, Pointer< dxva2Uint32> pdwMinimumBrightness, Pointer<Uint32> pdwCurrentBrightness, Pointer<Uint32> pdwMaximumBrightness) → int - Retrieves a monitor's minimum, maximum, and current brightness settings. [...]
-
GetMonitorCapabilities(
int hMonitor, Pointer< dxva2Uint32> pdwMonitorCapabilities, Pointer<Uint32> pdwSupportedColorTemperatures) → int - Retrieves the configuration capabilities of a monitor. Call this function to find out which high-level monitor configuration functions are supported by the monitor. [...]
-
GetMonitorColorTemperature(
int hMonitor, Pointer< dxva2Uint32> pctCurrentColorTemperature) → int - Retrieves a monitor's current color temperature. [...]
-
GetMonitorContrast(
int hMonitor, Pointer< dxva2Uint32> pdwMinimumContrast, Pointer<Uint32> pdwCurrentContrast, Pointer<Uint32> pdwMaximumContrast) → int - Retrieves a monitor's minimum, maximum, and current contrast settings. [...]
-
GetMonitorDisplayAreaPosition(
int hMonitor, int ptPositionType, Pointer< dxva2Uint32> pdwMinimumPosition, Pointer<Uint32> pdwCurrentPosition, Pointer<Uint32> pdwMaximumPosition) → int - Retrieves a monitor's minimum, maximum, and current horizontal or vertical position. [...]
-
GetMonitorDisplayAreaSize(
int hMonitor, int stSizeType, Pointer< dxva2Uint32> pdwMinimumWidthOrHeight, Pointer<Uint32> pdwCurrentWidthOrHeight, Pointer<Uint32> pdwMaximumWidthOrHeight) → int - Retrieves a monitor's minimum, maximum, and current width or height. [...]
-
GetMonitorInfo(
int hMonitor, Pointer< user32MONITORINFO> lpmi) → int - The GetMonitorInfo function retrieves information about a display monitor. [...]
-
GetMonitorRedGreenOrBlueDrive(
int hMonitor, int dtDriveType, Pointer< dxva2Uint32> pdwMinimumDrive, Pointer<Uint32> pdwCurrentDrive, Pointer<Uint32> pdwMaximumDrive) → int - Retrieves a monitor's red, green, or blue drive value. [...]
-
GetMonitorRedGreenOrBlueGain(
int hMonitor, int gtGainType, Pointer< dxva2Uint32> pdwMinimumGain, Pointer<Uint32> pdwCurrentGain, Pointer<Uint32> pdwMaximumGain) → int - Retrieves a monitor's red, green, or blue gain value. [...]
-
GetMonitorTechnologyType(
int hMonitor, Pointer< dxva2Uint32> pdtyDisplayTechnologyType) → int - Retrieves the type of technology used by a monitor. [...]
-
GetMouseMovePointsEx(
int cbSize, Pointer< user32MOUSEMOVEPOINT> lppt, Pointer<MOUSEMOVEPOINT> lpptBuf, int nBufPoints, int resolution) → int - Retrieves a history of up to 64 previous coordinates of the mouse or pen. [...]
-
GetNamedPipeInfo(
int hNamedPipe, Pointer< kernel32Uint32> lpFlags, Pointer<Uint32> lpOutBufferSize, Pointer<Uint32> lpInBufferSize, Pointer<Uint32> lpMaxInstances) → int - Retrieves information about the specified named pipe. [...]
-
GetNativeSystemInfo(
Pointer< kernel32SYSTEM_INFO> lpSystemInfo) → void - Retrieves information about the current system to an application running under WOW64. If the function is called from a 64-bit application, or on a 64-bit system that does not have an Intel64 or x64 processor (such as ARM64), it is equivalent to the GetSystemInfo function. [...]
-
GetNearestColor(
int hdc, int color) → int gdi32 - The GetNearestColor function retrieves a color value identifying a color from the system palette that will be displayed when the specified color value is used. [...]
-
GetNextDlgGroupItem(
int hDlg, int hCtl, int bPrevious) → int user32 - Retrieves a handle to the first control in a group of controls that precedes (or follows) the specified control in a dialog box. [...]
-
GetNextDlgTabItem(
int hDlg, int hCtl, int bPrevious) → int user32 - Retrieves a handle to the first control that has the WS_TABSTOP style that precedes (or follows) the specified control. [...]
-
GetNumberOfPhysicalMonitorsFromHMONITOR(
int hMonitor, Pointer< dxva2Uint32> pdwNumberOfPhysicalMonitors) → int - Retrieves the number of physical monitors associated with an HMONITOR monitor handle. Call this function before calling GetPhysicalMonitorsFromHMONITOR. [...]
-
GetObject(
int h, int c, Pointer< gdi32NativeType> pv) → int - The GetObject function retrieves information for the specified graphics object. [...]
-
GetOpenClipboardWindow(
) → int user32 - Retrieves the handle to the window that currently has the clipboard open. [...]
-
GetOpenFileName(
Pointer< comdlg32OPENFILENAME> param0) → int - Creates an Open dialog box that lets the user specify the drive, directory, and the name of a file or set of files to be opened. [...]
-
GetParent(
int hWnd) → int user32 - Retrieves a handle to the specified window's parent or owner. [...]
-
GetPhysicallyInstalledSystemMemory(
Pointer< kernel32Uint64> TotalMemoryInKilobytes) → int - Retrieves the amount of RAM that is physically installed on the computer. [...]
-
GetPhysicalMonitorsFromHMONITOR(
int hMonitor, int dwPhysicalMonitorArraySize, Pointer< dxva2PHYSICAL_MONITOR> pPhysicalMonitorArray) → int - Retrieves the physical monitors associated with an HMONITOR monitor handle. [...]
-
GetPriorityClipboardFormat(
Pointer< user32Uint32> paFormatPriorityList, int cFormats) → int - Retrieves the first available clipboard format in the specified list. [...]
-
GetProcAddress(
int hModule, Pointer< kernel32Utf8> lpProcName) → int - Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL). [...]
-
GetProcessDpiAwareness(
int hprocess, Pointer< shcoreUint32> value) → int - Retrieves the dots per inch (dpi) awareness of the specified process. [...]
-
GetProcessHeap(
) → int kernel32 - Retrieves a handle to the default heap of the calling process. This handle can then be used in subsequent calls to the heap functions. [...]
-
GetProductInfo(
int dwOSMajorVersion, int dwOSMinorVersion, int dwSpMajorVersion, int dwSpMinorVersion, Pointer< kernel32Uint32> pdwReturnedProductType) → int - 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. [...]
-
GetRValue(
int rgb) → int - Retrieves an intensity value for the red component of a red, green, blue (RGB) value.
-
GetSaveFileName(
Pointer< comdlg32OPENFILENAME> param0) → int - Creates a Save dialog box that lets the user specify the drive, directory, and name of a file to save. [...]
-
GetScrollInfo(
int hwnd, int nBar, Pointer< user32SCROLLINFO> lpsi) → int - 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). [...]
-
GetShellWindow(
) → int user32 - Retrieves a handle to the Shell's desktop window. [...]
-
GetStdHandle(
int nStdHandle) → int kernel32 - Retrieves a handle to the specified standard device (standard input, standard output, or standard error). [...]
-
GetStockObject(
int i) → int gdi32 - The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes. [...]
-
GetSubMenu(
int hMenu, int nPos) → int user32 - Retrieves a handle to the drop-down menu or submenu activated by the specified menu item. [...]
-
GetSysColor(
int