SrpDisablePermissiveModeFileEncryption function (srpapi.h)
Note Windows Information Protection (WIP) policy can be applied on Windows 10, version 1607.
Use SrpEnablePermissiveModeFileEncryption to enable the mode.
This API does not attempt to handle nested calls by reference counting or such. The first call to SrpDisablePermissiveModeFileEncryption will disable the permissive mode.
Syntax
HRESULT SrpDisablePermissiveModeFileEncryption();
Return value
If this function succeeds, it returns S_OK.
HRESULT_FROM_WIN32 (ERROR_INVALID_STATE) indicates that thread tagging cannot be performed due to either process or thread context.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | srpapi.h |
Library | Srpapi.lib |
DLL | Srpapi.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