The OBJECT_FROM_PREC macro is used to obtain a pointer to an object when the PMINIRECORDCORE is known. The following figure shows how to obtain a pointer to an object:

WPObject *self;
PMINIRECORDCORE pRecord;

self = OBJECT_FROM_PREC(pRecord);


[Back] [Next]