win32gui.RealGetWindowClass

string = RealGetWindowClass(hwnd)

Retrieves the name of the class to which the specified window belongs.

Parameters

hwnd : PyHANDLE

The handle to the window