mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 01:12:59 +08:00
[STOBJECT] Fully zero-out the full NOTIFYICONDATA structure (it wasn't zeroed out correctly in MSVC build).
This commit is contained in:
@@ -100,8 +100,10 @@ HRESULT EnumHotpluggedDevices(CSimpleArray<DEVINST> &devList)
|
||||
*--*/
|
||||
HRESULT NotifyBalloon(CSysTray* pSysTray, LPCWSTR szTitle = NULL, LPCWSTR szInfo = NULL, UINT uId = ID_ICON_HOTPLUG)
|
||||
{
|
||||
NOTIFYICONDATA nim = { 0 };
|
||||
nim.cbSize = sizeof(NOTIFYICONDATA);
|
||||
NOTIFYICONDATA nim;
|
||||
|
||||
ZeroMemory(&nim, sizeof(nim));
|
||||
nim.cbSize = sizeof(nim);
|
||||
nim.uID = uId;
|
||||
nim.hWnd = pSysTray->GetHWnd();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user