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.

63 lines
2.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: icon.h
  7. //
  8. // Contents: function declarations for manipulating icons (see icon.cpp)
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: dd-mmm-yy Author Comment
  15. // 24-Nov-93 alexgo 32bit port
  16. //
  17. //--------------------------------------------------------------------------
  18. #if !defined( _ICON_H )
  19. #define _ICON_H_
  20. #if !defined( IDS_DEFICONLABEL )
  21. #define IDS_DEFICONLABEL 310
  22. #endif
  23. STDAPI_(int) XformWidthInHimetricToPixels(HDC, int);
  24. STDAPI_(int) XformWidthInPixelsToHimetric(HDC, int);
  25. STDAPI_(int) XformHeightInHimetricToPixels(HDC, int);
  26. STDAPI_(int) XformHeightInPixelsToHimetric(HDC, int);
  27. HICON FAR PASCAL HIconAndSourceFromClass(REFCLSID, LPOLESTR,
  28. UINT FAR *);
  29. BOOL FAR PASCAL FIconFileFromClass(REFCLSID, LPOLESTR, UINT,
  30. UINT FAR *);
  31. LPOLESTR FAR PASCAL PointerToNthField(LPOLESTR, int, OLECHAR);
  32. BOOL FAR PASCAL GetAssociatedExecutable(LPOLESTR, LPOLESTR);
  33. STDAPI_(UINT) OleStdGetAuxUserType(REFCLSID rclsid,
  34. WORD wAuxUserType,
  35. LPOLESTR lpszAuxUserType,
  36. int cch,
  37. HKEY hKey);
  38. STDAPI_(UINT) OleStdGetUserTypeOfClass(REFCLSID rclsid,
  39. LPOLESTR lpszUserType,
  40. UINT cch,
  41. HKEY hKey);
  42. STDAPI_(UINT) OleStdIconLabelTextOut(HDC hDC,
  43. HFONT hFont,
  44. int nXStart,
  45. int nYStart,
  46. UINT fuOptions,
  47. RECT FAR * lpRect,
  48. LPOLESTR lpszString,
  49. UINT cchString,
  50. int FAR * lpDX);
  51. #endif // _ICON_H