source: Daodan/MinGW/include/aygshell.h@ 1111

Last change on this file since 1111 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.3 KB
Line 
1#ifndef _AYGSHELL_H
2#define _AYGSHELL_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#if _WIN32_WCE >= 400
8
9#include <windef.h> /* shellapi needs this */
10#include <basetyps.h>
11#include <shellapi.h> /* for WINSHELLAPI */
12
13typedef struct tagSHMENUBARINFO {
14 DWORD cbSize;
15 HWND hwndParent;
16 DWORD dwFlags;
17 UINT nToolBarId;
18 HINSTANCE hInstRes;
19 int nBmpId;
20 int cBmpImages;
21 HWND hwndMB;
22 COLORREF clrBk;
23} SHMENUBARINFO, *PSHMENUBARINFO;
24
25typedef struct tagSHACTIVATEINFO {
26 DWORD cbSize;
27 HWND hwndLastFocus;
28 UINT fSipUp :1;
29 UINT fSipOnDeactivation :1;
30 UINT fActive :1;
31 UINT fReserved :29;
32} SHACTIVATEINFO, *PSHACTIVATEINFO;
33
34WINSHELLAPI BOOL WINAPI SHCreateMenuBar(SHMENUBARINFO*);
35WINSHELLAPI HWND WINAPI SHFindMenuBar(HWND);
36WINSHELLAPI HRESULT WINAPI SHCreateNewItem(HWND,REFCLSID);
37WINSHELLAPI BOOL WINAPI SHFullScreen(HWND,DWORD);
38WINSHELLAPI BOOL WINAPI SHSipInfo(UINT,UINT,PVOID,UINT);
39/* next exported by ordinal only: @84 */
40WINSHELLAPI BOOL WINAPI SHHandleWMActivate(HWND,WPARAM,LPARAM,SHACTIVATEINFO*,DWORD);
41/* next exported by ordinal only: @83 */
42WINSHELLAPI BOOL WINAPI SHHandleWMSettingChange(HWND,WPARAM,LPARAM,SHACTIVATEINFO*);
43
44/* The following are not in device ROMs. */
45extern BOOL SHInvokeContextMenuCommand(HWND,UINT,HANDLE);
46
47#endif /* _WIN32_WCE >= 400 */
48
49#endif
Note: See TracBrowser for help on using the repository browser.