ReactOS 0.4.15-dev-7934-g1dc8d80
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
7typedef struct tagACT_AUTHZ_STATE {
11
12typedef struct tagSILO_COMMAND {
18
19typedef enum _PDO_TYPE {
24 PDO_TYPE_THIS = 256
26
27typedef enum _PDO_STATE {
32
33typedef enum _PDO_CAPS {
38
39typedef struct _ENUM_PDO_ENTRY {
50
51typedef 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
63DEFINE_GUID(GUID_USBSTOR_EHSTOR_SILO_INTERFACE, 0x7c2bcf57, 0x2bea, 0x46da, 0xad, 0x26, 0x78, 0xfd, 0xc8, 0x3c, 0xee, 0x46);
64DEFINE_GUID(GUID_USBSTOR_EHSTOR_CONTROL_INTERFACE, 0x4f40006f, 0xb933, 0x4550, 0xb5, 0x32, 0x2b, 0x58, 0xce, 0xe6, 0x14, 0xd3);
unsigned char BOOLEAN
_PDO_TYPE
Definition: halpnpdd.c:26
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
Definition: usbstorioctl.h:39
UCHAR type
Definition: usbstorioctl.h:40
UCHAR state
Definition: usbstorioctl.h:41
UCHAR capabilities
Definition: usbstorioctl.h:42
UCHAR bSpecificationMinor
Definition: usbstorioctl.h:45
UCHAR bImplementationMinor
Definition: usbstorioctl.h:47
UCHAR bSpecificationMajor
Definition: usbstorioctl.h:44
UCHAR bImplementationMajor
Definition: usbstorioctl.h:46
ULONG ulSTID
Definition: usbstorioctl.h:43
WCHAR wszDeviceInstancePath[(2 *MAX_PATH)+1]
Definition: usbstorioctl.h:48
ENUM_PDO_ENTRY rgEntries[ANYSIZE_ARRAY]
Definition: usbstorioctl.h:53
ULONG cbCommandBuffer
Definition: usbstorioctl.h:15
UCHAR rgbCommandBuffer[ANYSIZE_ARRAY]
Definition: usbstorioctl.h:16
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
uint32_t ULONG
Definition: typedefs.h:59
struct _ENUM_PDO_ENTRY * PENUM_PDO_ENTRY
struct tagACT_AUTHZ_STATE ACT_AUTHZ_STATE
enum _PDO_TYPE PDO_TYPE
struct tagACT_AUTHZ_STATE * PACT_AUTHZ_STATE
struct tagSILO_COMMAND * PSILO_COMMAND
struct tagSILO_COMMAND SILO_COMMAND
struct _ENUM_PDO_ENTRY ENUM_PDO_ENTRY
enum _PDO_CAPS PDO_CAPS
struct _ENUM_PDO_RESULTS * PENUM_PDO_RESULTS
_PDO_STATE
Definition: usbstorioctl.h:27
@ PDO_STATE_NOT_STARTED
Definition: usbstorioctl.h:30
@ PDO_STATE_STARTED
Definition: usbstorioctl.h:29
@ PDO_STATE_UNDEFINED
Definition: usbstorioctl.h:28
#define MAX_PATH
Definition: usbstorioctl.h:4
enum _PDO_STATE PDO_STATE
_PDO_CAPS
Definition: usbstorioctl.h:33
@ PDO_CAPABILITY_INC512_CLEAR
Definition: usbstorioctl.h:36
@ PDO_CAPABILITY_INC512_SET
Definition: usbstorioctl.h:35
@ PDO_CAPABILITY_UNDEFINED
Definition: usbstorioctl.h:34
@ PDO_TYPE_UNDEFINED
Definition: usbstorioctl.h:20
@ PDO_TYPE_SILO
Definition: usbstorioctl.h:23
@ PDO_TYPE_CONTROL
Definition: usbstorioctl.h:22
@ PDO_TYPE_THIS
Definition: usbstorioctl.h:24
@ PDO_TYPE_DISK
Definition: usbstorioctl.h:21
struct _ENUM_PDO_RESULTS ENUM_PDO_RESULTS
unsigned char UCHAR
Definition: xmlstorage.h:181
__wchar_t WCHAR
Definition: xmlstorage.h:180