I reordered the words in it to isPenUp. I'll leave it to you work out the original variable name.
Ha, ha. I always used to chuckle at an identifier that Microsoft came up with. Mind you it was the only thing that was remotely humorous about their shell API. Still, to a Briton, 'SHITEMID' does offer a small glimmer of pleasure while fighting the idiocy :)