Callback function for PBORCA_LibraryDirectory

Description

Called for each entry in the library so that information about the entry can be stored for later display.

Syntax

typedef void (CALLBACK *PBORCA_LISTPROC) ( PPBORCA_DIRENTRY, LPVOID );

Argument

Description

PPBORCA_DIRENTRY

Pointer to the structure PBORCA_DIRENTRY (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 information about the library entry passed in the PBORCA_DIRENTRY structure, extracts whatever is wanted, and formats 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 entries and an array or text block in which you format information about all the entries.

For information and examples of coding a callback function, see About ORCA callback functions.