ReactOS  0.4.14-dev-323-g6fe6a88
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_USBOHCIHARDWARE()
 
#define IMP_IUSBOHCIHARDWAREDEVICE
 
#define DEFINE_ABSTRACT_USBOHCIREQUEST()
 
#define IMP_IOHCIREQUEST
 
#define DEFINE_ABSTRACT_USBOHCIQUEUE()
 
#define IMP_IUSBOHCIQUEUE
 

Typedefs

typedef IOHCIHardwareDevice * POHCIHARDWAREDEVICE
 
typedef IOHCIRequest * POHCIREQUEST
 
typedef IOHCIQueue * POHCIQUEUE
 

Functions

 DECLARE_INTERFACE_ (IOHCIHardwareDevice, IUSBHardwareDevice)
 
 DECLARE_INTERFACE_ (IOHCIRequest, IUSBRequest)
 
 DECLARE_INTERFACE_ (IOHCIQueue, IUSBQueue)
 

Macro Definition Documentation

◆ DEFINE_ABSTRACT_USBOHCIHARDWARE

#define DEFINE_ABSTRACT_USBOHCIHARDWARE ( )
Value:
STDMETHOD_(VOID, GetBulkHeadEndpointDescriptor)( THIS_ \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor) PURE; \
STDMETHOD_(VOID, GetControlHeadEndpointDescriptor)( THIS_ \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor) PURE; \
STDMETHOD_(VOID, GetIsochronousHeadEndpointDescriptor)( THIS_ \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor) PURE; \
STDMETHOD_(VOID, GetInterruptEndpointDescriptors)( THIS_ \
IN struct _OHCI_ENDPOINT_DESCRIPTOR *** OutDescriptor) PURE; \
STDMETHOD_(VOID, HeadEndpointDescriptorModified)( THIS_ \
STDMETHOD_(VOID, GetCurrentFrameNumber)( THIS_ \
IN PULONG FrameNumber) PURE;
Type
Definition: Type.h:6
unsigned int * PULONG
Definition: retypes.h:1
#define PURE
Definition: basetyps.h:64
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

Definition at line 16 of file interfaces.h.

◆ DEFINE_ABSTRACT_USBOHCIQUEUE

#define DEFINE_ABSTRACT_USBOHCIQUEUE ( )
Value:
STDMETHOD_(VOID, TransferDescriptorCompletionCallback)( THIS_ \
IN ULONG TransferDescriptorLogicalAddress) PURE;
#define PURE
Definition: basetyps.h:64
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

Definition at line 117 of file interfaces.h.

◆ DEFINE_ABSTRACT_USBOHCIREQUEST

#define DEFINE_ABSTRACT_USBOHCIREQUEST ( )
Value:
STDMETHOD_(NTSTATUS, GetEndpointDescriptor)( THIS_ \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor) PURE; \
STDMETHOD_(VOID, FreeEndpointDescriptor)( THIS_ \
IN struct _OHCI_ENDPOINT_DESCRIPTOR * OutDescriptor) PURE; \
STDMETHOD_(UCHAR, GetInterval)( THIS) PURE;
#define THIS
Definition: basetyps.h:66
LONG NTSTATUS
Definition: precomp.h:26
unsigned char UCHAR
Definition: xmlstorage.h:181
#define PURE
Definition: basetyps.h:64
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 78 of file interfaces.h.

◆ IMP_IOHCIREQUEST

#define IMP_IOHCIREQUEST
Value:
STDMETHODIMP_(NTSTATUS) GetEndpointDescriptor( \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor); \
STDMETHODIMP_(VOID) FreeEndpointDescriptor( \
IN struct _OHCI_ENDPOINT_DESCRIPTOR * OutDescriptor); \
STDMETHODIMP_(UCHAR) GetInterval();
#define IN
Definition: typedefs.h:38
#define STDMETHODIMP_(t)
Definition: basetyps.h:44
LONG NTSTATUS
Definition: precomp.h:26
unsigned char UCHAR
Definition: xmlstorage.h:181
const TCHAR * CompletionCallback(unsigned __int64 &rnIndex, const BOOL *pblnForward, const TCHAR *pszContext, const TCHAR *pszBegin)
Definition: Completion.cpp:439

Definition at line 90 of file interfaces.h.

◆ IMP_IUSBOHCIHARDWAREDEVICE

#define IMP_IUSBOHCIHARDWAREDEVICE
Value:
STDMETHODIMP_(VOID) GetBulkHeadEndpointDescriptor( \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor); \
STDMETHODIMP_(VOID) GetControlHeadEndpointDescriptor( \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor); \
STDMETHODIMP_(VOID) GetIsochronousHeadEndpointDescriptor( \
IN struct _OHCI_ENDPOINT_DESCRIPTOR ** OutDescriptor); \
STDMETHODIMP_(VOID) GetInterruptEndpointDescriptors( \
IN struct _OHCI_ENDPOINT_DESCRIPTOR *** OutDescriptor); \
STDMETHODIMP_(VOID) HeadEndpointDescriptorModified( \
STDMETHODIMP_(VOID) GetCurrentFrameNumber( \
OUT PULONG FrameNumber);
#define IN
Definition: typedefs.h:38
#define STDMETHODIMP_(t)
Definition: basetyps.h:44
Type
Definition: Type.h:6
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1

Definition at line 35 of file interfaces.h.

◆ IMP_IUSBOHCIQUEUE

#define IMP_IUSBOHCIQUEUE
Value:
STDMETHODIMP_(VOID) TransferDescriptorCompletionCallback( \
IN ULONG TransferDescriptorLogicalAddress);
#define IN
Definition: typedefs.h:38
#define STDMETHODIMP_(t)
Definition: basetyps.h:44
unsigned int ULONG
Definition: retypes.h:1

Definition at line 121 of file interfaces.h.

Typedef Documentation

◆ POHCIHARDWAREDEVICE

typedef IOHCIHardwareDevice* POHCIHARDWAREDEVICE

Definition at line 59 of file interfaces.h.

◆ POHCIQUEUE

typedef IOHCIQueue* POHCIQUEUE

Definition at line 130 of file interfaces.h.

◆ POHCIREQUEST

typedef IOHCIRequest* POHCIREQUEST

Definition at line 106 of file interfaces.h.

Function Documentation

◆ DECLARE_INTERFACE_() [1/3]

DECLARE_INTERFACE_ ( IOHCIHardwareDevice  ,
IUSBHardwareDevice   
)

Definition at line 54 of file interfaces.h.

55 {
59 };
#define DEFINE_ABSTRACT_UNKNOWN()
Definition: ksiface.h:5
#define DEFINE_ABSTRACT_USBOHCIHARDWARE()
Definition: interfaces.h:16
#define DEFINE_ABSTRACT_USBHARDWAREDEVICE()

◆ DECLARE_INTERFACE_() [2/3]

DECLARE_INTERFACE_ ( IOHCIRequest  ,
IUSBRequest   
)

Definition at line 101 of file interfaces.h.

102 {
106 };
#define DEFINE_ABSTRACT_UNKNOWN()
Definition: ksiface.h:5
#define DEFINE_ABSTRACT_USBREQUEST()
#define DEFINE_ABSTRACT_USBOHCIREQUEST()
Definition: interfaces.h:78

◆ DECLARE_INTERFACE_() [3/3]

DECLARE_INTERFACE_ ( IOHCIQueue  ,
IUSBQueue   
)

Definition at line 125 of file interfaces.h.

126 {
130 };
#define DEFINE_ABSTRACT_USBOHCIQUEUE()
Definition: interfaces.h:117
#define DEFINE_ABSTRACT_UNKNOWN()
Definition: ksiface.h:5
#define DEFINE_ABSTRACT_USBQUEUE()