Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | wpcapi.h |