What is the difference between RealGetWindowClass and GetClassName? (or what is a "window type" compared to a "window class name"?)

There is a difference in the MSDN description, however, I do not understand what the text means, what is the difference.

The function GetClassNamereturns the name of the class to which the specified window belongs. The RealGetWindowClass function retrieves a string that indicates the type of window.

As an example, you can use windows calc.exe From GetClassName you get "SciCalc"
From RealGetWindowClass you get "# 32770"

I assume that I am really asking what is the "Window Type" compared to the "Window Class Name"?

+3
source share
1 answer

See the following article: http://forums.wincustomize.com/3258 deadlink Updated link https://blogs.msdn.microsoft.com/oldnewthing/20101231-00/?p=11863

Summary:
Real .... functions have been added to support Windows accessibility. The purpose of RealGetWindowClass is to help accessibility tools determine which window it works with, even if the application is slightly masked as superclassification.

RealGetWindowClass , ( ). , , GetClassName AwesomeButton, RealGetWindowClass .

+1

Source: https://habr.com/ru/post/1702671/


All Articles