home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / SAMPLES / PALETTE / PALETTE.H_ / PALETTE.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  633 b   |  33 lines

  1. /*
  2.     palette.h
  3. */
  4.  
  5. #include "resource.h"
  6.  
  7. /* general stuff */
  8.  
  9. #define PIXELS      10          /* pixel size for each box */
  10.  
  11.  
  12. /* macros */
  13.  
  14. #define EXPORT FAR PASCAL __export
  15.  
  16.  
  17. /* extern declarations for various modules */
  18.  
  19. /* main module */
  20.  
  21. extern HANDLE hInst;            /* instance handle */
  22. extern char szAppName[];        /* app name */
  23. extern HWND hMainWnd;            /* handle to main window */
  24.  
  25. extern long EXPORT MainWndProc(HWND, UINT , WPARAM, LPARAM);
  26. extern void Paint(HWND hWnd, HDC hDC);
  27.  
  28. /* Init.c */
  29.  
  30. extern BOOL InitFirstInstance(HANDLE);
  31. extern int Error(LPSTR msg);
  32. extern BOOL bHasPalette(HWND hWnd);
  33.