Edit

Share via


srpapi.h header

This header is used by Windows Information Protection (WIP). For more information, see:

srpapi.h contains the following programming interfaces:

Functions

 
SrpCloseThreadNetworkContext

Restores a thread back to the original context, which may have been optionally returned from SrpCreateThreadNetworkContext.
SrpCreateThreadNetworkContext

Sets the enterprise ID as the data context of the current thread. This is allowed only if the process already has the same enterprise ID present in its process context. It optionally returns the existing thread token.
SrpDisablePermissiveModeFileEncryption

Disables permissive mode for file encryption on the current thread.
SrpDoesPolicyAllowAppExecution

Evaluates whether a packaged app will be allowed to execute based on software restriction policies.
SrpEnablePermissiveModeFileEncryption

Enables permissive mode for file encryption on the current thread and all threads this thread will create or post work to.
SrpGetEnterpriseIds

Gets the list of enterprise identifiers for the given token.
SrpGetEnterprisePolicy

Policy can be applied on Windows 10, version 1607.Gets information about the enterprise policy of an app.
SrpIsTokenService

Identifies whether a service is a token service.
SrpSetTokenEnterpriseId

Sets a data intent on a token. The caller process should be enterprise allowed for the provided enterprise ID.

Enumerations

 
ENTERPRISE_DATA_POLICIES

Indicates whether the app is enlightened for Windows Information Protection (WIP) and whether the app is managed by policy.