60285ae3b49cc8898d37bca6e85a1c4358d850ec
[reactos.git] / include / psdk / shdeprecated.idl
1 /*
2 * Deprecated shell interfaces
3 *
4 * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21 import "objidl.idl";
22 import "ocidl.idl";
23 import "shtypes.idl";
24 import "shobjidl.idl";
25 import "hlink.idl";
26 import "exdisp.idl";
27
28 cpp_quote("#define TLOG_BACK -1")
29 cpp_quote("#define TLOG_FORE 1")
30
31 cpp_quote("#define TLMENUF_INCLUDECURRENT 0x00000001")
32 cpp_quote("#define TLMENUF_CHECKCURRENT (TLMENUF_INCLUDECURRENT | 0x00000002)")
33 cpp_quote("#define TLMENUF_BACK 0x00000010")
34 cpp_quote("#define TLMENUF_FORE 0x00000020")
35 cpp_quote("#define TLMENUF_BACKANDFORTH (TLMENUF_BACK | TLMENUF_FORE | TLMENUF_INCLUDECURRENT)")
36
37 typedef void *CIE4ConnectionPoint;
38
39 [
40 local,
41 object,
42 uuid(0D7D1D00-6FC0-11D0-A974-00C04FD705A2)
43 ]
44 interface IExpDispSupport : IUnknown
45 {
46 HRESULT FindCIE4ConnectionPoint(
47 REFIID riid,
48 CIE4ConnectionPoint **ppccp);
49
50 HRESULT OnTranslateAccelerator(
51 MSG *pMsg,
52 DWORD grfModifiers);
53
54 HRESULT OnInvoke(
55 DISPID dispidMember,
56 REFIID iid,
57 LCID lcid,
58 WORD wFlags,
59 DISPPARAMS *pdispparams,
60 VARIANT *pVarResult,
61 EXCEPINFO *pexcepinfo,
62 UINT *puArgErr);
63 };
64
65
66 enum {
67 SBSC_HIDE = 0,
68 SBSC_SHOW = 1,
69 SBSC_TOGGLE = 2,
70 SBSC_QUERY = 3
71 };
72
73 cpp_quote("#define BSF_REGISTERASDROPTARGET 0x00000001")
74 cpp_quote("#define BSF_THEATERMODE 0x00000002")
75 cpp_quote("#define BSF_NOLOCALFILEWARNING 0x00000010")
76 cpp_quote("#define BSF_UISETBYAUTOMATION 0x00000100")
77 cpp_quote("#define BSF_RESIZABLE 0x00000200")
78 cpp_quote("#define BSF_CANMAXIMIZE 0x00000400")
79 cpp_quote("#define BSF_TOPBROWSER 0x00000800")
80 cpp_quote("#define BSF_NAVNOHISTORY 0x00001000")
81 cpp_quote("#define BSF_HTMLNAVCANCELED 0x00002000")
82 cpp_quote("#define BSF_DONTSHOWNAVCANCELPAGE 0x00004000")
83 cpp_quote("#define BSF_SETNAVIGATABLECODEPAGE 0x00008000")
84 cpp_quote("#define BSF_DELEGATEDNAVIGATION 0x00010000")
85 cpp_quote("#define BSF_TRUSTEDFORACTIVEX 0x00020000")
86
87 cpp_quote("#define HLNF_CALLERUNTRUSTED 0x00200000")
88 cpp_quote("#define HLNF_TRUSTEDFORACTIVEX 0x00400000")
89 cpp_quote("#define HLNF_DISABLEWINDOWRESTRICTIONS 0x00800000")
90 cpp_quote("#define HLNF_TRUSTFIRSTDOWNLOAD 0x01000000")
91 cpp_quote("#define HLNF_UNTRUSTEDFORDOWNLOAD 0x02000000")
92 cpp_quote("#define SHHLNF_NOAUTOSELECT 0x04000000")
93 cpp_quote("#define SHHLNF_WRITENOHISTORY 0x08000000")
94 cpp_quote("#define HLNF_EXTERNALNAVIGATE 0x10000000")
95 cpp_quote("#define HLNF_ALLOW_AUTONAVIGATE 0x20000000")
96 cpp_quote("#define HLNF_NEWWINDOWSMANAGED 0x80000000")
97
98
99 enum {
100 SECURELOCK_NOCHANGE = -1,
101 SECURELOCK_SET_UNSECURE = 0,
102 SECURELOCK_SET_MIXED = 1,
103 SECURELOCK_SET_SECUREUNKNOWNBIT = 2,
104 SECURELOCK_SET_SECURE40BIT = 3,
105 SECURELOCK_SET_SECURE56BIT = 4,
106 SECURELOCK_SET_FORTEZZA = 5,
107 SECURELOCK_SET_SECURE128BIT = 6,
108 SECURELOCK_FIRSTSUGGEST = 7,
109 SECURELOCK_SUGGEST_UNSECURE = SECURELOCK_FIRSTSUGGEST,
110 SECURELOCK_SUGGEST_MIXED = 8,
111 SECURELOCK_SUGGEST_SECUREUNKNOWNBIT = 9,
112 SECURELOCK_SUGGEST_SECURE40BIT = 10,
113 SECURELOCK_SUGGEST_SECURE56BIT = 11,
114 SECURELOCK_SUGGEST_FORTEZZA = 12,
115 SECURELOCK_SUGGEST_SECURE128BIT = 13,
116 };
117
118
119
120 cpp_quote("#define VIEW_PRIORITY_RESTRICTED 0x00000070")
121 cpp_quote("#define VIEW_PRIORITY_CACHEHIT 0x00000050")
122 cpp_quote("#define VIEW_PRIORITY_STALECACHEHIT 0x00000045")
123 cpp_quote("#define VIEW_PRIORITY_USEASDEFAULT 0x00000043")
124 cpp_quote("#define VIEW_PRIORITY_SHELLEXT 0x00000040")
125 cpp_quote("#define VIEW_PRIORITY_CACHEMISS 0x00000030")
126 cpp_quote("#define VIEW_PRIORITY_INHERIT 0x00000020")
127 cpp_quote("#define VIEW_PRIORITY_SHELLEXT_ASBACKUP 0x0015")
128 cpp_quote("#define VIEW_PRIORITY_DESPERATE 0x00000010")
129 cpp_quote("#define VIEW_PRIORITY_NONE 0x00000000")
130
131
132 cpp_quote("#define ITB_VIEW ((UINT)-1)")