Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

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