how do i use GetClassName to store a window's class name in a variable named "Class"

(assume the window i need to get the class from is named "Example Window")




thanks for any help in advance