Microsoft Information Protection SDK - C 1.17
API Reference Documentation for C
Loading...
Searching...
No Matches
label_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_LABEL_CC_H_
34#define API_MIP_UPE_LABEL_CC_H_
35
38#include "mip_cc/error_cc.h"
40#include "mip_cc/result_cc.h"
41
43
49MIP_CC_API(void) MIP_CC_ReleaseLabel(mip_cc_label label);
50
60MIP_CC_API(mip_cc_result) MIP_CC_Label_GetId(
61 const mip_cc_label label,
64
74MIP_CC_API(mip_cc_result) MIP_CC_Label_GetNameSize(
75 const mip_cc_label label,
76 int64_t* nameSize,
78
93MIP_CC_API(mip_cc_result) MIP_CC_Label_GetName(
94 const mip_cc_label label,
96 const int64_t nameBufferSize,
99
109MIP_CC_API(mip_cc_result) MIP_CC_Label_GetDescriptionSize(
110 const mip_cc_label label,
113
128MIP_CC_API(mip_cc_result) MIP_CC_Label_GetDescription(
129 const mip_cc_label label,
134
144MIP_CC_API(mip_cc_result) MIP_CC_Label_GetColorSize(
145 const mip_cc_label label,
146 int64_t* colorSize,
148
163MIP_CC_API(mip_cc_result) MIP_CC_Label_GetColor(
164 const mip_cc_label label,
166 const int64_t colorBufferSize,
169
179MIP_CC_API(mip_cc_result) MIP_CC_Label_GetSensitivity(
180 const mip_cc_label label,
181 int32_t* sensitivity,
183
193MIP_CC_API(mip_cc_result) MIP_CC_Label_GetTooltipSize(
194 const mip_cc_label label,
195 int64_t* tooltipSize,
197
212MIP_CC_API(mip_cc_result) MIP_CC_Label_GetTooltip(
213 const mip_cc_label label,
215 const int64_t tooltipBufferSize,
218
228MIP_CC_API(mip_cc_result) MIP_CC_Label_GetAutoTooltipSize(
229 const mip_cc_label label,
230 int64_t* tooltipSize,
232
247MIP_CC_API(mip_cc_result) MIP_CC_Label_GetAutoTooltip(
248 const mip_cc_label label,
249 char* tooltipBuffer,
250 const int64_t tooltipBufferSize,
251 int64_t* actualTooltipSize,
253
265MIP_CC_API(mip_cc_result) MIP_CC_Label_IsActive(
266 const mip_cc_label label,
267 bool* isActive,
269
279MIP_CC_API(mip_cc_result) MIP_CC_Label_GetParent(
280 const mip_cc_label label,
283
293MIP_CC_API(mip_cc_result) MIP_CC_Label_GetChildrenSize(
294 const mip_cc_label label,
295 int64_t* childrenSize,
297
313MIP_CC_API(mip_cc_result) MIP_CC_Label_GetChildren(
314 const mip_cc_label label,
316 const int64_t childrenBufferSize,
319
331MIP_CC_API(mip_cc_result) MIP_CC_Label_GetCustomSettings(
332 const mip_cc_label label,
335
336#endif // API_MIP_UPE_LABEL_CC_H_
A file Containing the common types used by the upe, file and protection modules.
mip_cc_label * label
Definition content_label_cc.h:123
Contains C API definitions for common string dictionary.
Error definition and functions.
mip_cc_label const int64_t int64_t * actualChildrenSize
Definition label_cc.h:317
char const int64_t int64_t * actualColorSize
Definition label_cc.h:167
char * descriptionBuffer
Definition label_cc.h:130
int64_t * nameSize
Definition label_cc.h:76
char * tooltipBuffer
Definition label_cc.h:214
mip_cc_dictionary * settings
Definition label_cc.h:333
int64_t * colorSize
Definition label_cc.h:146
mip_cc_handle * mip_cc_label
Definition label_cc.h:42
int32_t * sensitivity
Definition label_cc.h:181
mip_cc_label * childrenBuffer
Definition label_cc.h:315
char const int64_t tooltipBufferSize
Definition label_cc.h:215
char const int64_t int64_t * actualNameSize
Definition label_cc.h:97
int64_t * descriptionSize
Definition label_cc.h:111
mip_cc_guid * labelId
Definition label_cc.h:62
mip_cc_label const int64_t childrenBufferSize
Definition label_cc.h:316
char * colorBuffer
Definition label_cc.h:165
int64_t * childrenSize
Definition label_cc.h:295
char const int64_t nameBufferSize
Definition label_cc.h:96
char const int64_t int64_t * actualDescriptionSize
Definition label_cc.h:132
int64_t * tooltipSize
Definition label_cc.h:195
mip_cc_label * parent
Definition label_cc.h:281
char const int64_t colorBufferSize
Definition label_cc.h:166
char const int64_t descriptionBufferSize
Definition label_cc.h:131
mip_cc_guid mip_cc_error * errorInfo
Definition label_cc.h:63
bool * isActive
Definition label_cc.h:267
char const int64_t int64_t * actualTooltipSize
Definition label_cc.h:216
char * nameBuffer
Definition label_cc.h:95
MIP_CC_API(void) MIP_CC_ReleaseLabel(mip_cc_label label)
Release resources associated with a label.
Export/import and other macros for C API.
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