- Add ICONINFOEX* definitions and GetIconInfoEx* declarations from Wine.

svn path=/trunk/; revision=49175
This commit is contained in:
Aleksey Bragin 2010-10-16 17:23:40 +00:00
parent eccf8af929
commit f4be908fdd

View file

@ -3060,6 +3060,32 @@ typedef struct _ICONINFO {
HBITMAP hbmColor; HBITMAP hbmColor;
} ICONINFO,*PICONINFO; } ICONINFO,*PICONINFO;
typedef struct _ICONINFOEXA
{
DWORD cbSize;
BOOL fIcon;
DWORD xHotspot;
DWORD yHotspot;
HBITMAP hbmMask;
HBITMAP hbmColor;
WORD wResID;
CHAR szModName[MAX_PATH];
CHAR szResName[MAX_PATH];
} ICONINFOEXA, *PICONINFOEXA;
typedef struct _ICONINFOEXW
{
DWORD cbSize;
BOOL fIcon;
DWORD xHotspot;
DWORD yHotspot;
HBITMAP hbmMask;
HBITMAP hbmColor;
WORD wResID;
WCHAR szModName[MAX_PATH];
WCHAR szResName[MAX_PATH];
} ICONINFOEXW, *PICONINFOEXW;
typedef struct tagNMHDR { typedef struct tagNMHDR {
HWND hwndFrom; HWND hwndFrom;
UINT_PTR idFrom; UINT_PTR idFrom;
@ -4112,6 +4138,8 @@ HWND WINAPI GetForegroundWindow(void);
DWORD WINAPI GetGuiResources(HANDLE,DWORD); DWORD WINAPI GetGuiResources(HANDLE,DWORD);
#endif #endif
BOOL WINAPI GetIconInfo(HICON,PICONINFO); BOOL WINAPI GetIconInfo(HICON,PICONINFO);
BOOL WINAPI GetIconInfoExA(HICON,ICONINFOEXA*);
BOOL WINAPI GetIconInfoExW(HICON,ICONINFOEXW*);
BOOL WINAPI GetInputState(void); BOOL WINAPI GetInputState(void);
UINT WINAPI GetKBCodePage(void); UINT WINAPI GetKBCodePage(void);
HKL WINAPI GetKeyboardLayout(DWORD); HKL WINAPI GetKeyboardLayout(DWORD);