home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / cursor / cursor.h < prev    next >
Text File  |  1997-10-05  |  928b  |  23 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993 - 1997 Microsoft Corp.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. #define IDM_ABOUT 100
  13.  
  14. typedef POINTS MPOINT;
  15. #define MPOINT2POINT(mpt,pt)  ((pt).x = (mpt).x, (pt).y = (mpt).y)
  16. #define POINT2MPOINT(pt, mpt) ((mpt).x = (SHORT)(pt).x, (mpt).y = (SHORT)(pt).y)
  17.  
  18. BOOL InitApplication(HANDLE);
  19. BOOL InitInstance(HANDLE, INT);
  20. LONG APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
  21. BOOL APIENTRY About(HWND, UINT, UINT, LONG);
  22. INT sieve(VOID);
  23.