#271 Missing NOTIFYICONDATA_V1_SIZE NOTIFYICONDATA_V2_SIZE

closed-fixed
nobody
w32api (251)
2006-03-16
2006-01-31
No

According to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/notifyicondata.asp

there are two definitions, NOTIFYICONDATA_V1_SIZE and
NOTIFYICONDATA_V2_SIZE which indicate size of the
NOTIFYICONDATA struct pre "Version 5.0" and "Version
6.0" respectively.

By defining _WIN32_IE and UNICODE appropriately and
then determining sizeof(NOTIFYICONDATA), I calculated
the values to be:

NOTIFYICONDATA_V1_SIZE 88(ANSI) 152(UNICODE)
NOTIFYICONDATA_V2_SIZE 488(ANSI) 936(UNICODE)

I have attached a patch.

Here is some info for the Changelog:

* include/shellapi.h: add NOTIFYICONDATA_V1_SIZE and
NOTIFYICONDATA_V2_SIZE when _WIN32_IE >= 0x0500 and
_WIN32_IE >= 0x0600 respectively

Thanks

Discussion

  • Danny Smith

    Danny Smith - 2006-03-16

    Logged In: YES
    user_id=11494

    Thanks, David
    Danny

     
  • Danny Smith

    Danny Smith - 2006-03-16
    • milestone: --> IINR_-_Include_In_Next_Release
    • status: open --> closed-fixed