How can I detirmen what kind of handle hHandle is? (Window handle, File handle, ect...) Is there some kind of API for this?