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.
Specifies result values for execution authorization queries with WldpCanExecuteBuffer, WldpCanExecuteFile, and WldpCanExecuteStream.
Syntax
typedef enum WLDP_EXECUTION_POLICY {
WLDP_EXECUTION_POLICY_BLOCKED,
WLDP_EXECUTION_POLICY_ALLOWED,
WLDP_EXECUTION_POLICY_REQUIRE_SANDBOX
} ;
Constants
WLDP_EXECUTION_POLICY_BLOCKEDThe subject does not pass execution policy and should not be executed. |
WLDP_EXECUTION_POLICY_ALLOWEDThe subject passes execution policy and should be executed normally |
WLDP_EXECUTION_POLICY_REQUIRE_SANDBOXWhile the subject does not pass execution policy, the execution policy allows for execution in a sandbox-like mode if one is available for the host. If a sandbox mode is available for the host, the script may be executed in that mode. Otherwise, the execution of the subject should be aborted. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 11, Build 22621 |
| Minimum supported server | Windows 11, Build 22621 |
| Header | wldp.h |