Description
Called for each referenced object in the object being examined. In the callback function, you can save the name of the referenced object for later display.
Syntax
typedef void (CALLBACK *PBORCA_REFPROC) ( PPBORCA_REFERENCE, LPVOID );
Argument |
Description |
---|---|
PPBORCA_REFERENCE |
Pointer to the PBORCA_REFERENCE structure (described next) |
LPVOID |
Long pointer to user data |
Return value
None.
Usage
You provide the code for the callback function. The callback function generally reads the name of the referenced object passed in the PBORCA_REFERENCE structure and saves it in the user data buffer pointed to by LPVOID.
The user data buffer is allocated in the calling program and can be structured any way you want. It might include a structure that counts the number of referenced objects and an array or text block in which you store the names.
For information and examples of coding a callback function, see About ORCA callback functions.