Callback Function for CDC::EnumObjects

int CALLBACK EXPORT ObjectFunc( LPSTR lpszLogObject, LPSTR* lpData );

Parameters

lpszLogObject

Points to a LOGPEN or LOGBRUSH data structure that contains information about the logical attributes of the object.

lpData

Points to the application-supplied data passed to the EnumObjects function.

Return Value

The callback function returns an int. The value of this return is user-defined. If the callback function returns 0, EnumObjects stops enumeration early.

Remarks

The ObjectFunc name is a placeholder for the application-supplied function name. The actual name must be exported.

See Also   CDC::EnumObjects