Prev Next

EnumObjectsProc info  Overview  Group

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

   );

Parameters

lpLogObject
Points to a LOGPEN or LOGBRUSH structure describing the attributes of the object.
lpData
Points to the application-defined data passed by the EnumObjects function.

Return Values

This function does not return a value.

Remarks

An application must register this function by passing its address to the EnumObjects function. EnumObjectsProc is a placeholder for the application-defined function name.

See Also

EnumObjects, GlobalAlloc, GlobalLock, LOGPEN, LOGBRUSH