source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wpcapi.h@ 1180

Last change on this file since 1180 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 24.5 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/wpcapi.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __wpcapi_h__
17#define __wpcapi_h__
18
19/* Forward declarations */
20
21#ifndef __IWPCSettings_FWD_DEFINED__
22#define __IWPCSettings_FWD_DEFINED__
23typedef interface IWPCSettings IWPCSettings;
24#ifdef __cplusplus
25interface IWPCSettings;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __IWPCGamesSettings_FWD_DEFINED__
30#define __IWPCGamesSettings_FWD_DEFINED__
31typedef interface IWPCGamesSettings IWPCGamesSettings;
32#ifdef __cplusplus
33interface IWPCGamesSettings;
34#endif /* __cplusplus */
35#endif
36
37#ifndef __IWPCWebSettings_FWD_DEFINED__
38#define __IWPCWebSettings_FWD_DEFINED__
39typedef interface IWPCWebSettings IWPCWebSettings;
40#ifdef __cplusplus
41interface IWPCWebSettings;
42#endif /* __cplusplus */
43#endif
44
45#ifndef __IWindowsParentalControlsCore_FWD_DEFINED__
46#define __IWindowsParentalControlsCore_FWD_DEFINED__
47typedef interface IWindowsParentalControlsCore IWindowsParentalControlsCore;
48#ifdef __cplusplus
49interface IWindowsParentalControlsCore;
50#endif /* __cplusplus */
51#endif
52
53#ifndef __IWindowsParentalControls_FWD_DEFINED__
54#define __IWindowsParentalControls_FWD_DEFINED__
55typedef interface IWindowsParentalControls IWindowsParentalControls;
56#ifdef __cplusplus
57interface IWindowsParentalControls;
58#endif /* __cplusplus */
59#endif
60
61#ifndef __WindowsParentalControls_FWD_DEFINED__
62#define __WindowsParentalControls_FWD_DEFINED__
63#ifdef __cplusplus
64typedef class WindowsParentalControls WindowsParentalControls;
65#else
66typedef struct WindowsParentalControls WindowsParentalControls;
67#endif /* defined __cplusplus */
68#endif /* defined __WindowsParentalControls_FWD_DEFINED__ */
69
70/* Headers for imported files */
71
72#include <oaidl.h>
73#include <ocidl.h>
74
75#ifdef __cplusplus
76extern "C" {
77#endif
78
79typedef enum tagWPCFLAG_RESTRICTION {
80 WPCFLAG_NO_RESTRICTION = 0x0,
81 WPCFLAG_LOGGING_REQUIRED = 0x1,
82 WPCFLAG_WEB_FILTERED = 0x2,
83 WPCFLAG_HOURS_RESTRICTED = 0x4,
84 WPCFLAG_GAMES_BLOCKED = 0x8,
85 WPCFLAG_APPS_RESTRICTED = 0x10
86} WPCFLAG_RESTRICTION;
87/*****************************************************************************
88 * IWPCSettings interface
89 */
90#ifndef __IWPCSettings_INTERFACE_DEFINED__
91#define __IWPCSettings_INTERFACE_DEFINED__
92
93DEFINE_GUID(IID_IWPCSettings, 0x8fdf6ca1, 0x0189, 0x47e4, 0xb6,0x70, 0x1a,0x8a,0x46,0x36,0xe3,0x40);
94#if defined(__cplusplus) && !defined(CINTERFACE)
95MIDL_INTERFACE("8fdf6ca1-0189-47e4-b670-1a8a4636e340")
96IWPCSettings : public IUnknown
97{
98 virtual HRESULT STDMETHODCALLTYPE IsLoggingRequired(
99 WINBOOL *pfRequired) = 0;
100
101 virtual HRESULT STDMETHODCALLTYPE GetLastSettingsChangeTime(
102 SYSTEMTIME *pTime) = 0;
103
104 virtual HRESULT STDMETHODCALLTYPE GetRestrictions(
105 DWORD *pdwRestrictions) = 0;
106
107};
108#ifdef __CRT_UUID_DECL
109__CRT_UUID_DECL(IWPCSettings, 0x8fdf6ca1, 0x0189, 0x47e4, 0xb6,0x70, 0x1a,0x8a,0x46,0x36,0xe3,0x40)
110#endif
111#else
112typedef struct IWPCSettingsVtbl {
113 BEGIN_INTERFACE
114
115 /*** IUnknown methods ***/
116 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
117 IWPCSettings *This,
118 REFIID riid,
119 void **ppvObject);
120
121 ULONG (STDMETHODCALLTYPE *AddRef)(
122 IWPCSettings *This);
123
124 ULONG (STDMETHODCALLTYPE *Release)(
125 IWPCSettings *This);
126
127 /*** IWPCSettings methods ***/
128 HRESULT (STDMETHODCALLTYPE *IsLoggingRequired)(
129 IWPCSettings *This,
130 WINBOOL *pfRequired);
131
132 HRESULT (STDMETHODCALLTYPE *GetLastSettingsChangeTime)(
133 IWPCSettings *This,
134 SYSTEMTIME *pTime);
135
136 HRESULT (STDMETHODCALLTYPE *GetRestrictions)(
137 IWPCSettings *This,
138 DWORD *pdwRestrictions);
139
140 END_INTERFACE
141} IWPCSettingsVtbl;
142
143interface IWPCSettings {
144 CONST_VTBL IWPCSettingsVtbl* lpVtbl;
145};
146
147#ifdef COBJMACROS
148#ifndef WIDL_C_INLINE_WRAPPERS
149/*** IUnknown methods ***/
150#define IWPCSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
151#define IWPCSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
152#define IWPCSettings_Release(This) (This)->lpVtbl->Release(This)
153/*** IWPCSettings methods ***/
154#define IWPCSettings_IsLoggingRequired(This,pfRequired) (This)->lpVtbl->IsLoggingRequired(This,pfRequired)
155#define IWPCSettings_GetLastSettingsChangeTime(This,pTime) (This)->lpVtbl->GetLastSettingsChangeTime(This,pTime)
156#define IWPCSettings_GetRestrictions(This,pdwRestrictions) (This)->lpVtbl->GetRestrictions(This,pdwRestrictions)
157#else
158/*** IUnknown methods ***/
159static FORCEINLINE HRESULT IWPCSettings_QueryInterface(IWPCSettings* This,REFIID riid,void **ppvObject) {
160 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
161}
162static FORCEINLINE ULONG IWPCSettings_AddRef(IWPCSettings* This) {
163 return This->lpVtbl->AddRef(This);
164}
165static FORCEINLINE ULONG IWPCSettings_Release(IWPCSettings* This) {
166 return This->lpVtbl->Release(This);
167}
168/*** IWPCSettings methods ***/
169static FORCEINLINE HRESULT IWPCSettings_IsLoggingRequired(IWPCSettings* This,WINBOOL *pfRequired) {
170 return This->lpVtbl->IsLoggingRequired(This,pfRequired);
171}
172static FORCEINLINE HRESULT IWPCSettings_GetLastSettingsChangeTime(IWPCSettings* This,SYSTEMTIME *pTime) {
173 return This->lpVtbl->GetLastSettingsChangeTime(This,pTime);
174}
175static FORCEINLINE HRESULT IWPCSettings_GetRestrictions(IWPCSettings* This,DWORD *pdwRestrictions) {
176 return This->lpVtbl->GetRestrictions(This,pdwRestrictions);
177}
178#endif
179#endif
180
181#endif
182
183
184#endif /* __IWPCSettings_INTERFACE_DEFINED__ */
185
186/*****************************************************************************
187 * IWPCGamesSettings interface
188 */
189#ifndef __IWPCGamesSettings_INTERFACE_DEFINED__
190#define __IWPCGamesSettings_INTERFACE_DEFINED__
191
192DEFINE_GUID(IID_IWPCGamesSettings, 0x95e87780, 0xe158, 0x489e, 0xb4,0x52, 0xbb,0xb8,0x50,0x79,0x07,0x15);
193#if defined(__cplusplus) && !defined(CINTERFACE)
194MIDL_INTERFACE("95e87780-e158-489e-b452-bbb850790715")
195IWPCGamesSettings : public IWPCSettings
196{
197 virtual HRESULT STDMETHODCALLTYPE IsBlocked(
198 GUID guidAppID,
199 DWORD *pdwReasons) = 0;
200
201};
202#ifdef __CRT_UUID_DECL
203__CRT_UUID_DECL(IWPCGamesSettings, 0x95e87780, 0xe158, 0x489e, 0xb4,0x52, 0xbb,0xb8,0x50,0x79,0x07,0x15)
204#endif
205#else
206typedef struct IWPCGamesSettingsVtbl {
207 BEGIN_INTERFACE
208
209 /*** IUnknown methods ***/
210 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
211 IWPCGamesSettings *This,
212 REFIID riid,
213 void **ppvObject);
214
215 ULONG (STDMETHODCALLTYPE *AddRef)(
216 IWPCGamesSettings *This);
217
218 ULONG (STDMETHODCALLTYPE *Release)(
219 IWPCGamesSettings *This);
220
221 /*** IWPCSettings methods ***/
222 HRESULT (STDMETHODCALLTYPE *IsLoggingRequired)(
223 IWPCGamesSettings *This,
224 WINBOOL *pfRequired);
225
226 HRESULT (STDMETHODCALLTYPE *GetLastSettingsChangeTime)(
227 IWPCGamesSettings *This,
228 SYSTEMTIME *pTime);
229
230 HRESULT (STDMETHODCALLTYPE *GetRestrictions)(
231 IWPCGamesSettings *This,
232 DWORD *pdwRestrictions);
233
234 /*** IWPCGamesSettings methods ***/
235 HRESULT (STDMETHODCALLTYPE *IsBlocked)(
236 IWPCGamesSettings *This,
237 GUID guidAppID,
238 DWORD *pdwReasons);
239
240 END_INTERFACE
241} IWPCGamesSettingsVtbl;
242
243interface IWPCGamesSettings {
244 CONST_VTBL IWPCGamesSettingsVtbl* lpVtbl;
245};
246
247#ifdef COBJMACROS
248#ifndef WIDL_C_INLINE_WRAPPERS
249/*** IUnknown methods ***/
250#define IWPCGamesSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
251#define IWPCGamesSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
252#define IWPCGamesSettings_Release(This) (This)->lpVtbl->Release(This)
253/*** IWPCSettings methods ***/
254#define IWPCGamesSettings_IsLoggingRequired(This,pfRequired) (This)->lpVtbl->IsLoggingRequired(This,pfRequired)
255#define IWPCGamesSettings_GetLastSettingsChangeTime(This,pTime) (This)->lpVtbl->GetLastSettingsChangeTime(This,pTime)
256#define IWPCGamesSettings_GetRestrictions(This,pdwRestrictions) (This)->lpVtbl->GetRestrictions(This,pdwRestrictions)
257/*** IWPCGamesSettings methods ***/
258#define IWPCGamesSettings_IsBlocked(This,guidAppID,pdwReasons) (This)->lpVtbl->IsBlocked(This,guidAppID,pdwReasons)
259#else
260/*** IUnknown methods ***/
261static FORCEINLINE HRESULT IWPCGamesSettings_QueryInterface(IWPCGamesSettings* This,REFIID riid,void **ppvObject) {
262 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
263}
264static FORCEINLINE ULONG IWPCGamesSettings_AddRef(IWPCGamesSettings* This) {
265 return This->lpVtbl->AddRef(This);
266}
267static FORCEINLINE ULONG IWPCGamesSettings_Release(IWPCGamesSettings* This) {
268 return This->lpVtbl->Release(This);
269}
270/*** IWPCSettings methods ***/
271static FORCEINLINE HRESULT IWPCGamesSettings_IsLoggingRequired(IWPCGamesSettings* This,WINBOOL *pfRequired) {
272 return This->lpVtbl->IsLoggingRequired(This,pfRequired);
273}
274static FORCEINLINE HRESULT IWPCGamesSettings_GetLastSettingsChangeTime(IWPCGamesSettings* This,SYSTEMTIME *pTime) {
275 return This->lpVtbl->GetLastSettingsChangeTime(This,pTime);
276}
277static FORCEINLINE HRESULT IWPCGamesSettings_GetRestrictions(IWPCGamesSettings* This,DWORD *pdwRestrictions) {
278 return This->lpVtbl->GetRestrictions(This,pdwRestrictions);
279}
280/*** IWPCGamesSettings methods ***/
281static FORCEINLINE HRESULT IWPCGamesSettings_IsBlocked(IWPCGamesSettings* This,GUID guidAppID,DWORD *pdwReasons) {
282 return This->lpVtbl->IsBlocked(This,guidAppID,pdwReasons);
283}
284#endif
285#endif
286
287#endif
288
289
290#endif /* __IWPCGamesSettings_INTERFACE_DEFINED__ */
291
292/*****************************************************************************
293 * IWPCWebSettings interface
294 */
295#ifndef __IWPCWebSettings_INTERFACE_DEFINED__
296#define __IWPCWebSettings_INTERFACE_DEFINED__
297
298typedef enum tagWPCFLAG_WEB_SETTING {
299 WPCFLAG_WEB_SETTING_NOTBLOCKED = 0,
300 WPCFLAG_WEB_SETTING_DOWNLOADSBLOCKED = 1
301} WPCFLAG_WEB_SETTING;
302DEFINE_GUID(IID_IWPCWebSettings, 0xffccbdb8, 0x0992, 0x4c30, 0xb0,0xf1, 0x1c,0xbb,0x09,0xc2,0x40,0xaa);
303#if defined(__cplusplus) && !defined(CINTERFACE)
304MIDL_INTERFACE("ffccbdb8-0992-4c30-b0f1-1cbb09c240aa")
305IWPCWebSettings : public IWPCSettings
306{
307 virtual HRESULT STDMETHODCALLTYPE GetSettings(
308 DWORD *pdwSettings) = 0;
309
310 virtual HRESULT STDMETHODCALLTYPE RequestURLOverride(
311 HWND hWnd,
312 LPCWSTR pcszURL,
313 DWORD cURLs,
314 LPCWSTR *ppcszSubURLs,
315 WINBOOL *pfChanged) = 0;
316
317};
318#ifdef __CRT_UUID_DECL
319__CRT_UUID_DECL(IWPCWebSettings, 0xffccbdb8, 0x0992, 0x4c30, 0xb0,0xf1, 0x1c,0xbb,0x09,0xc2,0x40,0xaa)
320#endif
321#else
322typedef struct IWPCWebSettingsVtbl {
323 BEGIN_INTERFACE
324
325 /*** IUnknown methods ***/
326 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
327 IWPCWebSettings *This,
328 REFIID riid,
329 void **ppvObject);
330
331 ULONG (STDMETHODCALLTYPE *AddRef)(
332 IWPCWebSettings *This);
333
334 ULONG (STDMETHODCALLTYPE *Release)(
335 IWPCWebSettings *This);
336
337 /*** IWPCSettings methods ***/
338 HRESULT (STDMETHODCALLTYPE *IsLoggingRequired)(
339 IWPCWebSettings *This,
340 WINBOOL *pfRequired);
341
342 HRESULT (STDMETHODCALLTYPE *GetLastSettingsChangeTime)(
343 IWPCWebSettings *This,
344 SYSTEMTIME *pTime);
345
346 HRESULT (STDMETHODCALLTYPE *GetRestrictions)(
347 IWPCWebSettings *This,
348 DWORD *pdwRestrictions);
349
350 /*** IWPCWebSettings methods ***/
351 HRESULT (STDMETHODCALLTYPE *GetSettings)(
352 IWPCWebSettings *This,
353 DWORD *pdwSettings);
354
355 HRESULT (STDMETHODCALLTYPE *RequestURLOverride)(
356 IWPCWebSettings *This,
357 HWND hWnd,
358 LPCWSTR pcszURL,
359 DWORD cURLs,
360 LPCWSTR *ppcszSubURLs,
361 WINBOOL *pfChanged);
362
363 END_INTERFACE
364} IWPCWebSettingsVtbl;
365
366interface IWPCWebSettings {
367 CONST_VTBL IWPCWebSettingsVtbl* lpVtbl;
368};
369
370#ifdef COBJMACROS
371#ifndef WIDL_C_INLINE_WRAPPERS
372/*** IUnknown methods ***/
373#define IWPCWebSettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
374#define IWPCWebSettings_AddRef(This) (This)->lpVtbl->AddRef(This)
375#define IWPCWebSettings_Release(This) (This)->lpVtbl->Release(This)
376/*** IWPCSettings methods ***/
377#define IWPCWebSettings_IsLoggingRequired(This,pfRequired) (This)->lpVtbl->IsLoggingRequired(This,pfRequired)
378#define IWPCWebSettings_GetLastSettingsChangeTime(This,pTime) (This)->lpVtbl->GetLastSettingsChangeTime(This,pTime)
379#define IWPCWebSettings_GetRestrictions(This,pdwRestrictions) (This)->lpVtbl->GetRestrictions(This,pdwRestrictions)
380/*** IWPCWebSettings methods ***/
381#define IWPCWebSettings_GetSettings(This,pdwSettings) (This)->lpVtbl->GetSettings(This,pdwSettings)
382#define IWPCWebSettings_RequestURLOverride(This,hWnd,pcszURL,cURLs,ppcszSubURLs,pfChanged) (This)->lpVtbl->RequestURLOverride(This,hWnd,pcszURL,cURLs,ppcszSubURLs,pfChanged)
383#else
384/*** IUnknown methods ***/
385static FORCEINLINE HRESULT IWPCWebSettings_QueryInterface(IWPCWebSettings* This,REFIID riid,void **ppvObject) {
386 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
387}
388static FORCEINLINE ULONG IWPCWebSettings_AddRef(IWPCWebSettings* This) {
389 return This->lpVtbl->AddRef(This);
390}
391static FORCEINLINE ULONG IWPCWebSettings_Release(IWPCWebSettings* This) {
392 return This->lpVtbl->Release(This);
393}
394/*** IWPCSettings methods ***/
395static FORCEINLINE HRESULT IWPCWebSettings_IsLoggingRequired(IWPCWebSettings* This,WINBOOL *pfRequired) {
396 return This->lpVtbl->IsLoggingRequired(This,pfRequired);
397}
398static FORCEINLINE HRESULT IWPCWebSettings_GetLastSettingsChangeTime(IWPCWebSettings* This,SYSTEMTIME *pTime) {
399 return This->lpVtbl->GetLastSettingsChangeTime(This,pTime);
400}
401static FORCEINLINE HRESULT IWPCWebSettings_GetRestrictions(IWPCWebSettings* This,DWORD *pdwRestrictions) {
402 return This->lpVtbl->GetRestrictions(This,pdwRestrictions);
403}
404/*** IWPCWebSettings methods ***/
405static FORCEINLINE HRESULT IWPCWebSettings_GetSettings(IWPCWebSettings* This,DWORD *pdwSettings) {
406 return This->lpVtbl->GetSettings(This,pdwSettings);
407}
408static FORCEINLINE HRESULT IWPCWebSettings_RequestURLOverride(IWPCWebSettings* This,HWND hWnd,LPCWSTR pcszURL,DWORD cURLs,LPCWSTR *ppcszSubURLs,WINBOOL *pfChanged) {
409 return This->lpVtbl->RequestURLOverride(This,hWnd,pcszURL,cURLs,ppcszSubURLs,pfChanged);
410}
411#endif
412#endif
413
414#endif
415
416
417#endif /* __IWPCWebSettings_INTERFACE_DEFINED__ */
418
419typedef enum tagWPCFLAG_VISIBILITY {
420 WPCFLAG_WPC_VISIBLE = 0,
421 WPCFLAG_WPC_HIDDEN = 1
422} WPCFLAG_VISIBILITY;
423/*****************************************************************************
424 * IWindowsParentalControlsCore interface
425 */
426#ifndef __IWindowsParentalControlsCore_INTERFACE_DEFINED__
427#define __IWindowsParentalControlsCore_INTERFACE_DEFINED__
428
429DEFINE_GUID(IID_IWindowsParentalControlsCore, 0x4ff40a0f, 0x3f3b, 0x4d7c, 0xa4,0x1b, 0x4f,0x39,0xd7,0xb4,0x4d,0x05);
430#if defined(__cplusplus) && !defined(CINTERFACE)
431MIDL_INTERFACE("4ff40a0f-3f3b-4d7c-a41b-4f39d7b44d05")
432IWindowsParentalControlsCore : public IUnknown
433{
434 virtual HRESULT STDMETHODCALLTYPE GetVisibility(
435 WPCFLAG_VISIBILITY *peVisibility) = 0;
436
437 virtual HRESULT STDMETHODCALLTYPE GetUserSettings(
438 LPCWSTR pcszSID,
439 IWPCSettings **ppSettings) = 0;
440
441 virtual HRESULT STDMETHODCALLTYPE GetWebSettings(
442 LPCWSTR pcszSID,
443 IWPCWebSettings **ppSettings) = 0;
444
445 virtual HRESULT STDMETHODCALLTYPE GetWebFilterInfo(
446 GUID *pguidID,
447 LPWSTR *ppszName) = 0;
448
449};
450#ifdef __CRT_UUID_DECL
451__CRT_UUID_DECL(IWindowsParentalControlsCore, 0x4ff40a0f, 0x3f3b, 0x4d7c, 0xa4,0x1b, 0x4f,0x39,0xd7,0xb4,0x4d,0x05)
452#endif
453#else
454typedef struct IWindowsParentalControlsCoreVtbl {
455 BEGIN_INTERFACE
456
457 /*** IUnknown methods ***/
458 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
459 IWindowsParentalControlsCore *This,
460 REFIID riid,
461 void **ppvObject);
462
463 ULONG (STDMETHODCALLTYPE *AddRef)(
464 IWindowsParentalControlsCore *This);
465
466 ULONG (STDMETHODCALLTYPE *Release)(
467 IWindowsParentalControlsCore *This);
468
469 /*** IWindowsParentalControlsCore methods ***/
470 HRESULT (STDMETHODCALLTYPE *GetVisibility)(
471 IWindowsParentalControlsCore *This,
472 WPCFLAG_VISIBILITY *peVisibility);
473
474 HRESULT (STDMETHODCALLTYPE *GetUserSettings)(
475 IWindowsParentalControlsCore *This,
476 LPCWSTR pcszSID,
477 IWPCSettings **ppSettings);
478
479 HRESULT (STDMETHODCALLTYPE *GetWebSettings)(
480 IWindowsParentalControlsCore *This,
481 LPCWSTR pcszSID,
482 IWPCWebSettings **ppSettings);
483
484 HRESULT (STDMETHODCALLTYPE *GetWebFilterInfo)(
485 IWindowsParentalControlsCore *This,
486 GUID *pguidID,
487 LPWSTR *ppszName);
488
489 END_INTERFACE
490} IWindowsParentalControlsCoreVtbl;
491
492interface IWindowsParentalControlsCore {
493 CONST_VTBL IWindowsParentalControlsCoreVtbl* lpVtbl;
494};
495
496#ifdef COBJMACROS
497#ifndef WIDL_C_INLINE_WRAPPERS
498/*** IUnknown methods ***/
499#define IWindowsParentalControlsCore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
500#define IWindowsParentalControlsCore_AddRef(This) (This)->lpVtbl->AddRef(This)
501#define IWindowsParentalControlsCore_Release(This) (This)->lpVtbl->Release(This)
502/*** IWindowsParentalControlsCore methods ***/
503#define IWindowsParentalControlsCore_GetVisibility(This,peVisibility) (This)->lpVtbl->GetVisibility(This,peVisibility)
504#define IWindowsParentalControlsCore_GetUserSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetUserSettings(This,pcszSID,ppSettings)
505#define IWindowsParentalControlsCore_GetWebSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetWebSettings(This,pcszSID,ppSettings)
506#define IWindowsParentalControlsCore_GetWebFilterInfo(This,pguidID,ppszName) (This)->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName)
507#else
508/*** IUnknown methods ***/
509static FORCEINLINE HRESULT IWindowsParentalControlsCore_QueryInterface(IWindowsParentalControlsCore* This,REFIID riid,void **ppvObject) {
510 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
511}
512static FORCEINLINE ULONG IWindowsParentalControlsCore_AddRef(IWindowsParentalControlsCore* This) {
513 return This->lpVtbl->AddRef(This);
514}
515static FORCEINLINE ULONG IWindowsParentalControlsCore_Release(IWindowsParentalControlsCore* This) {
516 return This->lpVtbl->Release(This);
517}
518/*** IWindowsParentalControlsCore methods ***/
519static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetVisibility(IWindowsParentalControlsCore* This,WPCFLAG_VISIBILITY *peVisibility) {
520 return This->lpVtbl->GetVisibility(This,peVisibility);
521}
522static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetUserSettings(IWindowsParentalControlsCore* This,LPCWSTR pcszSID,IWPCSettings **ppSettings) {
523 return This->lpVtbl->GetUserSettings(This,pcszSID,ppSettings);
524}
525static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetWebSettings(IWindowsParentalControlsCore* This,LPCWSTR pcszSID,IWPCWebSettings **ppSettings) {
526 return This->lpVtbl->GetWebSettings(This,pcszSID,ppSettings);
527}
528static FORCEINLINE HRESULT IWindowsParentalControlsCore_GetWebFilterInfo(IWindowsParentalControlsCore* This,GUID *pguidID,LPWSTR *ppszName) {
529 return This->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName);
530}
531#endif
532#endif
533
534#endif
535
536
537#endif /* __IWindowsParentalControlsCore_INTERFACE_DEFINED__ */
538
539/*****************************************************************************
540 * IWindowsParentalControls interface
541 */
542#ifndef __IWindowsParentalControls_INTERFACE_DEFINED__
543#define __IWindowsParentalControls_INTERFACE_DEFINED__
544
545DEFINE_GUID(IID_IWindowsParentalControls, 0x28b4d88b, 0xe072, 0x49e6, 0x80,0x4d, 0x26,0xed,0xbe,0x21,0xa7,0xb9);
546#if defined(__cplusplus) && !defined(CINTERFACE)
547MIDL_INTERFACE("28b4d88b-e072-49e6-804d-26edbe21a7b9")
548IWindowsParentalControls : public IWindowsParentalControlsCore
549{
550 virtual HRESULT STDMETHODCALLTYPE GetGamesSettings(
551 LPCWSTR pcszSID,
552 IWPCGamesSettings **ppSettings) = 0;
553
554};
555#ifdef __CRT_UUID_DECL
556__CRT_UUID_DECL(IWindowsParentalControls, 0x28b4d88b, 0xe072, 0x49e6, 0x80,0x4d, 0x26,0xed,0xbe,0x21,0xa7,0xb9)
557#endif
558#else
559typedef struct IWindowsParentalControlsVtbl {
560 BEGIN_INTERFACE
561
562 /*** IUnknown methods ***/
563 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
564 IWindowsParentalControls *This,
565 REFIID riid,
566 void **ppvObject);
567
568 ULONG (STDMETHODCALLTYPE *AddRef)(
569 IWindowsParentalControls *This);
570
571 ULONG (STDMETHODCALLTYPE *Release)(
572 IWindowsParentalControls *This);
573
574 /*** IWindowsParentalControlsCore methods ***/
575 HRESULT (STDMETHODCALLTYPE *GetVisibility)(
576 IWindowsParentalControls *This,
577 WPCFLAG_VISIBILITY *peVisibility);
578
579 HRESULT (STDMETHODCALLTYPE *GetUserSettings)(
580 IWindowsParentalControls *This,
581 LPCWSTR pcszSID,
582 IWPCSettings **ppSettings);
583
584 HRESULT (STDMETHODCALLTYPE *GetWebSettings)(
585 IWindowsParentalControls *This,
586 LPCWSTR pcszSID,
587 IWPCWebSettings **ppSettings);
588
589 HRESULT (STDMETHODCALLTYPE *GetWebFilterInfo)(
590 IWindowsParentalControls *This,
591 GUID *pguidID,
592 LPWSTR *ppszName);
593
594 /*** IWindowsParentalControls methods ***/
595 HRESULT (STDMETHODCALLTYPE *GetGamesSettings)(
596 IWindowsParentalControls *This,
597 LPCWSTR pcszSID,
598 IWPCGamesSettings **ppSettings);
599
600 END_INTERFACE
601} IWindowsParentalControlsVtbl;
602
603interface IWindowsParentalControls {
604 CONST_VTBL IWindowsParentalControlsVtbl* lpVtbl;
605};
606
607#ifdef COBJMACROS
608#ifndef WIDL_C_INLINE_WRAPPERS
609/*** IUnknown methods ***/
610#define IWindowsParentalControls_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
611#define IWindowsParentalControls_AddRef(This) (This)->lpVtbl->AddRef(This)
612#define IWindowsParentalControls_Release(This) (This)->lpVtbl->Release(This)
613/*** IWindowsParentalControlsCore methods ***/
614#define IWindowsParentalControls_GetVisibility(This,peVisibility) (This)->lpVtbl->GetVisibility(This,peVisibility)
615#define IWindowsParentalControls_GetUserSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetUserSettings(This,pcszSID,ppSettings)
616#define IWindowsParentalControls_GetWebSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetWebSettings(This,pcszSID,ppSettings)
617#define IWindowsParentalControls_GetWebFilterInfo(This,pguidID,ppszName) (This)->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName)
618/*** IWindowsParentalControls methods ***/
619#define IWindowsParentalControls_GetGamesSettings(This,pcszSID,ppSettings) (This)->lpVtbl->GetGamesSettings(This,pcszSID,ppSettings)
620#else
621/*** IUnknown methods ***/
622static FORCEINLINE HRESULT IWindowsParentalControls_QueryInterface(IWindowsParentalControls* This,REFIID riid,void **ppvObject) {
623 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
624}
625static FORCEINLINE ULONG IWindowsParentalControls_AddRef(IWindowsParentalControls* This) {
626 return This->lpVtbl->AddRef(This);
627}
628static FORCEINLINE ULONG IWindowsParentalControls_Release(IWindowsParentalControls* This) {
629 return This->lpVtbl->Release(This);
630}
631/*** IWindowsParentalControlsCore methods ***/
632static FORCEINLINE HRESULT IWindowsParentalControls_GetVisibility(IWindowsParentalControls* This,WPCFLAG_VISIBILITY *peVisibility) {
633 return This->lpVtbl->GetVisibility(This,peVisibility);
634}
635static FORCEINLINE HRESULT IWindowsParentalControls_GetUserSettings(IWindowsParentalControls* This,LPCWSTR pcszSID,IWPCSettings **ppSettings) {
636 return This->lpVtbl->GetUserSettings(This,pcszSID,ppSettings);
637}
638static FORCEINLINE HRESULT IWindowsParentalControls_GetWebSettings(IWindowsParentalControls* This,LPCWSTR pcszSID,IWPCWebSettings **ppSettings) {
639 return This->lpVtbl->GetWebSettings(This,pcszSID,ppSettings);
640}
641static FORCEINLINE HRESULT IWindowsParentalControls_GetWebFilterInfo(IWindowsParentalControls* This,GUID *pguidID,LPWSTR *ppszName) {
642 return This->lpVtbl->GetWebFilterInfo(This,pguidID,ppszName);
643}
644/*** IWindowsParentalControls methods ***/
645static FORCEINLINE HRESULT IWindowsParentalControls_GetGamesSettings(IWindowsParentalControls* This,LPCWSTR pcszSID,IWPCGamesSettings **ppSettings) {
646 return This->lpVtbl->GetGamesSettings(This,pcszSID,ppSettings);
647}
648#endif
649#endif
650
651#endif
652
653
654#endif /* __IWindowsParentalControls_INTERFACE_DEFINED__ */
655
656/*****************************************************************************
657 * WindowsParentalControls coclass
658 */
659
660DEFINE_GUID(CLSID_WindowsParentalControls, 0xe77cc89b, 0x7401, 0x4c04, 0x8c,0xed, 0x14,0x9d,0xb3,0x5a,0xdd,0x04);
661
662#ifdef __cplusplus
663class DECLSPEC_UUID("e77cc89b-7401-4c04-8ced-149db35add04") WindowsParentalControls;
664#ifdef __CRT_UUID_DECL
665__CRT_UUID_DECL(WindowsParentalControls, 0xe77cc89b, 0x7401, 0x4c04, 0x8c,0xed, 0x14,0x9d,0xb3,0x5a,0xdd,0x04)
666#endif
667#endif
668
669/* Begin additional prototypes for all interfaces */
670
671ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
672unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
673unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
674void __RPC_USER HWND_UserFree (ULONG *, HWND *);
675
676/* End additional prototypes */
677
678#ifdef __cplusplus
679}
680#endif
681
682#endif /* __wpcapi_h__ */
Note: See TracBrowser for help on using the repository browser.