2 * Copyright 2011 Jacek Caban for CodeWeavers
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.
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.
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
23 uuid(8fdf6ca1
-0189-47e4
-b670
-1a8a4636e340
),
26 interface IWPCSettings
: IUnknown
28 HRESULT IsLoggingRequired
(
29 [out] BOOL
*pfRequired
);
31 HRESULT GetLastSettingsChangeTime
(
32 [out] SYSTEMTIME
*pTime
) ;
34 HRESULT GetRestrictions
(
35 [out] DWORD
*pdwRestrictions
);
39 uuid(95e87780
-e158
-489e
-b452
-bbb850790715
),
42 interface IWPCGamesSettings
: IWPCSettings
46 [out] DWORD
*pdwReasons
);
50 uuid(ffccbdb8
-0992-4c30
-b0f1
-1cbb09c240aa
),
53 interface IWPCWebSettings
: IWPCSettings
55 typedef enum tagWPCFLAG_WEB_SETTING
{
56 WPCFLAG_WEB_SETTING_NOTBLOCKED
= 0,
57 WPCFLAG_WEB_SETTING_DOWNLOADSBLOCKED
= 1
58 } WPCFLAG_WEB_SETTING
;
61 [out] DWORD
*pdwSettings
);
63 HRESULT RequestURLOverride
(
67 [in] LPCWSTR
*ppcszSubURLs
,
68 [out] BOOL
*pfChanged
);
71 typedef enum tagWPCFLAG_VISIBILITY
{
72 WPCFLAG_WPC_VISIBLE
= 0,
73 WPCFLAG_WPC_HIDDEN
= 1
77 uuid(4FF40A0F
-3F3B
-4d7c
-A41B
-4F39D7B44D05
),
80 interface IWindowsParentalControlsCore
: IUnknown
82 HRESULT GetVisibility
(
83 [out] WPCFLAG_VISIBILITY
*peVisibility
) ;
85 HRESULT GetUserSettings
(
87 [out] IWPCSettings
**ppSettings
);
89 HRESULT GetWebSettings
(
91 [out] IWPCWebSettings
**ppSettings
);
93 HRESULT GetWebFilterInfo
(
95 [in] LPWSTR
*ppszName
);
99 uuid(4ff40a0f
-3f3b
-4d7c
-a41b
-4f39d7b44d05
),
102 interface IWindowsParentalControls
: IWindowsParentalControlsCore
104 HRESULT GetGamesSettings
(
105 [in] LPCWSTR pcszSID
,
106 [out] IWPCGamesSettings
**ppSettings
) ;