Obtaining a Pointer to an Object

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: Obtaining the Object's MINIRECORDCORE Pointer]
[Next: Object Criteria: Details Methods]