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

#define PDMIBASE_QUERY_INTERFACE ( pIBase,
InterfaceType   )     ( (InterfaceType *)(pIBase)->pfnQueryInterface(pIBase, InterfaceType##_IID ) )

Helper macro for quering an interface from PDMIBASE.

Returns:
Correctly typed PDMIBASE::pfnQueryInterface return value.
Parameters:
pIBase Pointer to the base interface.
InterfaceType The interface type name. The interface ID is derived from this by appending _IID.

Definition at line 98 of file pdmifs.h.

Referenced by DECLCALLBACK(), Console::onNetworkAdapterChange(), setLogicalDiskGeometry(), Console::SleepButton(), VMCtrlACPIPowerButton(), and VMCtrlACPISleepButton().


Generated by  Doxygen 1.6.0   Back to index