winapi-get-var-names function, refactor to use consts instead of symbols for scope