home *** CD-ROM | disk | FTP | other *** search
- -- $Source: /home/harp/1/proto/monoBANK/winnt/gdidemo_util.ads,v $
- -- $Revision: 1.4 $ $Date: 96/03/15 13:52:07 $ $Author: stm $
-
- with Win32;
- with Win32.Windef;
- with Interfaces.C;
-
- package Gdidemo_Util is
-
- APPMENU : constant := 1000;
- APPICON : constant := 1001;
- ABOUTBOX : constant := 1002;
-
- IDM_DEMO_POLYBEZIER : constant := 100;
- IDM_DEMO_XFORM : constant := 101;
- IDM_DEMO_MAZE : constant := 102;
- IDM_DEMO_DRAW : constant := 103;
- IDM_DEMO_BOUNCE : constant := 104;
-
- IDM_WINDOW_CASCADE : constant := 200;
- IDM_WINDOW_TILE : constant := 201;
- IDM_WINDOW_ICON : constant := 202;
- IDM_HELP_ABOUT : constant := 900;
-
- COLOR_SCALE_RED : constant := 1;
- COLOR_SCALE_GREEN : constant := 2;
- COLOR_SCALE_BLUE : constant := 3;
- COLOR_SCALE_GRAY : constant := 4;
-
- CLIENTWND : constant := 0;
-
-
- function WndProc (hWndFrame : Win32.WinDef.HWND;
- wMsg : Win32.UINT;
- wParam_p : Win32.WPARAM;
- lParam_p : Win32.LPARAM) return Win32.LRESULT;
- pragma convention (Stdcall, WndProc);
-
- function CreateProc (hWndFrame : Win32.WinDef.HWND) return Win32.BOOL;
-
- procedure DestroyProc (hWndFrame : Win32.WinDef.HWND);
-
- function CommandProc (hWndFrame : Win32.WinDef.HWND;
- wParam_p : Win32.WPARAM;
- lParam_p : Win32.LPARAM) return Win32.BOOL;
-
- procedure PaintProc (hWndFrame : Win32.WinDef.HWND);
-
- function lRandom return Win32.LONG;
- function lRandom return Win32.DWORD;
-
- -- These two functions had been defined as C macros
- function GETINSTANCE (hWnd_p : Win32.WinDef.HWND) return
- Win32.Winnt.HANDLE;
- function GETCLASSBRUSH (hWnd_p : Win32.WinDef.HWND) return
- Win32.WinDef.HBRUSH;
- -------------------------------------------------------------------------------
- --
- -- THIS FILE AND ANY ASSOCIATED DOCUMENTATION IS PROVIDED WITHOUT CHARGE
- -- "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
- -- BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
- -- FITNESS FOR A PARTICULAR PURPOSE. The user assumes the entire risk as to
- -- the accuracy and the use of this file. This file may be used, copied,
- -- modified and distributed only by licensees of Microsoft Corporation's
- -- WIN32 Software Development Kit in accordance with the terms of the
- -- licensee's End-User License Agreement for Microsoft Software for the
- -- WIN32 Development Kit.
- --
- -- Copyright (c) Intermetrics, Inc. 1995
- -- Portions (c) 1985-1994 Microsoft Corporation with permission.
- -- Microsoft is a registered trademark and Windows and Windows NT are
- -- trademarks of Microsoft Corporation.
- --
- -------------------------------------------------------------------------------
-
- end Gdidemo_Util;
-