osinterface: use FAILED macro to check for success of CoInitializeEx / SHGetMalloc.
Merge pull request #176 from DutchRPW/browse-window-fix

Fix #133