source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/bdaiface_enums.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.8 KB
RevLine 
[1166]1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5#ifndef BDAIFACE_ENUMS_H
6#define BDAIFACE_ENUMS_H
7
8#include <winapifamily.h>
9
10#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
11
12typedef
13#ifdef __WIDL__
14 [v1_enum]
15#endif
16 enum SmartCardStatusType {
17 CardInserted = 0,
18 CardRemoved,
19 CardError,
20 CardDataChanged,
21 CardFirmwareUpgrade
22} SmartCardStatusType;
23
24typedef
25#ifdef __WIDL__
26 [v1_enum]
27#endif
28 enum SmartCardAssociationType {
29 NotAssociated = 0,
30 Associated,
31 AssociationUnknown
32} SmartCardAssociationType;
33
34typedef
35#ifdef __WIDL__
36 [v1_enum]
37#endif
38 enum LocationCodeSchemeType {
39 SCTE_18 = 0
40} LocationCodeSchemeType;
41
42typedef
43#ifdef __WIDL__
44 [v1_enum]
45#endif
46 enum EntitlementType {
47 Entitled = 0,
48 NotEntitled,
49 TechnicalFailure
50} EntitlementType;
51
52typedef
53#ifdef __WIDL__
54 [v1_enum]
55#endif
56 enum UICloseReasonType {
57 NotReady = 0,
58 UserClosed,
59 SystemClosed,
60 DeviceClosed,
61 ErrorClosed
62} UICloseReasonType;
63
64typedef
65#ifdef __WIDL__
66 [v1_enum]
67#endif
68 enum BDA_DrmPairingError {
69 BDA_DrmPairing_Succeeded = 0,
70 BDA_DrmPairing_HardwareFailure,
71 BDA_DrmPairing_NeedRevocationData,
72 BDA_DrmPairing_NeedIndiv,
73 BDA_DrmPairing_Other,
74 BDA_DrmPairing_DrmInitFailed,
75 BDA_DrmPairing_DrmNotPaired,
76 BDA_DrmPairing_DrmRePairSoon,
77 BDA_DrmPairing_Aborted,
78 BDA_DrmPairing_NeedSDKUpdate
79} BDA_DrmPairingError;
80
81typedef struct EALocationCodeType {
82 LocationCodeSchemeType LocationCodeScheme;
83 BYTE state_code;
84 BYTE county_subdivision;
85 WORD county_code;
86} EALocationCodeType;
87
88typedef struct SmartCardApplication {
89 ApplicationTypeType ApplicationType;
90 USHORT ApplicationVersion;
91 BSTR pbstrApplicationName;
92 BSTR pbstrApplicationURL;
93} SmartCardApplication;
94
95#endif
96#endif
Note: See TracBrowser for help on using the repository browser.