/usr/i686-w64-mingw32/include/msdrmdefs.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_MSDRMDEFS
#define _INC_MSDRMDEFS
typedef ULONG DRMHANDLE;
typedef ULONG DRMPUBHANDLE;
typedef ULONG DRMHSESSION;
typedef ULONG DRMENVHANDLE;
typedef ULONG DRMQUERYHANDLE;
typedef enum _DRM_STATUS_MSG {
DRM_MSG_ACTIVATE_MACHINE = 0,
DRM_MSG_ACTIVATE_GROUPIDENTITY,
DRM_MSG_ACQUIRE_LICENSE,
DRM_MSG_ACQUIRE_ISSUANCE_LICENSE_TEMPLATE,
DRM_MSG_ACQUIRE_ADVISORY,
DRM_MSG_SIGN_ISSUANCE_LICENSE,
DRM_MSG_ACQUIRE_CLIENTLICENSOR
} DRM_STATUS_MSG;
typedef enum _DRMGLOBALOPTIONS {
DRMGLOBALOPTIONS_USE_WINHTTP = 0x00,
DRMGLOBALOPTIONS_USE_SERVERSECURITYPROCESSOR = 0x01
} DRMGLOBALOPTIONS;
typedef enum _DRM_DISTRIBUTION_POINT_INFO {
DRM_DISTRIBUTION_POINT_LICENSE_ACQUISITION = 0,
DRM_DISTRIBUTION_POINT_PUBLISHING,
DRM_DISTRIBUTION_POINT_REFERRAL_INFO
} DRM_DISTRIBUTION_POINT_INFO;
typedef enum _DRM_USAGEPOLICY_TYPE {
DRM_USAGEPOLICY_TYPE_BYNAME = 0,
DRM_USAGEPOLICY_TYPE_BYPUBLICKEY,
DRM_USAGEPOLICY_TYPE_BYDIGEST,
DRM_USAGEPOLICY_TYPE_OSEXCLUSION
} DRM_USAGEPOLICY_TYPE;
typedef enum _DRMATTESTTYPE {
DRMATTESTTYPE_FULLENVIRONMENT = 0,
DRMATTESTTYPE_HASHONLY
} DRMATTESTTYPE;
typedef enum _DRMENCODINGTYPE {
DRMENCODINGTYPE_BASE64 = 0,
DRMENCODINGTYPE_STRING,
DRMENCODINGTYPE_LONG,
DRMENCODINGTYPE_TIME,
DRMENCODINGTYPE_UINT,
DRMENCODINGTYPE_RAW
} DRMENCODINGTYPE;
typedef enum _DRMSECURITYPROVIDERTYPE {
DRMSECURITYPROVIDERTYPE_SOFTWARESECREP = 0
} DRMSECURITYPROVIDERTYPE;
typedef enum _DRMSPECTYPE {
DRMSPECTYPE_UNKNOWN,
DRMSPECTYPE_FILENAME
} DRMSPECTYPE;
typedef enum _DRMTIMETYPE {
DRMTIMETYPE_SYSTEMUTC = 0,
DRMTIMETYPE_SYSTEMLOCAL
} DRMTIMETYPE;
typedef struct _DRM_ACTSERV_INFO {
UINT uVersion;
PWSTR wszPubKey;
PWSTR wszURL;
} DRM_ACTSERV_INFO;
typedef struct _DRM_CLIENT_VERSION_INFO {
UINT uStructVersion;
DWORD dwVersion[4];
WCHAR wszHierarchy[256];
WCHAR wszProductID[256];
WCHAR wszProductDescription[256];
} DRM_CLIENT_VERSION_INFO;
typedef struct _DRMID {
UINT uVersion;
WCHAR *wszIDType;
WCHAR *wszID;
} DRMID;
typedef struct _DRMBOUNDLICENSEPARAMS {
UINT uVersion;
DRMHANDLE hEnablingPrincipal;
DRMHANDLE hSecureStore;
PWSTR wszRightsRequested;
PWSTR wszRightsGroup;
DRMID idResource;
UINT cAuthenticatorCount;
DRMHANDLE *rghAuthenticators;
PWSTR wszDefaultEnablingPrincipalCredentials;
DWORD dwFlags;
} DRMBOUNDLICENSEPARAMS;
typedef HRESULT (__stdcall *DRMCALLBACK)(
DRM_STATUS_MSG msg,
HRESULT hr,
VOID *pvParam,
VOID *pvContext
);
#endif /*_INC_MSDRMDEFS*/
|