Microsoft Information Protection (MIP) SDK for C: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C
Loading...
Searching...
No Matches
protection_profile_cc.h File Reference

Defines C-Style ProtectionProfile functions. More...

+ Include dependency graph for protection_profile_cc.h:

Go to the source code of this file.

Typedefs

typedef mip_cc_handlemip_cc_protection_profile
 
typedef mip_cc_handlemip_cc_protection_profile_settings
 

Functions

 MIP_CC_API (mip_cc_result) MIP_CC_ProtectionProfile_AddEngine(const mip_cc_protection_profile profile
 Add a new protection engine to the profile.
 
 MIP_CC_API (void) MIP_CC_ReleaseProtectionProfile(mip_cc_protection_profile profile)
 Release resources associated with a protection profile.
 

Variables

const mip_cc_cache_storage_type cacheStorageType
 
const bool canCacheLicenses
 
const mip_cc_cache_storage_type const void const mip_cc_consent_callback consentCallback
 
const mip_cc_dictionary customSettings
 
const mip_cc_protection_engine_settings mip_cc_protection_engineengine
 
const mip_cc_protection_engine_settings mip_cc_protection_engine mip_cc_errorerrorInfo
 
const mip_cc_http_delegate httpDelegate
 
mip_cc_protection_profileprofile
 
const mip_cc_cache_storage_type const void * reserved
 
const char * sessionId
 
const mip_cc_protection_engine_settings settings
 
const mip_cc_task_dispatcher_delegate taskDispatcherDelegate
 

Detailed Description

Defines C-Style ProtectionProfile functions.

Definition in file protection_profile_cc.h.

Typedef Documentation

◆ mip_cc_protection_profile

Definition at line 51 of file protection_profile_cc.h.

◆ mip_cc_protection_profile_settings

Function Documentation

◆ MIP_CC_API() [1/2]

MIP_CC_API ( mip_cc_result ) const

Add a new protection engine to the profile.

Configures custom settings, used for feature gating and testing.

Override default async task dispatcher with client's own.

Override default HTTP stack with client's own.

Configures whether or not end user licenses (EULs) will be cached locally.

Sets the session ID that can be used to correlate logs and telemetry.

Create a settings object used to create a protection profile.

Load a profile.

Parameters
profileParent profile under which an engine will be added
settingsProtection engine settings
engine[Output] Newly-created protection engine instance
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
settingsProfile settings
profile[Output] Newly-created protection profile instance
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
mipContextGlobal context shared across all profiles
cacheStorageTypeStorage cache configuration
reservedReserved for backwards compatibility - set to nullptr
consentCallbackCallback object to be used for consent, implemented by client application
settings[Output] Newly-created settings instance
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
settingsProfile settings
sessionIdSession ID that represents the lifetime of a protection profile
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
settingsProfile settings
canCacheLicensesWhether or not engine should cache a license when opening protected content
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
settingsProfile settings to which HTTP delegate will be assigned
httpDelegateHTTP callback instance implemented by client application
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
settingsProfile settings to which task dispatcher delegate will be assigned
taskDispatcherDelegateTask dispatcher callback instance implemented by client application
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
settingsProfile settings
customSettingsKey/value pairs of custom settings
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure

◆ MIP_CC_API() [2/2]

MIP_CC_API ( void )

Release resources associated with a protection profile.

Release resources associated with a protection profile settings.

Parameters
profileProtection profile to be released
settingsProtection profile settings to be released

Variable Documentation

◆ cacheStorageType

const mip_cc_cache_storage_type cacheStorageType

Definition at line 105 of file protection_profile_cc.h.

◆ canCacheLicenses

const bool canCacheLicenses

Definition at line 136 of file protection_profile_cc.h.

◆ consentCallback

const mip_cc_cache_storage_type const void const mip_cc_consent_callback consentCallback

Definition at line 107 of file protection_profile_cc.h.

◆ customSettings

const mip_cc_dictionary customSettings

Definition at line 178 of file protection_profile_cc.h.

◆ engine

◆ errorInfo

const mip_cc_dictionary mip_cc_error* errorInfo

Definition at line 68 of file protection_profile_cc.h.

◆ httpDelegate

const mip_cc_http_delegate httpDelegate

Definition at line 150 of file protection_profile_cc.h.

◆ profile

Definition at line 81 of file protection_profile_cc.h.

◆ reserved

const mip_cc_cache_storage_type const void* reserved

Definition at line 106 of file protection_profile_cc.h.

◆ sessionId

const char* sessionId

Definition at line 122 of file protection_profile_cc.h.

◆ settings

const mip_cc_cache_storage_type const void const mip_cc_consent_callback mip_cc_protection_profile_settings* settings

Definition at line 66 of file protection_profile_cc.h.

◆ taskDispatcherDelegate

const mip_cc_task_dispatcher_delegate taskDispatcherDelegate

Definition at line 164 of file protection_profile_cc.h.