aboutsummaryrefslogtreecommitdiff
path: root/x86_64-w64-mingw32/include/bdaiface_enums.h
blob: 9a262e0d759275f0f8fda2f2043ff2e1aae5c8f0 (plain)
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
/**
 * This file is part of the mingw-w64 runtime package.
 * No warranty is given; refer to the file DISCLAIMER within this package.
 */
#ifndef BDAIFACE_ENUMS_H
#define BDAIFACE_ENUMS_H

#include <winapifamily.h>

#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)

typedef
#ifdef __WIDL__
  [v1_enum]
#endif
  enum SmartCardStatusType {
  CardInserted = 0,
  CardRemoved,
  CardError,
  CardDataChanged,
  CardFirmwareUpgrade
} SmartCardStatusType;

typedef
#ifdef __WIDL__
  [v1_enum]
#endif
 enum SmartCardAssociationType {
  NotAssociated = 0,
  Associated,
  AssociationUnknown
} SmartCardAssociationType;

typedef
#ifdef __WIDL__
  [v1_enum]
#endif
 enum LocationCodeSchemeType {
  SCTE_18 = 0
} LocationCodeSchemeType;

typedef
#ifdef __WIDL__
  [v1_enum]
#endif
  enum EntitlementType {
  Entitled = 0,
  NotEntitled,
  TechnicalFailure
} EntitlementType;

typedef
#ifdef __WIDL__
  [v1_enum]
#endif
  enum UICloseReasonType {
  NotReady = 0,
  UserClosed,
  SystemClosed,
  DeviceClosed,
  ErrorClosed
} UICloseReasonType;

typedef
#ifdef __WIDL__
  [v1_enum]
#endif
  enum BDA_DrmPairingError {
  BDA_DrmPairing_Succeeded = 0,
  BDA_DrmPairing_HardwareFailure,
  BDA_DrmPairing_NeedRevocationData,
  BDA_DrmPairing_NeedIndiv,
  BDA_DrmPairing_Other,
  BDA_DrmPairing_DrmInitFailed,
  BDA_DrmPairing_DrmNotPaired,
  BDA_DrmPairing_DrmRePairSoon,
  BDA_DrmPairing_Aborted,
  BDA_DrmPairing_NeedSDKUpdate
} BDA_DrmPairingError;

typedef struct EALocationCodeType {
  LocationCodeSchemeType LocationCodeScheme;
  BYTE state_code;
  BYTE county_subdivision;
  WORD county_code;
} EALocationCodeType;

typedef struct SmartCardApplication {
  ApplicationTypeType ApplicationType;
  USHORT ApplicationVersion;
  BSTR pbstrApplicationName;
  BSTR pbstrApplicationURL;
} SmartCardApplication;

#endif
#endif