ReactOS  0.4.14-dev-1233-gf5658fd
usbstorioctl.h File Reference

Go to the source code of this file.

Classes

struct  tagACT_AUTHZ_STATE
 
struct  tagSILO_COMMAND
 
struct  _ENUM_PDO_ENTRY
 
struct  _ENUM_PDO_RESULTS
 

Macros

#define MAX_PATH   260
 
#define SIZE_ENUM_PDO_RESULTS_HEADER   (sizeof(ENUM_PDO_RESULTS) - sizeof(ENUM_PDO_ENTRY))
 
#define IOCTL_EHSTOR_DEVICE_SET_AUTHZ_STATE   CTL_CODE(IOCTL_STORAGE_BASE, 0x501, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_EHSTOR_DEVICE_GET_AUTHZ_STATE   CTL_CODE(IOCTL_STORAGE_BASE, 0x502, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_EHSTOR_DEVICE_SILO_COMMAND   CTL_CODE(IOCTL_STORAGE_BASE, 0x503, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_EHSTOR_DEVICE_ENUMERATE_PDOS   CTL_CODE(IOCTL_STORAGE_BASE, 0x504, METHOD_BUFFERED, FILE_ANY_ACCESS)
 

Typedefs

typedef struct tagACT_AUTHZ_STATE ACT_AUTHZ_STATE
 
typedef struct tagACT_AUTHZ_STATEPACT_AUTHZ_STATE
 
typedef struct tagSILO_COMMAND SILO_COMMAND
 
typedef struct tagSILO_COMMANDPSILO_COMMAND
 
typedef enum _PDO_TYPE PDO_TYPE
 
typedef enum _PDO_STATE PDO_STATE
 
typedef enum _PDO_CAPS PDO_CAPS
 
typedef struct _ENUM_PDO_ENTRY ENUM_PDO_ENTRY
 
typedef struct _ENUM_PDO_ENTRYPENUM_PDO_ENTRY
 
typedef struct _ENUM_PDO_RESULTS ENUM_PDO_RESULTS
 
typedef struct _ENUM_PDO_RESULTSPENUM_PDO_RESULTS
 

Enumerations

enum  _PDO_TYPE {
  AcpiPdo = 0x80, WdPdo, AcpiPdo = 0x80, WdPdo,
  PDO_TYPE_UNDEFINED = 0, PDO_TYPE_DISK, PDO_TYPE_CONTROL, PDO_TYPE_SILO,
  PDO_TYPE_THIS = 256
}
 
enum  _PDO_STATE { PDO_STATE_UNDEFINED = 0, PDO_STATE_STARTED, PDO_STATE_NOT_STARTED }
 
enum  _PDO_CAPS { PDO_CAPABILITY_UNDEFINED = 0, PDO_CAPABILITY_INC512_SET = 1, PDO_CAPABILITY_INC512_CLEAR = 2 }
 

Functions

 DEFINE_GUID (GUID_USBSTOR_EHSTOR_SILO_INTERFACE, 0x7c2bcf57, 0x2bea, 0x46da, 0xad, 0x26, 0x78, 0xfd, 0xc8, 0x3c, 0xee, 0x46)
 
 DEFINE_GUID (GUID_USBSTOR_EHSTOR_CONTROL_INTERFACE, 0x4f40006f, 0xb933, 0x4550, 0xb5, 0x32, 0x2b, 0x58, 0xce, 0xe6, 0x14, 0xd3)
 

Macro Definition Documentation

◆ IOCTL_EHSTOR_DEVICE_ENUMERATE_PDOS

#define IOCTL_EHSTOR_DEVICE_ENUMERATE_PDOS   CTL_CODE(IOCTL_STORAGE_BASE, 0x504, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 61 of file usbstorioctl.h.

◆ IOCTL_EHSTOR_DEVICE_GET_AUTHZ_STATE

#define IOCTL_EHSTOR_DEVICE_GET_AUTHZ_STATE   CTL_CODE(IOCTL_STORAGE_BASE, 0x502, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 59 of file usbstorioctl.h.

◆ IOCTL_EHSTOR_DEVICE_SET_AUTHZ_STATE

#define IOCTL_EHSTOR_DEVICE_SET_AUTHZ_STATE   CTL_CODE(IOCTL_STORAGE_BASE, 0x501, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 58 of file usbstorioctl.h.

◆ IOCTL_EHSTOR_DEVICE_SILO_COMMAND

#define IOCTL_EHSTOR_DEVICE_SILO_COMMAND   CTL_CODE(IOCTL_STORAGE_BASE, 0x503, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 60 of file usbstorioctl.h.

◆ MAX_PATH

#define MAX_PATH   260

Definition at line 4 of file usbstorioctl.h.

◆ SIZE_ENUM_PDO_RESULTS_HEADER

#define SIZE_ENUM_PDO_RESULTS_HEADER   (sizeof(ENUM_PDO_RESULTS) - sizeof(ENUM_PDO_ENTRY))

Definition at line 56 of file usbstorioctl.h.

Typedef Documentation

◆ ACT_AUTHZ_STATE

◆ ENUM_PDO_ENTRY

◆ ENUM_PDO_RESULTS

◆ PACT_AUTHZ_STATE

◆ PDO_CAPS

◆ PDO_STATE

◆ PDO_TYPE

◆ PENUM_PDO_ENTRY

◆ PENUM_PDO_RESULTS

◆ PSILO_COMMAND

◆ SILO_COMMAND

Enumeration Type Documentation

◆ _PDO_CAPS

Enumerator
PDO_CAPABILITY_UNDEFINED 
PDO_CAPABILITY_INC512_SET 
PDO_CAPABILITY_INC512_CLEAR 

Definition at line 33 of file usbstorioctl.h.

◆ _PDO_STATE

Enumerator
PDO_STATE_UNDEFINED 
PDO_STATE_STARTED 
PDO_STATE_NOT_STARTED 

Definition at line 27 of file usbstorioctl.h.

◆ _PDO_TYPE

Enumerator
AcpiPdo 
WdPdo 
AcpiPdo 
WdPdo 
PDO_TYPE_UNDEFINED 
PDO_TYPE_DISK 
PDO_TYPE_CONTROL 
PDO_TYPE_SILO 
PDO_TYPE_THIS 

Definition at line 19 of file usbstorioctl.h.

Function Documentation

◆ DEFINE_GUID() [1/2]

DEFINE_GUID ( GUID_USBSTOR_EHSTOR_SILO_INTERFACE  ,
0x7c2bcf57  ,
0x2bea  ,
0x46da  ,
0xad  ,
0x26  ,
0x78  ,
0xfd  ,
0xc8  ,
0x3c  ,
0xee  ,
0x46   
)

◆ DEFINE_GUID() [2/2]

DEFINE_GUID ( GUID_USBSTOR_EHSTOR_CONTROL_INTERFACE  ,
0x4f40006f  ,
0xb933  ,
0x4550  ,
0xb5  ,
0x32  ,
0x2b  ,
0x58  ,
0xce  ,
0xe6  ,
0x14  ,
0xd3   
)