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 |
|
---|
13 | typedef 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 |
|
---|
25 | typedef 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 |
|
---|
34 | WINSHELLAPI BOOL WINAPI SHCreateMenuBar(SHMENUBARINFO*);
|
---|
35 | WINSHELLAPI HWND WINAPI SHFindMenuBar(HWND);
|
---|
36 | WINSHELLAPI HRESULT WINAPI SHCreateNewItem(HWND,REFCLSID);
|
---|
37 | WINSHELLAPI BOOL WINAPI SHFullScreen(HWND,DWORD);
|
---|
38 | WINSHELLAPI BOOL WINAPI SHSipInfo(UINT,UINT,PVOID,UINT);
|
---|
39 | /* next exported by ordinal only: @84 */
|
---|
40 | WINSHELLAPI BOOL WINAPI SHHandleWMActivate(HWND,WPARAM,LPARAM,SHACTIVATEINFO*,DWORD);
|
---|
41 | /* next exported by ordinal only: @83 */
|
---|
42 | WINSHELLAPI BOOL WINAPI SHHandleWMSettingChange(HWND,WPARAM,LPARAM,SHACTIVATEINFO*);
|
---|
43 |
|
---|
44 | /* The following are not in device ROMs. */
|
---|
45 | extern BOOL SHInvokeContextMenuCommand(HWND,UINT,HANDLE);
|
---|
46 |
|
---|
47 | #endif /* _WIN32_WCE >= 400 */
|
---|
48 |
|
---|
49 | #endif
|
---|