| /*** Autogenerated by WIDL 10.4 from include/vdslun.idl - Do not edit ***/ |
| |
| #ifdef _WIN32 |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| #endif |
| #include <rpc.h> |
| #include <rpcndr.h> |
| #endif |
| |
| #ifndef COM_NO_WINDOWS_H |
| #include <windows.h> |
| #include <ole2.h> |
| #endif |
| |
| #ifndef __vdslun_h__ |
| #define __vdslun_h__ |
| |
| /* Forward declarations */ |
| |
| /* Headers for imported files */ |
| |
| #include <oaidl.h> |
| #include <ocidl.h> |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| #include <winapifamily.h> |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| typedef enum _VDS_STORAGE_IDENTIFIER_CODE_SET { |
| VDSStorageIdCodeSetReserved = 0, |
| VDSStorageIdCodeSetBinary = 1, |
| VDSStorageIdCodeSetAscii = 2, |
| VDSStorageIdCodeSetUtf8 = 3 |
| } VDS_STORAGE_IDENTIFIER_CODE_SET; |
| typedef enum _VDS_STORAGE_IDENTIFIER_TYPE { |
| VDSStorageIdTypeVendorSpecific = 0, |
| VDSStorageIdTypeVendorId = 1, |
| VDSStorageIdTypeEUI64 = 2, |
| VDSStorageIdTypeFCPHName = 3, |
| VDSStorageIdTypePortRelative = 4, |
| VDSStorageIdTypeTargetPortGroup = 5, |
| VDSStorageIdTypeLogicalUnitGroup = 6, |
| VDSStorageIdTypeMD5LogicalUnitIdentifier = 7, |
| VDSStorageIdTypeScsiNameString = 8 |
| } VDS_STORAGE_IDENTIFIER_TYPE; |
| typedef enum _VDS_STORAGE_BUS_TYPE { |
| VDSBusTypeUnknown = 0x0, |
| VDSBusTypeScsi = 0x1, |
| VDSBusTypeAtapi = 0x2, |
| VDSBusTypeAta = 0x3, |
| VDSBusType1394 = 0x4, |
| VDSBusTypeSsa = 0x5, |
| VDSBusTypeFibre = 0x6, |
| VDSBusTypeUsb = 0x7, |
| VDSBusTypeRAID = 0x8, |
| VDSBusTypeiScsi = 0x9, |
| VDSBusTypeSas = 0xa, |
| VDSBusTypeSata = 0xb, |
| VDSBusTypeSd = 0xc, |
| VDSBusTypeMmc = 0xd, |
| VDSBusTypeMax = 0xe, |
| VDSBusTypeVirtual = 0xe, |
| VDSBusTypeFileBackedVirtual = 0xf, |
| VDSBusTypeSpaces = 0x10, |
| VDSBusTypeNVMe = 0x11, |
| VDSBusTypeScm = 0x12, |
| VDSBusTypeUfs = 0x13, |
| VDSBusTypeMaxReserved = 0x7f |
| } VDS_STORAGE_BUS_TYPE; |
| typedef struct _VDS_STORAGE_IDENTIFIER { |
| VDS_STORAGE_IDENTIFIER_CODE_SET m_CodeSet; |
| VDS_STORAGE_IDENTIFIER_TYPE m_Type; |
| ULONG m_cbIdentifier; |
| BYTE *m_rgbIdentifier; |
| } VDS_STORAGE_IDENTIFIER; |
| typedef struct _VDS_STORAGE_DEVICE_ID_DESCRIPTOR { |
| ULONG m_version; |
| ULONG m_cIdentifiers; |
| VDS_STORAGE_IDENTIFIER *m_rgIdentifiers; |
| } VDS_STORAGE_DEVICE_ID_DESCRIPTOR; |
| typedef enum _VDS_INTERCONNECT_ADDRESS_TYPE { |
| VDS_IA_UNKNOWN = 0, |
| VDS_IA_FCFS = 1, |
| VDS_IA_FCPH = 2, |
| VDS_IA_FCPH3 = 3, |
| VDS_IA_MAC = 4, |
| VDS_IA_SCSI = 5 |
| } VDS_INTERCONNECT_ADDRESS_TYPE; |
| typedef struct _VDS_INTERCONNECT { |
| VDS_INTERCONNECT_ADDRESS_TYPE m_addressType; |
| ULONG m_cbPort; |
| BYTE *m_pbPort; |
| ULONG m_cbAddress; |
| BYTE *m_pbAddress; |
| } VDS_INTERCONNECT; |
| typedef struct _VDS_LUN_INFORMATION { |
| ULONG m_version; |
| BYTE m_DeviceType; |
| BYTE m_DeviceTypeModifier; |
| WINBOOL m_bCommandQueueing; |
| VDS_STORAGE_BUS_TYPE m_BusType; |
| char *m_szVendorId; |
| char *m_szProductId; |
| char *m_szProductRevision; |
| char *m_szSerialNumber; |
| GUID m_diskSignature; |
| VDS_STORAGE_DEVICE_ID_DESCRIPTOR m_deviceIdDescriptor; |
| ULONG m_cInterconnects; |
| VDS_INTERCONNECT *m_rgInterconnects; |
| } VDS_LUN_INFORMATION; |
| #define VER_VDS_LUN_INFORMATION (1) |
| |
| #endif /* WINAPI_PARTITION_DESKTOP */ |
| /* Begin additional prototypes for all interfaces */ |
| |
| |
| /* End additional prototypes */ |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* __vdslun_h__ */ |