Skip to content

Latest commit

 

History

History
191 lines (168 loc) · 4.13 KB

nf-wpcapi-iwpcsettings-getrestrictions.md

File metadata and controls

191 lines (168 loc) · 4.13 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wpcapi.IWPCSettings.GetRestrictions
IWPCSettings::GetRestrictions (wpcapi.h)
Determines whether web restrictions, time limits, or game restrictions are on.
GetRestrictions
GetRestrictions method
GetRestrictions method
IWPCSettings interface
IWPCSettings interface
GetRestrictions method
IWPCSettings.GetRestrictions
IWPCSettings::GetRestrictions
WPCFLAG_APPS_RESTRICTED
WPCFLAG_GAMES_BLOCKED
WPCFLAG_HOURS_RESTRICTED
WPCFLAG_LOGGING_REQUIRED
WPCFLAG_NO_RESTRICTION
WPCFLAG_WEB_FILTERED
parcon.iwpcsettings_getrestrictions
wpcapi/IWPCSettings::GetRestrictions
parcon\iwpcsettings_getrestrictions.htm
parcon
22350ef3-3068-4d33-a023-74644e5fbb83
12/05/2018
GetRestrictions, GetRestrictions method, GetRestrictions method,IWPCSettings interface, IWPCSettings interface,GetRestrictions method, IWPCSettings.GetRestrictions, IWPCSettings::GetRestrictions, WPCFLAG_APPS_RESTRICTED, WPCFLAG_GAMES_BLOCKED, WPCFLAG_HOURS_RESTRICTED, WPCFLAG_LOGGING_REQUIRED, WPCFLAG_NO_RESTRICTION, WPCFLAG_WEB_FILTERED, parcon.iwpcsettings_getrestrictions, wpcapi/IWPCSettings::GetRestrictions
wpcapi.h
Windows
Windows Vista [desktop apps only]
None supported
Windows
19H1
IWPCSettings::GetRestrictions
wpcapi/IWPCSettings::GetRestrictions
c++
APIRef
kbSyntax
COM
Wpcapi.h
IWPCSettings.GetRestrictions

IWPCSettings::GetRestrictions

-description

Determines whether web restrictions, time limits, or game restrictions are on.

-parameters

-param pdwRestrictions [out]

Indicates the current restrictions. This parameter can be one of more of the following values.

Value Meaning
WPCFLAG_NO_RESTRICTION
0
There are no restrictions.
WPCFLAG_LOGGING_REQUIRED
0x1
Activity logged is on.
WPCFLAG_WEB_FILTERED
0x2
A Web Content Filter is active.
WPCFLAG_HOURS_RESTRICTED
0x4
Hours are restricted.
WPCFLAG_GAMES_BLOCKED
0x8
Games are blocked.
WPCFLAG_APPS_RESTRICTED
0x10
Applications are restricted.

-returns

This method can return one of these values.

Return code Description
S_OK
The method completed successfully.
E_ACCESS_DENIED
The calling process has insufficient privileges.
E_FILE_NOT_FOUND
The user settings were not found.
E_FAIL
The method failed.

-see-also

IWPCSettings