Not sure why you have to worry. But yes, these "Button" controls you highlighted in your screenshot are not unique windows. They all look the same and behave the exact same way when you click them. The only difference is that their text "property" is different. So they are therefore the exact same window "class". With "property" and "class" in double-quotes since the winapi is a C api and the C language doesn't support classes or properties.
A window class pre-selects a bunch of properties for a window, you can see them back in the WNDCLASSEX structure, the one you fill in before you call RegisterClassEx(). You then create windows from that, you pass the class name in the CreateWindowEx() winapi call. The scheme was designed to make it easy to create windows that are similar, much like you use a class in C# to create objects that are similar. But can still have their own Text property. And their own Click event handler.
You get the window class name from a handle with the GetClassName() winapi function.
You get the text "property" from a handle with the GetWindowText() winapi function. GetWindowTextLength() tells you how large a string buffer you need to pass to GetWindowText().