Microsoft Information Protection (MIP) SDK for C: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C
Loading...
Searching...
No Matches
license_info_cc.h
Go to the documentation of this file.
1#ifndef API_MIP_LICENSE_INFO_CC_H_
2#define API_MIP_LICENSE_INFO_CC_H_
3
6#include "mip_cc/error_cc.h"
8
10
11/**
12 * @brief Gets the user rights from the license info
13 *
14 * @param licenseInfo The licenseInfo from which to retrieve the user rights
15 * @param rights [Output] The user rights present in the license info as a list of strings
16 * @param errorInfo [Output] (Optional) Failiure info if operation results is failure
17 *
18 * @return Result code indicating success or failure
19 *
20 * @note The returned 'rights' (mip_cc_string_list*) must be freed by
21 * calling MIP_CC_ReleaseStringList
22*/
23MIP_CC_API(mip_cc_result) MIP_CC_LicenseInfo_GetUserRights(
27
28/**
29 * @brief Gets the dynamic watermark
30 *
31 * @param licenseInfo The licenseInfo from which to retrieve the dynamic watermark
32 * @param dynamicWatermark [Output] The dynamic watermark in the licenseInfo (null if not present)
33 * @param errorInfo [Output] (Optional) Failiure info if operation results is failure
34 *
35 * @return Result code indicating success or failure
36 *
37 * @note The returned 'dynamicWatermark' (mip_cc_dynamic_watermark*) must be freed
38 * calling MIP_CC_ReleaseDynamicWatermark
39*/
40MIP_CC_API(mip_cc_result) MIP_CC_LicenseInfo_GetDynamicWatermark(
44
45/**
46 * @brief Function to release a license info handle
47 * @param licenseInfo the license info being released
48*/
49MIP_CC_API(void) MIP_CC_ReleaseLicenseInfo(mip_cc_license_info licenseInfo);
50
51#endif
A file Containing the common types used by the upe, file and protection modules.
Error definition and functions.
mip_cc_dynamic_watermark * dynamicWatermark
mip_cc_string_list mip_cc_error * errorInfo
MIP_CC_API(void) MIP_CC_ReleaseLicenseInfo(mip_cc_license_info licenseInfo)
Function to release a license info handle.
mip_cc_handle * mip_cc_license_info
mip_cc_string_list * rights
const void const char const char const char const char mip_cc_license_info * licenseInfo
mip_cc_result
API success/failure result.
Definition result_cc.h:44
Contains C API definitions for common string list.
Error information.
Definition error_cc.h:79
Opaque handle to MIP object.