ReactOS  0.4.13-dev-482-ge57f103
interfaces.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFINE_ABSTRACT_USBEHCIHARDWARE()
 
#define IMP_IUSBEHCIHARDWARE
 
#define DEFINE_ABSTRACT_USBEHCIREQUEST()
 
#define IMP_IEHCIREQUEST
 
#define DEFINE_ABSTRACT_USBEHCIQUEUE()
 
#define IMP_IEHCIQUEUE
 

Typedefs

typedef IEHCIHardwareDevice * PEHCIHARDWAREDEVICE
 
typedef IEHCIRequest * PEHCIREQUEST
 
typedef IEHCIQueue * PEHCIQUEUE
 

Functions

 DECLARE_INTERFACE_ (IEHCIHardwareDevice, IUSBHardwareDevice)
 
 DECLARE_INTERFACE_ (IEHCIRequest, IUSBRequest)
 
 DECLARE_INTERFACE_ (IEHCIQueue, IUSBQueue)
 

Macro Definition Documentation

◆ DEFINE_ABSTRACT_USBEHCIHARDWARE

#define DEFINE_ABSTRACT_USBEHCIHARDWARE ( )
Value:
STDMETHOD_(VOID, SetAsyncListRegister)( THIS_ \
STDMETHOD_(VOID, SetPeriodicListRegister)( THIS_ \
STDMETHOD_(struct _QUEUE_HEAD *, GetAsyncListQueueHead)( THIS) PURE; \
STDMETHOD_(ULONG, GetPeriodicListRegister)( THIS) PURE; \
STDMETHOD_(VOID, SetCommandRegister)( THIS_ \
IN struct _EHCI_USBCMD_CONTENT *UsbCmd) PURE; \
STDMETHOD_(VOID, GetCommandRegister)( THIS_ \
OUT struct _EHCI_USBCMD_CONTENT *UsbCmd) PURE;
#define THIS
Definition: basetyps.h:66
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1060
#define PURE
Definition: basetyps.h:64
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

Definition at line 11 of file interfaces.h.

◆ DEFINE_ABSTRACT_USBEHCIQUEUE

#define DEFINE_ABSTRACT_USBEHCIQUEUE ( )
Value:
STDMETHOD_(VOID, InterruptCallback)( THIS_ \
OUT PULONG ShouldRingDoorBell) PURE; \
STDMETHOD_(VOID, CompleteAsyncRequests)( THIS) PURE;
#define THIS
Definition: basetyps.h:66
LONG NTSTATUS
Definition: precomp.h:26
Status
Definition: gdiplustypes.h:24
unsigned int * PULONG
Definition: retypes.h:1
#define PURE
Definition: basetyps.h:64
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

Definition at line 128 of file interfaces.h.

◆ DEFINE_ABSTRACT_USBEHCIREQUEST

#define DEFINE_ABSTRACT_USBEHCIREQUEST ( )
Value:
IN NTSTATUS NtStatusCode, \
IN ULONG UrbStatusCode, \
IN struct _QUEUE_HEAD *QueueHead) PURE; \
STDMETHOD_(NTSTATUS, GetQueueHead)( THIS_ \
IN struct _QUEUE_HEAD ** OutHead) PURE; \
STDMETHOD_(BOOLEAN, ShouldReleaseRequestAfterCompletion)( THIS) PURE; \
STDMETHOD_(VOID, FreeQueueHead)( THIS_ \
IN struct _QUEUE_HEAD * QueueHead) PURE; \
STDMETHOD_(BOOLEAN, IsQueueHeadComplete)( THIS_ \
IN struct _QUEUE_HEAD * QueueHead) PURE; \
STDMETHOD_(UCHAR, GetInterval)( THIS) PURE;
#define THIS
Definition: basetyps.h:66
LONG NTSTATUS
Definition: precomp.h:26
unsigned char BOOLEAN
enum _USB_DEVICE_SPEED USB_DEVICE_SPEED
unsigned char UCHAR
Definition: xmlstorage.h:181
#define PURE
Definition: basetyps.h:64
unsigned int ULONG
Definition: retypes.h:1
const TCHAR * CompletionCallback(unsigned __int64 &rnIndex, const BOOL *pblnForward, const TCHAR *pszContext, const TCHAR *pszBegin)
Definition: Completion.cpp:439
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

Definition at line 69 of file interfaces.h.

◆ IMP_IEHCIQUEUE

#define IMP_IEHCIQUEUE
Value:
STDMETHODIMP_(VOID) InterruptCallback( \
OUT PULONG ShouldRingDoorBell); \
STDMETHODIMP_(VOID) CompleteAsyncRequests();
#define IN
Definition: typedefs.h:38
#define STDMETHODIMP_(t)
Definition: basetyps.h:44
LONG NTSTATUS
Definition: precomp.h:26
Status
Definition: gdiplustypes.h:24
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:39

Definition at line 135 of file interfaces.h.

◆ IMP_IEHCIREQUEST

#define IMP_IEHCIREQUEST
Value:
IN NTSTATUS NtStatusCode, \
IN ULONG UrbStatusCode, \
IN struct _QUEUE_HEAD *QueueHead); \
STDMETHODIMP_(NTSTATUS) GetQueueHead( \
IN struct _QUEUE_HEAD ** OutHead); \
STDMETHODIMP_(BOOLEAN) ShouldReleaseRequestAfterCompletion(); \
STDMETHODIMP_(VOID) FreeQueueHead(struct _QUEUE_HEAD * QueueHead); \
STDMETHODIMP_(BOOLEAN) IsQueueHeadComplete( \
IN struct _QUEUE_HEAD * QueueHead); \
STDMETHODIMP_(UCHAR) GetInterval( THIS);
#define IN
Definition: typedefs.h:38
#define STDMETHODIMP_(t)
Definition: basetyps.h:44
#define THIS
Definition: basetyps.h:66
LONG NTSTATUS
Definition: precomp.h:26
unsigned char BOOLEAN
enum _USB_DEVICE_SPEED USB_DEVICE_SPEED
unsigned char UCHAR
Definition: xmlstorage.h:181
unsigned int ULONG
Definition: retypes.h:1
const TCHAR * CompletionCallback(unsigned __int64 &rnIndex, const BOOL *pblnForward, const TCHAR *pszContext, const TCHAR *pszBegin)
Definition: Completion.cpp:439

Definition at line 91 of file interfaces.h.

◆ IMP_IUSBEHCIHARDWARE

#define IMP_IUSBEHCIHARDWARE
Value:
STDMETHODIMP_(VOID) SetAsyncListRegister( \
STDMETHODIMP_(VOID) SetPeriodicListRegister( \
STDMETHODIMP_(struct _QUEUE_HEAD *) GetAsyncListQueueHead(); \
STDMETHODIMP_(ULONG) GetPeriodicListRegister(); \
STDMETHODIMP_(VOID) SetCommandRegister( \
IN struct _EHCI_USBCMD_CONTENT *UsbCmd); \
STDMETHODIMP_(VOID) GetCommandRegister( \
OUT struct _EHCI_USBCMD_CONTENT *UsbCmd);
#define IN
Definition: typedefs.h:38
#define STDMETHODIMP_(t)
Definition: basetyps.h:44
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1060
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1

Definition at line 28 of file interfaces.h.

Typedef Documentation

◆ PEHCIHARDWAREDEVICE

typedef IEHCIHardwareDevice* PEHCIHARDWAREDEVICE

Definition at line 49 of file interfaces.h.

◆ PEHCIQUEUE

typedef IEHCIQueue* PEHCIQUEUE

Definition at line 147 of file interfaces.h.

◆ PEHCIREQUEST

typedef IEHCIRequest* PEHCIREQUEST

Definition at line 116 of file interfaces.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/3]

DECLARE_INTERFACE_ ( IEHCIHardwareDevice  ,
IUSBHardwareDevice   
)

Definition at line 44 of file interfaces.h.

45 {
49 };
#define DEFINE_ABSTRACT_UNKNOWN()
Definition: ksiface.h:5
#define DEFINE_ABSTRACT_USBEHCIHARDWARE()
Definition: interfaces.h:11
#define DEFINE_ABSTRACT_USBHARDWAREDEVICE()

◆ DECLARE_INTERFACE_() [2/3]

DECLARE_INTERFACE_ ( IEHCIRequest  ,
IUSBRequest   
)

Definition at line 111 of file interfaces.h.

112 {
116 };
#define DEFINE_ABSTRACT_UNKNOWN()
Definition: ksiface.h:5
#define DEFINE_ABSTRACT_USBREQUEST()
#define DEFINE_ABSTRACT_USBEHCIREQUEST()
Definition: interfaces.h:69

◆ DECLARE_INTERFACE_() [3/3]

DECLARE_INTERFACE_ ( IEHCIQueue  ,
IUSBQueue   
)

Definition at line 142 of file interfaces.h.

143 {
147 };
#define DEFINE_ABSTRACT_UNKNOWN()
Definition: ksiface.h:5
#define DEFINE_ABSTRACT_USBEHCIQUEUE()
Definition: interfaces.h:128
#define DEFINE_ABSTRACT_USBQUEUE()