VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/wpcapi.idl@ 69505

Last change on this file since 69505 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1/*
2 * Copyright 2011 Jacek Caban for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28import "oaidl.idl";
29import "ocidl.idl";
30
31[
32 uuid(8fdf6ca1-0189-47e4-b670-1a8a4636e340),
33 object
34]
35interface IWPCSettings : IUnknown
36{
37 HRESULT IsLoggingRequired(
38 [out] BOOL *pfRequired);
39
40 HRESULT GetLastSettingsChangeTime(
41 [out] SYSTEMTIME *pTime) ;
42
43 HRESULT GetRestrictions(
44 [out] DWORD *pdwRestrictions);
45}
46
47[
48 uuid(95e87780-e158-489e-b452-bbb850790715),
49 object
50]
51interface IWPCGamesSettings : IWPCSettings
52{
53 HRESULT IsBlocked(
54 [in] GUID guidAppID,
55 [out] DWORD *pdwReasons);
56}
57
58[
59 uuid(ffccbdb8-0992-4c30-b0f1-1cbb09c240aa),
60 object
61]
62interface IWPCWebSettings : IWPCSettings
63{
64 typedef enum tagWPCFLAG_WEB_SETTING {
65 WPCFLAG_WEB_SETTING_NOTBLOCKED = 0,
66 WPCFLAG_WEB_SETTING_DOWNLOADSBLOCKED = 1
67 } WPCFLAG_WEB_SETTING;
68
69 HRESULT GetSettings(
70 [out] DWORD *pdwSettings);
71
72 HRESULT RequestURLOverride(
73 [in] HWND hWnd,
74 [in] LPCWSTR pcszURL,
75 [in] DWORD cURLs,
76 [in] LPCWSTR *ppcszSubURLs,
77 [out] BOOL *pfChanged);
78}
79
80typedef enum tagWPCFLAG_VISIBILITY {
81 WPCFLAG_WPC_VISIBLE = 0,
82 WPCFLAG_WPC_HIDDEN = 1
83} WPCFLAG_VISIBILITY;
84
85[
86 uuid(4FF40A0F-3F3B-4d7c-A41B-4F39D7B44D05),
87 object
88]
89interface IWindowsParentalControlsCore : IUnknown
90{
91 HRESULT GetVisibility(
92 [out] WPCFLAG_VISIBILITY *peVisibility) ;
93
94 HRESULT GetUserSettings(
95 [in] LPCWSTR pcszSID,
96 [out] IWPCSettings **ppSettings);
97
98 HRESULT GetWebSettings(
99 [in] LPCWSTR pcszSID,
100 [out] IWPCWebSettings **ppSettings);
101
102 HRESULT GetWebFilterInfo(
103 [out] GUID *pguidID,
104 [in] LPWSTR *ppszName);
105}
106
107[
108 uuid(4ff40a0f-3f3b-4d7c-a41b-4f39d7b44d05),
109 object
110]
111interface IWindowsParentalControls : IWindowsParentalControlsCore
112{
113 HRESULT GetGamesSettings(
114 [in] LPCWSTR pcszSID,
115 [out] IWPCGamesSettings **ppSettings) ;
116}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette