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

#define RT_FROM_MEMBER ( pMem,
Type,
Member   )     ( (Type *) ((uint8_t *)(void *)(pMem) - RT_UOFFSETOF(Type, Member)) )

Convert a pointer to a structure member into a pointer to the structure.

Returns:
pointer to the structure.
Parameters:
pMember Pointer to the member.
Type Strucutre type.
Member Member name.

Definition at line 1104 of file cdefs.h.


Generated by  Doxygen 1.6.0   Back to index