added some development tools
[windows-sources.git] / developer / VSSDK / VisualStudioIntegration / Common / Inc / uilocale.h
blob5fe8bf5497a0638176261fccbb3a1444ed987316
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
6 /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for uilocale.idl:
8 Oicf, W0, Zp8, env=Win32 (32b run)
9 protocol : dce , ms_ext, c_ext, robust
10 error checks: allocation ref bounds_check enum stub_data
11 VC __declspec() decoration level:
12 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13 DECLSPEC_UUID(), MIDL_INTERFACE()
15 //@@MIDL_FILE_HEADING( )
17 #pragma warning( disable: 4049 ) /* more than 64k source lines */
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 475
23 #endif
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
30 #include "rpc.h"
31 #include "rpcndr.h"
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
42 #ifndef __uilocale_h__
43 #define __uilocale_h__
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
49 /* Forward Declarations */
51 #ifndef __IUIHostLocale_FWD_DEFINED__
52 #define __IUIHostLocale_FWD_DEFINED__
53 typedef interface IUIHostLocale IUIHostLocale;
54 #endif /* __IUIHostLocale_FWD_DEFINED__ */
57 #ifndef __IUIHostLocale2_FWD_DEFINED__
58 #define __IUIHostLocale2_FWD_DEFINED__
59 typedef interface IUIHostLocale2 IUIHostLocale2;
60 #endif /* __IUIHostLocale2_FWD_DEFINED__ */
63 /* header files for imported files */
64 #include "oleidl.h"
66 #ifdef __cplusplus
67 extern "C"{
68 #endif
71 /* interface __MIDL_itf_uilocale_0000_0000 */
72 /* [local] */
74 #if 0
75 typedef struct _LOGFONTW
77 LONG lfHeight;
78 LONG lfWidth;
79 LONG lfEscapement;
80 LONG lfOrientation;
81 LONG lfWeight;
82 BYTE lfItalic;
83 BYTE lfUnderline;
84 BYTE lfStrikeOut;
85 BYTE lfCharSet;
86 BYTE lfOutPrecision;
87 BYTE lfClipPrecision;
88 BYTE lfQuality;
89 BYTE lfPitchAndFamily;
90 WCHAR lfFaceName[ 32 ];
91 } UIDLGLOGFONT;
93 #else
94 #define UIDLGLOGFONT LOGFONTW
95 #endif
98 extern RPC_IF_HANDLE __MIDL_itf_uilocale_0000_0000_v0_0_c_ifspec;
99 extern RPC_IF_HANDLE __MIDL_itf_uilocale_0000_0000_v0_0_s_ifspec;
101 #ifndef __IUIHostLocale_INTERFACE_DEFINED__
102 #define __IUIHostLocale_INTERFACE_DEFINED__
104 /* interface IUIHostLocale */
105 /* [object][version][uuid] */
108 EXTERN_C const IID IID_IUIHostLocale;
110 #if defined(__cplusplus) && !defined(CINTERFACE)
112 MIDL_INTERFACE("2C2EA031-02BE-11d1-8C85-00C04FC2AA89")
113 IUIHostLocale : public IUnknown
115 public:
116 virtual HRESULT STDMETHODCALLTYPE GetUILocale(
117 /* [retval][out] */ __RPC__out LCID *plcid) = 0;
119 virtual HRESULT STDMETHODCALLTYPE GetDialogFont(
120 /* [out] */ __RPC__out UIDLGLOGFONT *plogfont) = 0;
124 #else /* C style interface */
126 typedef struct IUIHostLocaleVtbl
128 BEGIN_INTERFACE
130 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
131 IUIHostLocale * This,
132 /* [in] */ __RPC__in REFIID riid,
133 /* [iid_is][out] */
134 __RPC__deref_out void **ppvObject);
136 ULONG ( STDMETHODCALLTYPE *AddRef )(
137 IUIHostLocale * This);
139 ULONG ( STDMETHODCALLTYPE *Release )(
140 IUIHostLocale * This);
142 HRESULT ( STDMETHODCALLTYPE *GetUILocale )(
143 IUIHostLocale * This,
144 /* [retval][out] */ __RPC__out LCID *plcid);
146 HRESULT ( STDMETHODCALLTYPE *GetDialogFont )(
147 IUIHostLocale * This,
148 /* [out] */ __RPC__out UIDLGLOGFONT *plogfont);
150 END_INTERFACE
151 } IUIHostLocaleVtbl;
153 interface IUIHostLocale
155 CONST_VTBL struct IUIHostLocaleVtbl *lpVtbl;
160 #ifdef COBJMACROS
163 #define IUIHostLocale_QueryInterface(This,riid,ppvObject) \
164 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
166 #define IUIHostLocale_AddRef(This) \
167 ( (This)->lpVtbl -> AddRef(This) )
169 #define IUIHostLocale_Release(This) \
170 ( (This)->lpVtbl -> Release(This) )
173 #define IUIHostLocale_GetUILocale(This,plcid) \
174 ( (This)->lpVtbl -> GetUILocale(This,plcid) )
176 #define IUIHostLocale_GetDialogFont(This,plogfont) \
177 ( (This)->lpVtbl -> GetDialogFont(This,plogfont) )
179 #endif /* COBJMACROS */
182 #endif /* C style interface */
187 #endif /* __IUIHostLocale_INTERFACE_DEFINED__ */
190 #ifndef __IUIHostLocale2_INTERFACE_DEFINED__
191 #define __IUIHostLocale2_INTERFACE_DEFINED__
193 /* interface IUIHostLocale2 */
194 /* [object][version][uuid] */
197 EXTERN_C const IID IID_IUIHostLocale2;
199 #if defined(__cplusplus) && !defined(CINTERFACE)
201 MIDL_INTERFACE("2C2EA032-02BE-11d1-8C85-00C04FC2AA89")
202 IUIHostLocale2 : public IUIHostLocale
204 public:
205 virtual HRESULT STDMETHODCALLTYPE LoadUILibrary(
206 /* [in] */ __RPC__in LPCOLESTR lpstrPath,
207 /* [in] */ __RPC__in LPCOLESTR lpstrDllName,
208 /* [in] */ DWORD dwExFlags,
209 /* [retval][out] */ __RPC__out DWORD_PTR *phinstOut) = 0;
211 virtual HRESULT STDMETHODCALLTYPE MungeDialogFont(
212 /* [in] */ DWORD dwSize,
213 /* [size_is][in] */ __RPC__in_ecount_full(dwSize) const BYTE *pDlgTemplate,
214 /* [out] */ __RPC__deref_out_opt BYTE **ppDlgTemplateOut) = 0;
216 virtual HRESULT STDMETHODCALLTYPE LoadDialog(
217 /* [in] */ DWORD_PTR hMod,
218 /* [in] */ DWORD dwDlgResId,
219 /* [out] */ __RPC__deref_out_opt BYTE **ppDlgTemplate) = 0;
221 virtual HRESULT STDMETHODCALLTYPE GetUILibraryFileName(
222 /* [in] */ __RPC__in LPCOLESTR lpstrPath,
223 /* [in] */ __RPC__in LPCOLESTR lpstrDllName,
224 /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOut) = 0;
228 #else /* C style interface */
230 typedef struct IUIHostLocale2Vtbl
232 BEGIN_INTERFACE
234 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
235 IUIHostLocale2 * This,
236 /* [in] */ __RPC__in REFIID riid,
237 /* [iid_is][out] */
238 __RPC__deref_out void **ppvObject);
240 ULONG ( STDMETHODCALLTYPE *AddRef )(
241 IUIHostLocale2 * This);
243 ULONG ( STDMETHODCALLTYPE *Release )(
244 IUIHostLocale2 * This);
246 HRESULT ( STDMETHODCALLTYPE *GetUILocale )(
247 IUIHostLocale2 * This,
248 /* [retval][out] */ __RPC__out LCID *plcid);
250 HRESULT ( STDMETHODCALLTYPE *GetDialogFont )(
251 IUIHostLocale2 * This,
252 /* [out] */ __RPC__out UIDLGLOGFONT *plogfont);
254 HRESULT ( STDMETHODCALLTYPE *LoadUILibrary )(
255 IUIHostLocale2 * This,
256 /* [in] */ __RPC__in LPCOLESTR lpstrPath,
257 /* [in] */ __RPC__in LPCOLESTR lpstrDllName,
258 /* [in] */ DWORD dwExFlags,
259 /* [retval][out] */ __RPC__out DWORD_PTR *phinstOut);
261 HRESULT ( STDMETHODCALLTYPE *MungeDialogFont )(
262 IUIHostLocale2 * This,
263 /* [in] */ DWORD dwSize,
264 /* [size_is][in] */ __RPC__in_ecount_full(dwSize) const BYTE *pDlgTemplate,
265 /* [out] */ __RPC__deref_out_opt BYTE **ppDlgTemplateOut);
267 HRESULT ( STDMETHODCALLTYPE *LoadDialog )(
268 IUIHostLocale2 * This,
269 /* [in] */ DWORD_PTR hMod,
270 /* [in] */ DWORD dwDlgResId,
271 /* [out] */ __RPC__deref_out_opt BYTE **ppDlgTemplate);
273 HRESULT ( STDMETHODCALLTYPE *GetUILibraryFileName )(
274 IUIHostLocale2 * This,
275 /* [in] */ __RPC__in LPCOLESTR lpstrPath,
276 /* [in] */ __RPC__in LPCOLESTR lpstrDllName,
277 /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOut);
279 END_INTERFACE
280 } IUIHostLocale2Vtbl;
282 interface IUIHostLocale2
284 CONST_VTBL struct IUIHostLocale2Vtbl *lpVtbl;
289 #ifdef COBJMACROS
292 #define IUIHostLocale2_QueryInterface(This,riid,ppvObject) \
293 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
295 #define IUIHostLocale2_AddRef(This) \
296 ( (This)->lpVtbl -> AddRef(This) )
298 #define IUIHostLocale2_Release(This) \
299 ( (This)->lpVtbl -> Release(This) )
302 #define IUIHostLocale2_GetUILocale(This,plcid) \
303 ( (This)->lpVtbl -> GetUILocale(This,plcid) )
305 #define IUIHostLocale2_GetDialogFont(This,plogfont) \
306 ( (This)->lpVtbl -> GetDialogFont(This,plogfont) )
309 #define IUIHostLocale2_LoadUILibrary(This,lpstrPath,lpstrDllName,dwExFlags,phinstOut) \
310 ( (This)->lpVtbl -> LoadUILibrary(This,lpstrPath,lpstrDllName,dwExFlags,phinstOut) )
312 #define IUIHostLocale2_MungeDialogFont(This,dwSize,pDlgTemplate,ppDlgTemplateOut) \
313 ( (This)->lpVtbl -> MungeDialogFont(This,dwSize,pDlgTemplate,ppDlgTemplateOut) )
315 #define IUIHostLocale2_LoadDialog(This,hMod,dwDlgResId,ppDlgTemplate) \
316 ( (This)->lpVtbl -> LoadDialog(This,hMod,dwDlgResId,ppDlgTemplate) )
318 #define IUIHostLocale2_GetUILibraryFileName(This,lpstrPath,lpstrDllName,pbstrOut) \
319 ( (This)->lpVtbl -> GetUILibraryFileName(This,lpstrPath,lpstrDllName,pbstrOut) )
321 #endif /* COBJMACROS */
324 #endif /* C style interface */
329 #endif /* __IUIHostLocale2_INTERFACE_DEFINED__ */
332 /* interface __MIDL_itf_uilocale_0000_0002 */
333 /* [local] */
335 #define SID_SUIHostLocale IID_IUIHostLocale
338 extern RPC_IF_HANDLE __MIDL_itf_uilocale_0000_0002_v0_0_c_ifspec;
339 extern RPC_IF_HANDLE __MIDL_itf_uilocale_0000_0002_v0_0_s_ifspec;
341 /* Additional Prototypes for ALL interfaces */
343 unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
344 unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
345 unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
346 void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
348 /* end of Additional Prototypes */
350 #ifdef __cplusplus
352 #endif
354 #endif