with Win32.Utils; with Win32.Winnt;
package Win32.Windef is
ATOM
WORD
COLORREF
DWORD
HFILE
INT
LPCOLORREF
POINT
POINTL
POINTS
PPOINT
PPOINTL
PPOINTS
PRECT
PRECTL
PROC
PSIZE
RECT
RECTL
SIZE
DC_BINNAMES : constant := 12;
DC_BINS : constant := 6;
DC_COPIES : constant := 18;
DC_DRIVER : constant := 11;
DC_DUPLEX : constant := 7;
DC_ENUMRESOLUTIONS : constant := 13;
DC_EXTRA : constant := 9;
DC_FIELDS : constant := 1;
DC_FILEDEPENDENCIES : constant := 14;
DC_MAXEXTENT : constant := 5;
DC_MINEXTENT : constant := 4;
DC_ORIENTATION : constant := 17;
DC_PAPERNAMES : constant := 16;
DC_PAPERS : constant := 2;
DC_PAPERSIZE : constant := 3;
DC_SIZE : constant := 8;
DC_TRUETYPE : constant := 15;
DC_VERSION : constant := 10;
DM_COPY : constant := 2;
DM_IN_BUFFER : constant := 8;
DM_IN_PROMPT : constant := 4;
DM_MODIFY : constant := 8;
DM_OUT_BUFFER : constant := 2;
DM_OUT_DEFAULT : constant := 1;
DM_PROMPT : constant := 4;
DM_UPDATE : constant := 1;
HFILE_ERROR : constant HFILE := -1;
MAX_PATH : constant := 260;
type HFILE is new Win32.INT;
type ATOM is new Win32.WORD;
type COLORREF is new Win32.DWORD;
subtype SPHANDLE is Win32.Winnt.PHANDLE;
subtype LPHANDLE is SPHANDLE;
subtype HGLOBAL is Win32.Winnt.HANDLE;
subtype HLOCAL is Win32.Winnt.HANDLE;
subtype GLOBALHANDLE is Win32.Winnt.HANDLE;
subtype LOCALHANDLE is Win32.Winnt.HANDLE;
subtype HWND is Win32.Winnt.HANDLE;
subtype HHOOK is Win32.Winnt.HANDLE;
subtype HGDIOBJ is Win32.Winnt.HANDLE;
subtype HACCEL is Win32.Winnt.HANDLE;
subtype HBITMAP is Win32.Winnt.HANDLE;
subtype HBRUSH is Win32.Winnt.HANDLE;
subtype HDC is Win32.Winnt.HANDLE;
subtype HGLRC is Win32.Winnt.HANDLE;
subtype HDESK is Win32.Winnt.HANDLE;
subtype HENHMETAFILE is Win32.Winnt.HANDLE;
subtype HFONT is Win32.Winnt.HANDLE;
subtype HICON is Win32.Winnt.HANDLE;
subtype HMENU is Win32.Winnt.HANDLE;
subtype HMETAFILE is Win32.Winnt.HANDLE;
subtype HINSTANCE is Win32.Winnt.HANDLE;
subtype HPALETTE is Win32.Winnt.HANDLE;
subtype HPEN is Win32.Winnt.HANDLE;
subtype HRGN is Win32.Winnt.HANDLE;
subtype HRSRC is Win32.Winnt.HANDLE;
subtype HSTR is Win32.Winnt.HANDLE;
subtype HTASK is Win32.Winnt.HANDLE;
subtype HWINSTA is Win32.Winnt.HANDLE;
subtype HKL is Win32.Winnt.HANDLE;
subtype HMODULE is Win32.Winnt.HANDLE;
subtype HCURSOR is Win32.Winnt.HANDLE;
type LPCOLORREF is access all COLORREF;
type RECT; -- Full declaration: RECT
type RECTL; -- Full declaration: RECTL
type POINT; -- Full declaration: POINT
type POINTL; -- Full declaration: POINTL
type SIZE; -- Full declaration: SIZE
type POINTS; -- Full declaration: POINTS
type PRECT is access all RECT;
subtype NPRECT is PRECT;
subtype LPRECT is PRECT;
type PRECTL is access all RECTL;
subtype LPRECTL is PRECTL;
type PPOINT is access all POINT;
subtype NPPOINT is PPOINT;
subtype LPPOINT is PPOINT;
type PPOINTL is access all POINTL;
type PSIZE is access all SIZE;
subtype LPSIZE is PSIZE;
subtype PSIZEL is PSIZE;
subtype LPSIZEL is PSIZE;
type PPOINTS is access all POINTS;
subtype LPPOINTS is PPOINTS;
type PROC is access function return Win32.INT; pragma Convention (Stdcall, PROC);
subtype FARPROC is PROC;
subtype NEARPROC is PROC;
type RECT is -- windef.h :219 record left : Win32.LONG; -- windef.h :221 top : Win32.LONG; -- windef.h :222 right : Win32.LONG; -- windef.h :223 bottom : Win32.LONG; -- windef.h :224 end record; -- Incomplete declaration: RECT
type RECTL is -- windef.h :227 record left : Win32.LONG; -- windef.h :229 top : Win32.LONG; -- windef.h :230 right : Win32.LONG; -- windef.h :231 bottom : Win32.LONG; -- windef.h :232 end record; -- Incomplete declaration: RECTL
type POINT is -- windef.h :235 record x : Win32.LONG; -- windef.h :237 y : Win32.LONG; -- windef.h :238 end record; -- Incomplete declaration: POINT
type POINTL is -- windef.h :241 record x : Win32.LONG; -- windef.h :243 y : Win32.LONG; -- windef.h :244 end record; -- Incomplete declaration: POINTL
type SIZE is -- windef.h :247 record cx : Win32.LONG; -- windef.h :249 cy : Win32.LONG; -- windef.h :250 end record; -- Incomplete declaration: SIZE
subtype SIZEL is SIZE;
type POINTS is -- windef.h :256 record x : Win32.SHORT; -- windef.h :258 y : Win32.SHORT; -- windef.h :259 end record; -- Incomplete declaration: POINTS
function MAKEWORD (Low, High : BYTE) return WORD -- windef.h :158 renames Win32.Utils.MAKEWORD;
function MAKELONG (Low, High : WORD) return DWORD -- windef.h :159 renames Win32.Utils.MAKELONG;
function LOWORD (L : DWORD) return WORD -- windef.h :160 renames Win32.Utils.LOWORD;
function HIWORD (L : DWORD) return WORD -- windef.h :161 renames Win32.Utils.HIWORD;
function LOBYTE (W : WORD) return BYTE -- windef.h :162 renames Win32.Utils.LOBYTE;
function HIBYTE (W : WORD) return BYTE -- windef.h :163 renames Win32.Utils.HIBYTE;
generic type T is private; with function ">"(A, B : T) return Boolean; function Max (A, B : T) return T;
generic type T is private; with function "<"(A, B : T) return Boolean; function Min (A, B : T) return T;
private -- Implementation-defined ...
end Win32.Windef;