paperlined.org
apps > autohotkey > my_public_code
document updated 16 years ago, on May 7, 2008
GetClassName(hwnd) {
    VarSetCapacity(classname, 256)  ; the most a classname can *ever* be is 256 chars
    DllCall("GetClassName",  "UInt", hwnd,  "Str", classname,  "UInt", 256)
    return classname
}