ReactOS  0.4.15-dev-506-ga3ec01c
usbstorioctl.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef MAX_PATH
4 #define MAX_PATH 260
5 #endif
6 
7 typedef struct tagACT_AUTHZ_STATE {
11 
12 typedef struct tagSILO_COMMAND {
18 
19 typedef enum _PDO_TYPE {
25 } PDO_TYPE;
26 
27 typedef enum _PDO_STATE {
31 } PDO_STATE;
32 
33 typedef enum _PDO_CAPS {
37 } PDO_CAPS;
38 
39 typedef struct _ENUM_PDO_ENTRY {
50 
51 typedef struct _ENUM_PDO_RESULTS {
55 
56 #define SIZE_ENUM_PDO_RESULTS_HEADER (sizeof(ENUM_PDO_RESULTS) - sizeof(ENUM_PDO_ENTRY))
57 
58 #define IOCTL_EHSTOR_DEVICE_SET_AUTHZ_STATE CTL_CODE(IOCTL_STORAGE_BASE, 0x501, METHOD_BUFFERED, FILE_ANY_ACCESS)
59 #define IOCTL_EHSTOR_DEVICE_GET_AUTHZ_STATE CTL_CODE(IOCTL_STORAGE_BASE, 0x502, METHOD_BUFFERED, FILE_ANY_ACCESS)
60 #define IOCTL_EHSTOR_DEVICE_SILO_COMMAND CTL_CODE(IOCTL_STORAGE_BASE, 0x503, METHOD_BUFFERED, FILE_ANY_ACCESS)
61 #define IOCTL_EHSTOR_DEVICE_ENUMERATE_PDOS CTL_CODE(IOCTL_STORAGE_BASE, 0x504, METHOD_BUFFERED, FILE_ANY_ACCESS)
62 
63 DEFINE_GUID(GUID_USBSTOR_EHSTOR_SILO_INTERFACE, 0x7c2bcf57, 0x2bea, 0x46da, 0xad, 0x26, 0x78, 0xfd, 0xc8, 0x3c, 0xee, 0x46);
64 DEFINE_GUID(GUID_USBSTOR_EHSTOR_CONTROL_INTERFACE, 0x4f40006f, 0xb933, 0x4550, 0xb5, 0x32, 0x2b, 0x58, 0xce, 0xe6, 0x14, 0xd3);
struct _ENUM_PDO_ENTRY * PENUM_PDO_ENTRY
UCHAR type
Definition: usbstorioctl.h:40
struct tagSILO_COMMAND SILO_COMMAND
UCHAR bSpecificationMinor
Definition: usbstorioctl.h:45
struct tagACT_AUTHZ_STATE * PACT_AUTHZ_STATE
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
struct tagSILO_COMMAND * PSILO_COMMAND
_PDO_STATE
Definition: usbstorioctl.h:27
_PDO_TYPE
Definition: halpnpdd.c:21
enum _PDO_CAPS PDO_CAPS
ULONG ulSTID
Definition: usbstorioctl.h:43
enum _PDO_TYPE PDO_TYPE
struct _ENUM_PDO_RESULTS * PENUM_PDO_RESULTS
UCHAR rgbCommandBuffer[ANYSIZE_ARRAY]
Definition: usbstorioctl.h:16
WCHAR wszDeviceInstancePath[(2 *MAX_PATH)+1]
Definition: usbstorioctl.h:48
_PDO_CAPS
Definition: usbstorioctl.h:33
unsigned char BOOLEAN
UCHAR capabilities
Definition: usbstorioctl.h:42
DEFINE_GUID(GUID_USBSTOR_EHSTOR_SILO_INTERFACE, 0x7c2bcf57, 0x2bea, 0x46da, 0xad, 0x26, 0x78, 0xfd, 0xc8, 0x3c, 0xee, 0x46)
struct tagACT_AUTHZ_STATE ACT_AUTHZ_STATE
Definition: usbstorioctl.h:39
ULONG cbCommandBuffer
Definition: usbstorioctl.h:15
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned char UCHAR
Definition: xmlstorage.h:181
UCHAR state
Definition: usbstorioctl.h:41
#define MAX_PATH
Definition: usbstorioctl.h:4
UCHAR bSpecificationMajor
Definition: usbstorioctl.h:44
UCHAR bImplementationMajor
Definition: usbstorioctl.h:46
UCHAR bImplementationMinor
Definition: usbstorioctl.h:47
unsigned int ULONG
Definition: retypes.h:1
enum _PDO_STATE PDO_STATE
struct _ENUM_PDO_ENTRY ENUM_PDO_ENTRY
ENUM_PDO_ENTRY rgEntries[ANYSIZE_ARRAY]
Definition: usbstorioctl.h:53
struct _ENUM_PDO_RESULTS ENUM_PDO_RESULTS