int get_class_name(handle window, character* buffer, int length)
This function obtains the name of the class of a window.
The handle of the window whose class name is being sought.
A pointer to a buffer to hold the class name.
The length (in characters) of the buffer pointed to by the previous parameter.
|The function failed.
|The number of characters transferred to the buffer.
If the buffer is too small to hold the complete name, the class name string is truncated to fit.