home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / OUTPUT.PAK / GLOBALS.H next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.4 KB  |  48 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. //-------------------------------------------------------------------------
  14. // Global function prototypes.
  15.  
  16. // **TODO**  Add global function prototypes here.
  17.  
  18. BOOL InitApplication(HINSTANCE);
  19. BOOL InitInstance(HINSTANCE, int);
  20. BOOL InitOutput(void);
  21. void FreeOutput(void);
  22. void DrawOutput(HWND);
  23.  
  24.  
  25.     // Callback functions.  These are called by Windows.
  26.  
  27. // **TODO**  Add new callback function prototypes here.  Win16 compiles
  28. //           require the __export keyword to generate proper prolog
  29. //           and epilog code for exported functions.
  30.  
  31. #ifdef WIN16
  32.  
  33. LRESULT CALLBACK __export WndProc(HWND, UINT, WPARAM, LPARAM);
  34.  
  35. #else
  36.  
  37. LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
  38.  
  39. #endif
  40.  
  41.  
  42. //-------------------------------------------------------------------------
  43. // Global variable declarations.
  44.  
  45. extern HINSTANCE hInst;          // The current instance handle
  46. extern char      szAppName[];    // The name of this application
  47. extern char      szTitle[];      // The title bar text
  48.