[Bug 45868] Windower 5 beta (FF XI tool) crash: System.ArgumentNullException: Value cannot be null. Parameter name: icon at System.Windows.Interop.Imaging.CreateBitmapSourceFromHIcon() at Windower.UI.StockIcons.GetStockIcon()

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 23 04:09:07 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45868

--- Comment #2 from Gijs Vermeulen <gijsvrm at 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 ;) )

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list