Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

PDMUSBREG Struct Reference
[The USB Devices API]

#include <pdmusb.h>

List of all members.


Detailed Description

PDM USB Device Registration Structure,

This structure is used when registering a device from VBoxUsbRegister() in HC Ring-3. The PDM will make use of this structure untill the VM is destroyed.

Definition at line 84 of file pdmusb.h.


Public Member Functions

 DECLR3CALLBACKMEMBER (PVUSBURB, pfnUrbReap,(PPDMUSBINS pUsbIns, unsigned cMillies))
 DECLR3CALLBACKMEMBER (int, pfnUrbCancel,(PPDMUSBINS pUsbIns, PVUSBURB pUrb))
 DECLR3CALLBACKMEMBER (int, pfnUrbQueue,(PPDMUSBINS pUsbIns, PVUSBURB pUrb))
 DECLR3CALLBACKMEMBER (int, pfnUrbNew,(PPDMUSBINS pUsbIns, size_t cbData, size_t cTds, VUSBXFERTYPE enmType, PVUSBURB *ppUrb))
 DECLR3CALLBACKMEMBER (int, pfnUsbClearHaltedEndpoint,(PPDMUSBINS pUsbIns, unsigned uEndpoint))
 DECLR3CALLBACKMEMBER (int, pfnUsbSetInterface,(PPDMUSBINS pUsbIns, uint8_t bInterfaceNumber, uint8_t bAlternateSetting))
 DECLR3CALLBACKMEMBER (int, pfnUsbSetConfiguration,(PPDMUSBINS pUsbIns, uint8_t bConfigurationValue, const void *pvOldCfgDesc, const void *pvOldIfState, const void *pvNewCfgDesc))
 DECLR3CALLBACKMEMBER (PCPDMUSBDESCCACHE, pfnUsbGetDescriptorCache,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (int, pfnUsbReset,(PPDMUSBINS pUsbIns, bool fResetOnLinux))
 DECLR3CALLBACKMEMBER (int, pfnQueryInterface,(PPDMUSBINS pUsbIns, unsigned iLUN, PPDMIBASE *ppBase))
 DECLR3CALLBACKMEMBER (void, pfnDriverDetach,(PPDMUSBINS pUsbIns, unsigned iLUN))
 DECLR3CALLBACKMEMBER (int, pfnDriverAttach,(PPDMUSBINS pUsbIns, unsigned iLUN))
 DECLR3CALLBACKMEMBER (void, pfnHotUnplugged,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (void, pfnHotPlugged,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (void, pfnVMPowerOff,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (void, pfnVMResume,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (void, pfnVMSuspend,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (void, pfnVMReset,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (void, pfnVMPowerOn,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (int, pfnVMInitComplete,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (void, pfnDestruct,(PPDMUSBINS pUsbIns))
 DECLR3CALLBACKMEMBER (int, pfnConstruct,(PPDMUSBINS pUsbIns, int iInstance, PCFGMNODE pCfg, PCFGMNODE pCfgGlobal))

Public Attributes

RTUINT cbInstance
RTUINT cMaxInstances
RTUINT fFlags
const char * pszDescription
char szDeviceName [32]
uint32_t u32TheEnd
uint32_t u32Version

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index