This unit is being created specifically for compatibility with Delphi. It should only be used for constants and type definitions that are included in the Delphi Windows unit. This is only done for compatibiltiy.
A type that can hold an UTF-8 encoded character.
A 32 bit unsigned integer.
Unsigned integer type with same size as Pointer.

?

?

Actions occuring while dragging an image.
Show the image.
Move the already visible image.
Hide the image.

?

The type of a Device Context Handle.

?

The type of a Font Handle.
The type of a general GraphicsDeviceInterface Object Handle.
GDI objects are e.g. fonts or brushes, used in GDI drawing operations.
The type of a line drawing Pen Handle.
The type of a display Region Handle.

A region can be as simple as a rectangle, or can be composed of multiple shapes.

Regions are almost used to restrict painting to certain areas of the screen (clipping).

The type of a (process) Instance Handle.
The type of an Icon Handle.
The type of an Image List Handle.
Image lists are frequently used with controls, whose display items (list entries...) can also show an image. Then every item refers to its image by an index into the shared image list, instead of holding a copy of the image.
The type of a mouse Cursor Handle.

?

The type of a Global memory block Handle.
Global memory blocks are managed by the platform, used e.g. for data shared across multiple processes.
The type of a Window Handle.
Windows are managed by the platform's window manager. A window can be stand-alone (TForm) or embeddable (TWinControl).
The type of a Menu Handle.
The type of a Bitmap Handle.
The type of a color Palette Handle.
A color palette is frequently used in compressed bitmaps, which contain short (1..8 bit) palette indices instead of RGB colors, for every pixel.
The type of a painting Brush Handle.
A brush is used to fill image areas. Typical brush properties are color, pattern and fill style.
The type of a display Monitor (CRT...) Handle.
A LongBool, distinct from the Boolean type.

?

A pointer to TRect.
Type of the first message argument (pointer-sized).
Type of the second message argument (pointer-sized).
Type of a message result (pointer-sized).

?

?

Value representing an invalid (unassigned...) Handle.
Maximal value of the WinAPI BYTE type ($FF).
Maximal value of the WinAPI WORD type ($FFFF).
Maximal value of the WinAPI DWORD type ($FFFF FFFF).
Minimal value of the WinAPI CHAR type ($80).
Maximal value of the WinAPI CHAR type ($7F).
Minimal value of the WinAPI SHORT type ($8000).
Maximal value of the WinAPI SHORT type ($7FFF).
Minimal value of the WinAPI LONG type ($8000 0000).
Maximal value of the WinAPI LONG type ($7FFF FFFF).
Binary raster operation (Dst op Pen): all black.
Binary raster operation (Dst op Pen): not (Dst or Pen).
Binary raster operation (Dst op Pen): Dst and not Pen.
Binary raster operation (Dst op Pen): not Pen.
Binary raster operation (Dst op Pen): (not Dst) and Pen.
Binary raster operation (Dst op Pen): not Dst.
Binary raster operation (Dst op Pen): Dst xor Pen.
Binary raster operation (Dst op Pen): not (Dst and Pen).
Binary raster operation (Dst op Pen): Dst and Pen.
Binary raster operation (Dst op Pen): not (Dst xor Pen).
Binary raster operation (Dst op Pen): Dst.
Binary raster operation (Dst op Pen): Dst or not Pen.
Binary raster operation (Dst op Pen): Pen.
Binary raster operation (Dst op Pen): (not Dst) or Pen.
Binary raster operation (Dst op Pen): Dst or Pen.
Binary raster operation (Dst op Pen): all white.
Highest binary raster operation code.
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with Src.
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Dst or Src)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Dst and Src)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Dst xor Src)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with ((not Dst) and Src)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (not Src)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (not (Dst or Src))
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Src and Pattern)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Dst or not Src)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Pattern)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Dst or (not Src) or Pattern)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (Dst xor Pattern)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with (not Dst)
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with all black.
Ternary raster operation (Dst op Src op Pattern): Fills the destination area with all white.
State array of 256 possible (virtual) keys.
Record describing the width of a TrueType character.

The effective display width for a single character is A+B+C.

The width of multiple characters should exclude the first A and last C value.

Negative A and C values allow for underhangs or overhangs, e.g. italics.

The (possibly negative) distance to add to the current position before drawing the character glyph.
The width of the character glyph.
The (possibly negative) distance to add to the current position after drawing the character glyph.
Opaque ExtTextOut mode, filling the rectangle with the background Color before painting the text.
ExtTextOut
Clipped ExtTextOut mode, clipping the text at the rectangle boundaries.
ExtTextOut

?

?

CombineRgn
mode: intersection (r1 AND r2).
CombineRgn
mode: union (r1 OR r2).
CombineRgn
mode: logical difference (r1 XOR r2).
CombineRgn
mode: arithmetic difference (r1 - r2).
CombineRgn
mode: copy of r1.
DrawText
formatting: text justified to the top of the rectangle.
DrawText
formatting: text justified to the left of the rectangle.
DrawText
formatting: text centered horizontally within the rectangle.
DrawText
formatting: text justified to the right of the rectangle.
DrawText
formatting: text centered vertically within the rectangle.
DrawText
formatting: text justified to the bottom of the rectangle.
DrawText
formatting: text can wrap into multiple lines.
DrawText
formatting: text is drawn in a single line, regardless of embedded line endings.
DrawText
formatting: expand tab characters.
DrawText
formatting: text is drawn without clipping.
DrawText
formatting: returns the required rectangle, without actually drawing.
DrawText
formatting: show embedded '&' characters.
DrawText
formatting: uses the system font for calculations.
DrawText
formatting: emulate behaviour of a multiline EDIT control.
DrawText
formatting: appends an ellipsis when the text is truncated.
DrawText
formatting: update the string to match the displayed text (possibly truncated).
DrawText
formatting: use right-to-left reading layout for bidirectional text.
DrawFrameControl
control type: title bar.
DrawFrameControl
control type: menu bar.
DrawFrameControl
control type: scroll bar.
DrawFrameControl
control type: button.
DrawFrameControl
control type: menu item.
DrawFrameControl
button control style: checkbox.
DrawFrameControl
button control style: radio button image.
DrawFrameControl
button control style: radio button mask.
DrawFrameControl
button control style: radio button.
DrawFrameControl
button control style: three-state button.
DrawFrameControl
button control style: push button.
DrawFrameControl
caption control style: Close button.
DrawFrameControl
caption control style: Minimize button.
DrawFrameControl
caption control style: Maximize button.
DrawFrameControl
caption control style: Restore button.
DrawFrameControl
caption control style: Help button.
DrawFrameControl
menubar control style: submenu arrow.
DrawFrameControl
menubar control style: check mark.
DrawFrameControl
menubar control style: bullet.
DrawFrameControl
scrollbar control style: down arrow.
DrawFrameControl
scrollbar control style: left arrow.
DrawFrameControl
scrollbar control style: right arrow.
DrawFrameControl
scrollbar control style: combobox scrollbar.
DrawFrameControl
scrollbar control style: size grip in the bottom-right window corner.
DrawFrameControl
scrollbar control style: up arrow.
DrawFrameControl
control state: inactive (grayed).
DrawFrameControl
button control state: button pushed.
DrawFrameControl
button control state: button checked.
DrawFrameControl
control style: transparent (title bar...).
DrawFrameControl
scrollbar control state: button hot-tracked.
DrawFrameControl
button control style: exclude frame.
DrawFrameControl
button control style: flat.
DrawFrameControl
button control style: monochrome border.

what?

Hit test: transparent area

?

Hit test: outside control.
Hit test: client area.
Hit test: caption background.
PeekMessage
flag: don't remove peeked message.
PeekMessage
flag: remove peeked message.
Find menu item by command ID.
Find menu item by position number.

?

MB_ICONASTERIsK!!!?

Request for the scrollbar range.
Request for the scrollbar page size.
Request for the scrollbar position.
Disable the scrollbar if not needed.
Request for the scrollbar tracking position.
Request all scrollbar properties.
The Scrollbar properties parameter record.

This record is used with the GetScrollInfo and SetScrollInfo procedures. before every call fMask must be initialized with the flags for the desired values:

- SIF_DISABLENOSCROLL: when the new parameters make the scrollbar unnecessary, the scrollbar is only disabled, not removed. (write only)
- SIF_PAGE: nPage contains the page size.
- SIF_POS: nPos contains the slider position.
- SIF_RANGE: nMin and nMax contain the scroll limits.
- SIF_TRACKPOS: nTrackPos contains the current slider position, while the user is dragging the slider. (read only)

GetScrollInfo SetScrollInfo
Must be initialized to sizeof(TScrollInfo).
Contains the flags for the desired values.
The minimum Position value.
The maximum Position value.
The page size, equivalent to the slider size.
The slider position.
The current position while the user is dragging the slider.
Horizontal size in millimeters
Vertical size in millimeters.
Horizontal width in pixels
Vertical height in pixels
Number of bits per pixel
Number of color planes.
The number of pixels per logical inch, in X (horizontal) direction.
The number of pixels per logical inch, in Y (vertical) direction.
Number of entries in the color palette
Number of reserved entries in the color palette
Description of a Brush.

A brush has a color and a pattern.

The content of lbColor and lbHatch varies, depending on lbStyle.

When a drawing function fills an area, using the current brush, a BS_HOLLOW brush can be used to suppress filling.

The brush style, e.g. BS_SOLID or BS_HATCHED.
The brush color, a TColorRef for BS_SOLID or BS_HATCHED.
Polymorphic, depending on lbStyle. With style BS_HATCHED lbHatch is a pattern constant, e.g. HS_VERTICAL.
A key state constant to represent the left mouse button, equivalent to ssLeft from TShiftState
A key state constant to represent the right mouse button, equivalent to ssRight from TShiftState
A key state constant to represent the shift key, equivalent to ssShift from TShiftState
A key state constant to represent the control key, equivalent to ssCtrl from TShiftState
A key state constant to represent the middle mouse button, equivalent to ssMiddle from TShiftState
A key state constant to represent the first extra mouse button, equivalent to ssExtra1 from TShiftState
A key state constant to represent the second extra mouse button, equivalent to ssExtra2 from TShiftState