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

#define PDMIBASERC_QUERY_INTERFACE ( pIBaseRC,
InterfaceType   )     ( (P##InterfaceType##RC)((pIBaseRC) ? (pIBaseRC)->pfnQueryInterface(pIBaseRC, InterfaceType##_IID) : NIL_RTRCPTR) )

Helper macro for quering an interface from PDMIBASERC.

Returns:
PDMIBASERC::pfnQueryInterface return value.
Parameters:
pIBaseRC Pointer to the base raw-mode context interface. Can be NULL.
InterfaceType The interface type base name, no trailing RC. The interface ID is derived from this by appending _IID.
Remarks:
Unlike PDMIBASE_QUERY_INTERFACE, this macro is not able to do any implicit type checking for you.

Definition at line 165 of file pdmifs.h.


Generated by  Doxygen 1.6.0   Back to index