WldpQueryDynamicCodeTrust function (wldp.h)
Retrieves a value that determines if the specified in-memory or on-disk .NET CRL dynamic code is trusted by Device Guard policy.
Syntax
HRESULT WldpQueryDynamicCodeTrust(
HANDLE fileHandle,
PVOID baseImage,
ULONG imageSize
);
Parameters
fileHandle
Handle to the on-disk dynamic code file to check. If fileHandle is non-NULL, baseImage should be NULL.
baseImage
Pointer to the in-memory PE file to check. If baseImage is non-NULL, FileHandle should be NULL.
imageSize
When baseImage is non-NULL, indicates the buffer size that baseImage points to.
Return value
This method returns S_OK if successful or a failure code otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Header | wldp.h |
Library | wldp.lib |
DLL | wldp.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for