Microsoft Information Protection SDK - C 1.17
API Reference Documentation for C
Loading...
Searching...
No Matches
template_descriptor_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 */
27
34#ifndef API_MIP_PROTECTION_TEMPLATE_DESCRIPTOR_CC_H_
35#define API_MIP_PROTECTION_TEMPLATE_DESCRIPTOR_CC_H_
36
38#include "mip_cc/error_cc.h"
40#include "mip_cc/result_cc.h"
41
43
53MIP_CC_API(mip_cc_result) MIP_CC_TemplateDescriptor_GetId(
57
67MIP_CC_API(mip_cc_result) MIP_CC_TemplateDescriptor_GetNameSize(
68 const mip_cc_template_descriptor templateDescriptor,
69 int64_t* nameSize,
71
86MIP_CC_API(mip_cc_result) MIP_CC_TemplateDescriptor_GetName(
87 const mip_cc_template_descriptor templateDescriptor,
89 const int64_t nameBufferSize,
92
102MIP_CC_API(mip_cc_result) MIP_CC_TemplateDescriptor_GetDescriptionSize(
103 const mip_cc_template_descriptor templateDescriptor,
106
121MIP_CC_API(mip_cc_result) MIP_CC_TemplateDescriptor_GetDescription(
122 const mip_cc_template_descriptor templateDescriptor,
123 char* nameBuffer,
124 const int64_t nameBufferSize,
125 int64_t* actualNameSize,
127
133MIP_CC_API(void) MIP_CC_ReleaseTemplateDescriptor(mip_cc_template_descriptor templateDescriptor);
134
135#endif // API_MIP_PROTECTION_TEMPLATE_DESCRIPTOR_CC_H_
A file Containing the common types used by the upe, file and protection modules.
Error definition and functions.
Export/import and other macros for C API.
mip_cc_protection_descriptor * protectionDescriptor
Definition protection_descriptor_builder_cc.h:154
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
int64_t * nameSize
Definition template_descriptor_cc.h:69
char const int64_t int64_t * actualNameSize
Definition template_descriptor_cc.h:90
char * nameBuffer
Definition template_descriptor_cc.h:88
MIP_CC_API(void) MIP_CC_ReleaseTemplateDescriptor(mip_cc_template_descriptor templateDescriptor)
Release resources associated with a template descriptor.
int64_t * descriptionSize
Definition template_descriptor_cc.h:104
mip_cc_guid mip_cc_error * errorInfo
Definition template_descriptor_cc.h:56
char const int64_t nameBufferSize
Definition template_descriptor_cc.h:89
mip_cc_handle * mip_cc_template_descriptor
Definition template_descriptor_cc.h:42
mip_cc_guid * templateId
Definition template_descriptor_cc.h:55