Leaked source code of windows server 2003
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.

64 lines
2.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: icon.h
  7. //
  8. // Contents: icon.h from OLE2
  9. //
  10. // History: 11-Apr-94 DrewB Copied from OLE2
  11. //
  12. //----------------------------------------------------------------------------
  13. /*
  14. * ICON.H
  15. *
  16. * This file contains definitions and function prototypes used in geticon.c
  17. *
  18. * Copyright (c)1992 Microsoft Corporation, All Right Reserved
  19. */
  20. #if !defined( _ICON_H )
  21. #define _ICON_H_
  22. #if !defined( IDS_DEFICONLABEL )
  23. #define IDS_DEFICONLABEL 310
  24. #endif
  25. STDAPI_(int) XformWidthInHimetricToPixels(HDC, int);
  26. STDAPI_(int) XformWidthInPixelsToHimetric(HDC, int);
  27. STDAPI_(int) XformHeightInHimetricToPixels(HDC, int);
  28. STDAPI_(int) XformHeightInPixelsToHimetric(HDC, int);
  29. HICON FAR PASCAL HIconAndSourceFromClass(REFCLSID, LPSTR, UINT FAR *);
  30. BOOL FAR PASCAL FIconFileFromClass(REFCLSID, LPSTR, UINT, UINT FAR *);
  31. LPSTR FAR PASCAL PointerToNthField(LPSTR, int, char);
  32. BOOL FAR PASCAL GetAssociatedExecutable(LPSTR, LPSTR);
  33. STDAPI_(UINT) OleStdGetAuxUserType(REFCLSID rclsid,
  34. WORD wAuxUserType,
  35. LPSTR lpszAuxUserType,
  36. int cch,
  37. HKEY hKey);
  38. STDAPI_(UINT) OleStdGetUserTypeOfClass(REFCLSID rclsid,
  39. LPSTR 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. LPSTR lpszString,
  49. UINT cchString,
  50. int FAR * lpDX);
  51. #endif // _ICON_H