|
|
1.1 root 1: /*
2: * GETICON.H
3: *
4: * This file contains definitions and function prototypes used in geticon.c
5: *
6: * Copyright (c)1992 Microsoft Corporation, All Right Reserved
7: */
8:
9: #if !defined( _GETICON_H )
10: #define _GETICON_H_
11:
12: #if !defined( IDS_DEFICONLABEL )
13: #define IDS_DEFICONLABEL 310
14: #endif
15:
16: STDAPI_(HGLOBAL) GetIconOfFile(HINSTANCE hInst, LPSTR lpszFileName, BOOL fUseFileAsLabel);
17:
18: STDAPI_(HGLOBAL) GetIconOfClass(HINSTANCE hInst, REFCLSID rclsid, LPSTR lpszLabel, BOOL fUseTypeAsLabel);
19:
20: STDAPI_(int) XformWidthInHimetricToPixels(HDC, int);
21: STDAPI_(int) XformWidthInPixelsToHimetric(HDC, int);
22: STDAPI_(int) XformHeightInHimetricToPixels(HDC, int);
23: STDAPI_(int) XformHeightInPixelsToHimetric(HDC, int);
24:
25: HICON FAR PASCAL HIconAndSourceFromClass(REFCLSID, LPSTR, UINT FAR *);
26:
27: BOOL FAR PASCAL FIconFileFromClass(REFCLSID, LPSTR, UINT, UINT FAR *);
28:
29: LPSTR FAR PASCAL PointerToNthField(LPSTR, int, char);
30:
31: BOOL FAR PASCAL GetAssociatedExecutable(LPSTR, LPSTR);
32:
33:
34: STDAPI_(UINT) OleStdGetAuxUserType(REFCLSID rclsid,
35: WORD wAuxUserType,
36: LPSTR lpszAuxUserType,
37: int cch,
38: HKEY hKey);
39:
40: STDAPI_(UINT) OleStdGetUserTypeOfClass(REFCLSID rclsid,
41: LPSTR lpszUserType,
42: UINT cch,
43: HKEY hKey);
44:
45: STDAPI_(UINT) OleStdIconLabelTextOut(HDC hDC,
46: HFONT hFont,
47: int nXStart,
48: int nYStart,
49: UINT fuOptions,
50: RECT FAR * lpRect,
51: LPSTR lpszString,
52: UINT cchString,
53: int FAR * lpDX);
54:
55: #endif // _GETICON_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.