home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / comctl / reitp / utility.h < prev   
Encoding:
C/C++ Source or Header  |  1996-06-12  |  1.2 KB  |  38 lines

  1. /*
  2.  * UTILITY.H
  3.  *
  4.  * Miscellaneous prototypes and definitions for OLE UI dialogs.
  5.  *
  6.  * Copyright (c)1992-1996 Microsoft Corporation, All Right Reserved
  7.  */
  8.  
  9.  
  10. #ifndef _UTILITY_H_
  11. #define _UTILITY_H_
  12.  
  13. //Function prototypes
  14. //UTILITY.C
  15. HCURSOR  WINAPI HourGlassOn(void);
  16. void     WINAPI HourGlassOff(HCURSOR);
  17.  
  18. BOOL     WINAPI Browse(HWND, LPSTR, LPSTR, UINT, UINT, DWORD);
  19. int      WINAPI ReplaceCharWithNull(LPSTR, int);
  20. int      WINAPI ErrorWithFile(HWND, HINSTANCE, UINT, LPSTR, UINT);
  21. HFILE WINAPI DoesFileExist(LPSTR lpszFile, OFSTRUCT FAR* lpOpenBuf);
  22.  
  23.  
  24. HICON FAR PASCAL    HIconAndSourceFromClass(REFCLSID, LPSTR, UINT FAR *);
  25. BOOL FAR PASCAL FIconFileFromClass(REFCLSID, LPSTR, UINT, UINT FAR *);
  26. LPSTR FAR PASCAL PointerToNthField(LPSTR, int, char);
  27. BOOL FAR PASCAL GetAssociatedExecutable(LPSTR, LPSTR);
  28. HICON    WINAPI HIconFromClass(LPSTR);
  29. BOOL     WINAPI FServerFromClass(LPSTR, LPSTR, UINT);
  30. UINT     WINAPI UClassFromDescription(LPSTR, LPSTR, UINT);
  31. UINT     WINAPI UDescriptionFromClass(LPSTR, LPSTR, UINT);
  32. BOOL     WINAPI FVerbGet(LPSTR, UINT, LPSTR);
  33. LPSTR    WINAPI ChopText(HWND hwndStatic, int nWidth, LPSTR lpch);
  34. void     WINAPI OpenFileError(HWND hDlg, UINT nErrCode, LPSTR lpszFile);
  35.  
  36.  
  37. #endif //_UTILITY_H_
  38.