Microsoft Information Protection SDK - C 1.17
API Reference Documentation for C
Loading...
Searching...
No Matches
action_cc.h
Go to the documentation of this file.
1/*
2*
3* Copyright (c) Microsoft Corporation.
4* All rights reserved.
5*
6* This code is licensed under the MIT License.
7*
8* Permission is hereby granted, free of charge, to any person obtaining a copy
9* of this software and associated documentation files(the "Software"), to deal
10* in the Software without restriction, including without limitation the rights
11* to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12* copies of the Software, and to permit persons to whom the Software is
13* furnished to do so, subject to the following conditions :
14*
15* The above copyright notice and this permission notice shall be included in
16* all copies or substantial portions of the Software.
17*
18* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24* THE SOFTWARE.
25*
26*/
33#ifndef API_MIP_UPE_ACTION_CC_H_
34#define API_MIP_UPE_ACTION_CC_H_
35
37#include "mip_cc/error_cc.h"
38#include "mip_cc/result_cc.h"
39
41
66
76MIP_CC_API(mip_cc_result) MIP_CC_Action_GetType(
77 const mip_cc_action action,
80
90MIP_CC_API(mip_cc_result) MIP_CC_Action_GetId(
91 const mip_cc_action action,
94
95#endif // API_MIP_UPE_ACTION_CC_H_
mip_cc_action_type
Action type bit mask.
Definition action_cc.h:45
@ MIP_ACTION_TYPE_ADD_CONTENT_HEADER
Definition action_cc.h:47
@ MIP_ACTION_TYPE_JUSTIFY
Definition action_cc.h:50
@ MIP_ACTION_TYPE_REMOVE_CONTENT_HEADER
Definition action_cc.h:56
@ MIP_ACTION_TYPE_RECOMMEND_LABEL
Definition action_cc.h:60
@ MIP_ACTION_TYPE_ADD_CONTENT_FOOTER
Definition action_cc.h:46
@ MIP_ACTION_TYPE_REMOVE_CONTENT_FOOTER
Definition action_cc.h:55
@ MIP_ACTION_TYPE_PROTECT_BY_TEMPLATE
Definition action_cc.h:53
@ MIP_ACTION_TYPE_PROTECT_DO_NOT_FORWARD
Definition action_cc.h:54
@ MIP_ACTION_TYPE_ADD_WATERMARK
Definition action_cc.h:48
@ MIP_ACTION_TYPE_METADATA
Definition action_cc.h:51
@ MIP_ACTION_TYPE_REMOVE_PROTECTION
Definition action_cc.h:57
@ MIP_ACTION_TYPE_PROTECT_ADHOC
Definition action_cc.h:52
@ MIP_ACTION_TYPE_PROTECT_BY_ENCRYPT_ONLY
Definition action_cc.h:64
@ MIP_ACTION_TYPE_REMOVE_WATERMARK
Definition action_cc.h:58
@ MIP_ACTION_TYPE_CUSTOM
Definition action_cc.h:49
@ MIP_ACTION_TYPE_PROTECT_DO_NOT_FORWARD_DK
Definition action_cc.h:63
@ MIP_ACTION_TYPE_APPLY_LABEL
Definition action_cc.h:59
@ MIP_ACTION_TYPE_PROTECT_ADHOC_DK
Definition action_cc.h:61
mip_cc_action_type mip_cc_error * errorInfo
Definition action_cc.h:79
mip_cc_action_type * actionType
Definition action_cc.h:78
mip_cc_handle * mip_cc_action
Definition action_cc.h:40
A file Containing the common types used by the upe, file and protection modules.
MIP_CC_API(void) MIP_CC_ReleaseDictionary(mip_cc_dictionary dictionary)
Release resources associated with a dictionary.
Error definition and functions.
Defines success/error result codes.
mip_cc_result
API success/failure result.
Definition result_cc.h:44
Error information.
Definition error_cc.h:79
GUID.
Definition common_types_cc.h:52
Opaque handle to MIP object.
Definition common_types_cc.h:44