win32gui.GetClassName

string = GetClassName(hwnd)

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

Parameters

hwnd : PyHANDLE

The handle to the window