Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>enumobjects</b> enumerate available drawing objects http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EnumObjects          Enumerate Available Drawing Objects

short EnumObjects(hDC, nObjectType, lpObjectFunc, lpData)
HDC hDC;
short nObjectType; /* OBJ_BRUSH or OBJ_PEN */
FARPROC lpObjectFunc;  /* As returned by MakeProcInstance() */
LPSTR lpData;

Returns:    Last value returned by callback function.

Note:       Call back function has following definition:

        short _export FAR PASCAL ObjectFunc(lpLogObject, lpData)
        char FAR *lpLogObject /* LOGPEN or LOGBRUSH */
        char FAR *lpData; /* data from EnumObjects function */

See Also: LOGPEN LOGBRUSH

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson