home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / SIMPLE.PAK / GLOBALS.H next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.4 KB  |  43 lines

  1. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  2. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  3. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  4. // PARTICULAR PURPOSE.
  5. //
  6. // Copyright (C) 1993-1995  Microsoft Corporation.  All Rights Reserved.
  7. //
  8. // PURPOSE:
  9. //    Contains declarations for all globally scoped names in the program.
  10. //
  11.  
  12. //-------------------------------------------------------------------------
  13. // Global function prototypes.
  14.  
  15. // **TODO**  Add global function prototypes here.
  16.  
  17. BOOL InitApplication(HINSTANCE);
  18. BOOL InitInstance(HINSTANCE, int);
  19. BOOL CenterWindow(HWND, HWND);
  20.  
  21.     // Callback functions.  These are called by Windows.
  22.  
  23. // **TODO**  Add new callback function prototypes here.  Win16 compiles
  24. //           require the __export keyword to generate proper prolog
  25. //           and epilog code for exported functions.
  26.  
  27. #ifdef WIN16
  28.  
  29. LRESULT CALLBACK __export WndProc(HWND, UINT, WPARAM, LPARAM);
  30.  
  31. #else
  32.  
  33. LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
  34.  
  35. #endif
  36.  
  37. //-------------------------------------------------------------------------
  38. // Global variable declarations.
  39.  
  40. extern HINSTANCE hInst;          // The current instance handle
  41. extern char      szAppName[];    // The name of this application
  42. extern char      szTitle[];      // The title bar text
  43.