Поделиться через


Callback Function for CDC::EnumObjects

The ObjectFunc name is a placeholder for the application-supplied function name.

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

Параметры

  • 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.

Возвращаемое значение

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

Заметки

The actual name must be exported.

Требования

Header: afxwin.h

См. также

Основные понятия

Structures, Styles, Callbacks, and Message Maps

CDC::EnumObjects