Display the config file location in the incorrect config file error
[wine.git] / include / cursoricon.h
blob682a63207bfd3ba893ffd6065c753b5d1076f451
1 /*
2 * Cursor and icon definitions
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_CURSORICON_H
8 #define __WINE_CURSORICON_H
10 #include "windef.h"
12 #include "pshpack1.h"
14 typedef struct
16 BYTE bWidth;
17 BYTE bHeight;
18 BYTE bColorCount;
19 BYTE bReserved;
20 } ICONRESDIR;
22 typedef struct
24 WORD wWidth;
25 WORD wHeight;
26 } CURSORDIR;
28 typedef struct
29 { union
30 { ICONRESDIR icon;
31 CURSORDIR cursor;
32 } ResInfo;
33 WORD wPlanes;
34 WORD wBitCount;
35 DWORD dwBytesInRes;
36 WORD wResId;
37 } CURSORICONDIRENTRY;
39 typedef struct
41 WORD idReserved;
42 WORD idType;
43 WORD idCount;
44 CURSORICONDIRENTRY idEntries[1] WINE_PACKED;
45 } CURSORICONDIR;
47 typedef struct {
48 BYTE bWidth;
49 BYTE bHeight;
50 BYTE bColorCount;
51 BYTE bReserved;
52 WORD xHotspot;
53 WORD yHotspot;
54 DWORD dwDIBSize;
55 DWORD dwDIBOffset;
56 } CURSORICONFILEDIRENTRY;
58 typedef struct
60 WORD idReserved;
61 WORD idType;
62 WORD idCount;
63 CURSORICONFILEDIRENTRY idEntries[1];
64 } CURSORICONFILEDIR;
67 #include "poppack.h"
69 #define CID_RESOURCE 0x0001
70 #define CID_WIN32 0x0004
71 #define CID_NONSHARED 0x0008
73 extern HCURSOR16 CURSORICON_IconToCursor( HICON16 hIcon,
74 BOOL bSemiTransparent );
76 extern HGLOBAL CURSORICON_Load( HINSTANCE hInstance, LPCWSTR name,
77 int width, int height, int colors,
78 BOOL fCursor, UINT loadflags);
80 extern HGLOBAL CURSORICON_ExtCopy(HGLOBAL handle, UINT type,
81 INT desiredx, INT desiredy,
82 UINT flags);
84 extern WORD WINAPI CURSORICON_Destroy( HGLOBAL16 handle, UINT16 flags );
86 extern void CURSORICON_FreeModuleIcons( HMODULE hModule );
88 #endif /* __WINE_CURSORICON_H */