https://bugs.winehq.org/show_bug.cgi?id=45868
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Louis Lenders from comment #1)
Hi Louis, according to the documentation of the _SHSTOCKICONINFO struct hIcon member:
"When SHGetStockIconInfo is called with the SHGSI_ICON flag, this member receives a handle to the icon."
It would probably be a good idea to only fill this member when that flag is passed. (Also, a test probably wouldn't hurt to make sure the documentation is not wrong ;) )