bdaiface_enums.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. #include <winapifamily.h>
  8. #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
  9. typedef
  10. #ifdef __WIDL__
  11. [v1_enum]
  12. #endif
  13. enum SmartCardStatusType {
  14. CardInserted = 0,
  15. CardRemoved,
  16. CardError,
  17. CardDataChanged,
  18. CardFirmwareUpgrade
  19. } SmartCardStatusType;
  20. typedef
  21. #ifdef __WIDL__
  22. [v1_enum]
  23. #endif
  24. enum SmartCardAssociationType {
  25. NotAssociated = 0,
  26. Associated,
  27. AssociationUnknown
  28. } SmartCardAssociationType;
  29. typedef
  30. #ifdef __WIDL__
  31. [v1_enum]
  32. #endif
  33. enum LocationCodeSchemeType {
  34. SCTE_18 = 0
  35. } LocationCodeSchemeType;
  36. typedef
  37. #ifdef __WIDL__
  38. [v1_enum]
  39. #endif
  40. enum EntitlementType {
  41. Entitled = 0,
  42. NotEntitled,
  43. TechnicalFailure
  44. } EntitlementType;
  45. typedef
  46. #ifdef __WIDL__
  47. [v1_enum]
  48. #endif
  49. enum UICloseReasonType {
  50. NotReady = 0,
  51. UserClosed,
  52. SystemClosed,
  53. DeviceClosed,
  54. ErrorClosed
  55. } UICloseReasonType;
  56. typedef
  57. #ifdef __WIDL__
  58. [v1_enum]
  59. #endif
  60. enum BDA_DrmPairingError {
  61. BDA_DrmPairing_Succeeded = 0,
  62. BDA_DrmPairing_HardwareFailure,
  63. BDA_DrmPairing_NeedRevocationData,
  64. BDA_DrmPairing_NeedIndiv,
  65. BDA_DrmPairing_Other,
  66. BDA_DrmPairing_DrmInitFailed,
  67. BDA_DrmPairing_DrmNotPaired,
  68. BDA_DrmPairing_DrmRePairSoon,
  69. BDA_DrmPairing_Aborted,
  70. BDA_DrmPairing_NeedSDKUpdate
  71. } BDA_DrmPairingError;
  72. typedef struct EALocationCodeType {
  73. LocationCodeSchemeType LocationCodeScheme;
  74. BYTE state_code;
  75. BYTE county_subdivision;
  76. WORD county_code;
  77. } EALocationCodeType;
  78. typedef struct SmartCardApplication {
  79. ApplicationTypeType ApplicationType;
  80. USHORT ApplicationVersion;
  81. BSTR pbstrApplicationName;
  82. BSTR pbstrApplicationURL;
  83. } SmartCardApplication;
  84. #endif
  85. #endif