The EnumObjectsProc function is an application-defined callback function that processes object data supplied by the EnumObjects function.
VOID CALLBACK EnumObjectsProc(
LPVOID lpLogObject,
// pointer to graphic-object structure
LPARAM lpData
// pointer to application-defined data
);
This function does not return a value.
An application must register this function by passing its address to the EnumObjects function. EnumObjectsProc is a placeholder for the application-defined function name.
EnumObjects, GlobalAlloc, GlobalLock, LOGPEN, LOGBRUSH
.