Microsoft Information Protection SDK - C 1.17
API Reference Documentation for C
Loading...
Searching...
No Matches
add_watermark_action_cc.h File Reference

Contains C API definitions for "add watermark" label policy action. More...

Go to the source code of this file.

Functions

 MIP_CC_API (mip_cc_result) MIP_CC_AddWatermarkAction_GetUIElementNameSize(const mip_cc_action action
 Gets size of buffer required to store an "add watermark" action's UI element name.
 

Variables

int64_t * nameSize
 
int64_t mip_cc_errorerrorInfo
 
char * nameBuffer
 
char const int64_t nameBufferSize
 
char const int64_t int64_t * actualNameSize
 
mip_cc_watermark_layoutlayout
 
int64_t * textSize
 
char * textBuffer
 
char const int64_t textBufferSize
 
char const int64_t int64_t * actualTextSize
 
int32_t * fontSize
 
int64_t * colorSize
 
char * colorBuffer
 
char const int64_t colorBufferSize
 
char const int64_t int64_t * actualColorSize
 

Detailed Description

Contains C API definitions for "add watermark" label policy action.

Function Documentation

◆ MIP_CC_API()

MIP_CC_API ( mip_cc_result ) const

Gets size of buffer required to store an "add watermark" action's UI element name.

Gets an "add watermark" action's font color (for example, "#000000")

Gets size of buffer required to store an "add watermark" action's font color.

Gets the integer font size.

Gets an "add watermark" action's font name.

Gets size of buffer required to store an "add watermark" action's font name.

Gets an "add watermark" action's text.

Gets size of buffer required to store an "add watermark" action's text.

Gets the watermark layout.

Gets an "add watermark" action's UI element name.

Parameters
action"add watermark" action
nameSize[Output] Size of buffer to hold UI element name (in number of chars)
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
action"add watermark" action
nameBuffer[Output] Buffer the UI element name will be copied into.
nameBufferSizeSize (in number of chars) of the nameBuffer.
actualNameSize[Output] Number of chars written to the buffer
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
If nameBuffer is null or insufficient, MIP_RESULT_ERROR_INSUFFICIENT_BUFFER will be returned and actualNameSize will be set to the minimum required buffer size.
Parameters
action"add watermark" action
layout[Output] Watermark layout
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
action"add watermark" action
textSize[Output] Size of buffer to hold text (in number of chars)
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
action"add watermark" action
textBuffer[Output] Buffer the text will be copied into.
textBufferSizeSize (in number of chars) of the textBuffer.
actualTextSize[Output] Number of chars written to the buffer
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
If textBuffer is null or insufficient, MIP_RESULT_ERROR_INSUFFICIENT_BUFFER will be returned and actualTextSize will be set to the minimum required buffer size.
Parameters
action"add watermark" action
nameSize[Output] Size of buffer to hold font name (in number of chars)
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
action"add watermark" action
nameBuffer[Output] Buffer the font name will be copied into.
nameBufferSizeSize (in number of chars) of the nameBuffer.
actualNameSize[Output] Number of chars written to the buffer
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
If nameBuffer is null or insufficient, MIP_RESULT_ERROR_INSUFFICIENT_BUFFER will be returned and actualNameSize will be set to the minimum required buffer size.
Parameters
action"add watermark" action
fontSize[Output] Font size
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
action"add watermark" action
colorSize[Output] Size of buffer to hold font color (in number of chars)
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Parameters
action"add watermark" action
colorBuffer[Output] Buffer the font color will be copied into.
colorBufferSizeSize (in number of chars) of the colorBuffer.
actualColorSize[Output] Number of chars written to the buffer
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
If colorBuffer is null or insufficient, MIP_RESULT_ERROR_INSUFFICIENT_BUFFER will be returned and actualColorSize will be set to the minimum required buffer size.

Variable Documentation

◆ actualColorSize

char const int64_t int64_t* actualColorSize

◆ actualNameSize

char const int64_t int64_t* actualNameSize

◆ actualTextSize

char const int64_t int64_t* actualTextSize

◆ colorBuffer

char* colorBuffer

◆ colorBufferSize

char const int64_t colorBufferSize

◆ colorSize

int64_t* colorSize

◆ errorInfo

char const int64_t int64_t mip_cc_error* errorInfo

◆ fontSize

int32_t* fontSize

◆ layout

◆ nameBuffer

char* nameBuffer

◆ nameBufferSize

char const int64_t nameBufferSize

◆ nameSize

int64_t* nameSize

◆ textBuffer

char* textBuffer

◆ textBufferSize

char const int64_t textBufferSize

◆ textSize

int64_t* textSize