On Mon Sep 16 17:29:24 2024 +0000, Rémi Bernon wrote:
I was thinking more like:
struct notify_data_icon { UINT width; UINT height; UINT planes; UINT bpp; }; struct notify_data /* platform-independent format for NOTIFYICONDATA */ { LONG hWnd; UINT uID; UINT uFlags; UINT uCallbackMessage; struct notify_data_icon icon; /* icon bitmap info */ WCHAR szTip[128]; DWORD dwState; DWORD dwStateMask; WCHAR szInfo[256]; union { UINT uTimeout; UINT uVersion; } u; WCHAR szInfoTitle[64]; DWORD dwInfoFlags; GUID guidItem; struct notify_data_icon balloon_icon; /* balloon icon bitmap info */ BYTE icon_data[]; /* data for the icon bitmap followed by balloon icon bitmap */ };
seems to be feasible, yet there will be additional 8 fields to be sent through sendmessage even in case if there are no icons to be sent over to explorer.exe