WldpIsDynamicCodePolicyEnabled function

Retrieves a value that describes the Device Guard policy enforcement status for .NET dynamic code.

Syntax

HRESULT WINAPI WldpIsDynamicCodePolicyEnabled(
  _Out_ PBOOL  isEnabled
);

Parameters

isEnabled [out]

On success, returns true if the Device Guard policy enforces .NET Dynamic Code policy; otherwise, returns false.

Return value

This method returns S_OK if successful or a failure code otherwise.

Remarks

Dynamic code refers to .NET CRL dynamically-generated code.

Requirements

Minimum supported client
Windows 10, version 1803 [desktop apps only]
Minimum supported server
Windows Server 2016 [desktop apps only]
Header
Wldp.h
DLL
Wldp.dll