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 the specified game is blocked from execution.
Syntax
HRESULT IsBlocked(
[in] GUID guidAppID,
[out] DWORD *pdwReasons
);
Parameters
[in] guidAppID
The GUID associated with the game during install or game scan detection.
[out] pdwReasons
The reason code. For a list of values, see the WPCFLAG_ISBLOCKED enumeration.
Return value
If the method succeeds, the return value is S_OK. Otherwise, it is E_FAIL.
Remarks
If guidAppID is not found, the policy will default to unrated and set *pdwReasons to WPCFLAG_ISBLOCKED_NOT_BLOCKED.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | wpcapi.h |