IWPCSettings::GetRestrictions method (wpcapi.h)
Determines whether web restrictions, time limits, or game restrictions are on.
Syntax
HRESULT GetRestrictions(
[out] DWORD *pdwRestrictions
);
Parameters
[out] pdwRestrictions
Indicates the current restrictions. This parameter can be one of more of the following values.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
The calling process has insufficient privileges. |
|
The user settings were not found. |
|
The method failed. |
Requirements
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | wpcapi.h |