handle get_class_pointer(handle window,
                         int index)

This function obtains a pointer in class memory at a given offset.


handle window

The handle of the window whose extra memory is being queried.

int index

The 0-based byte index into the extra class memory. This value ranges up to the number of bytes of extra memory minus 8. Negative values are associated with the class information that exists for the window class. These values may be found in the enumeration class_offset.



The handle at the given offset or zero if the function fails.


Extra class memory is reserved when registering a class.