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

Contains C API definitions for policy handler. More...

+ Include dependency graph for policy_handler_cc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef mip_cc_handlemip_cc_policy_handler
 

Functions

 MIP_CC_API (mip_cc_result) MIP_CC_PolicyHandler_GetSensitivityLabel(const mip_cc_policy_handler handler
 Gets a document's current label.
 
 MIP_CC_API (void) MIP_CC_ReleasePolicyHandler(mip_cc_policy_handler handler)
 Release resources associated with a policy handler.
 

Variables

const mip_cc_document_state const mip_cc_application_action_state const void mip_cc_action_resultactionResult
 
const mip_cc_document_state const mip_cc_application_action_stateapplicationState
 
const mip_cc_document_state const void mip_cc_content_labelcontentLabel
 
const mip_cc_document_state const void * context
 
const mip_cc_document_statedocumentState
 
const mip_cc_document_state const void mip_cc_content_label mip_cc_errorerrorInfo
 

Detailed Description

Contains C API definitions for policy handler.

Definition in file policy_handler_cc.h.

Typedef Documentation

◆ mip_cc_policy_handler

Definition at line 46 of file policy_handler_cc.h.

Function Documentation

◆ MIP_CC_API() [1/2]

MIP_CC_API ( mip_cc_result ) const

Gets a document's current label.

Called by application after computed actions have been applied and data committed to disk.

Executes policy rules based on the provided state and determines corresponding actions.

Parameters
handlerPolicy handler
documentStateDocument state
contextApplication context opaquely forwarded to any callbacks
contentLabelLabel currently applied to a document
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
handlerPolicy handler
documentStateDocument state
applicationStateApplication action state
contextApplication context opaquely forwarded to any callbacks
actionResult[Output] Actions that should be taken by application, memory owned by caller
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
The 'actionResult' variable must be released by the caller by calling MIP_CC_ReleaseActionResult
Parameters
handlerPolicy handler
documentStateDocument state
applicationStateApplication action state
contextApplication context opaquely forwarded to any callbacks
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
A call to this function is necessary to transmit complete label audit data.

◆ MIP_CC_API() [2/2]

MIP_CC_API ( void )

Release resources associated with a policy handler.

Parameters
handlerPolicy handler to release

Variable Documentation

◆ actionResult

Definition at line 92 of file policy_handler_cc.h.

◆ applicationState

Definition at line 90 of file policy_handler_cc.h.

◆ contentLabel

const mip_cc_document_state const void mip_cc_content_label* contentLabel

Definition at line 70 of file policy_handler_cc.h.

◆ context

const mip_cc_document_state const mip_cc_application_action_state const void* context

Definition at line 69 of file policy_handler_cc.h.

◆ documentState

const mip_cc_document_state * documentState

Definition at line 68 of file policy_handler_cc.h.

◆ errorInfo

Definition at line 71 of file policy_handler_cc.h.