Commit d91a87ce authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

include: Fix the definition of NOTIFYICON_VERSION[_4].

parent cde11289
......@@ -283,7 +283,7 @@ static BOOL notify_owner(struct tray_icon *icon, UINT msg, int x, int y)
WPARAM wp = icon->id;
LPARAM lp = msg;
if (icon->version >= NOTIFY_VERSION_4)
if (icon->version >= NOTIFYICON_VERSION_4)
{
wp = MAKEWPARAM(x, y);
lp = MAKELPARAM(msg, icon->id);
......
......@@ -441,7 +441,7 @@ static BOOL notify_owner( struct tray_icon *icon, UINT msg, LPARAM lparam )
WPARAM wp = icon->id;
LPARAM lp = msg;
if (icon->version >= NOTIFY_VERSION_4)
if (icon->version >= NOTIFYICON_VERSION_4)
{
POINT pt = { (short)LOWORD(lparam), (short)HIWORD(lparam) };
......
......@@ -378,8 +378,8 @@ void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lp
#define NIM_SETFOCUS 0x00000003
#define NIM_SETVERSION 0x00000004
#define NOTIFY_VERSION 3 /* supported by Windows 2000 and later */
#define NOTIFY_VERSION_4 4 /* supported by Windows Vista */
#define NOTIFYICON_VERSION 3
#define NOTIFYICON_VERSION_4 4
/* callback message lParam values */
#define NIN_SELECT (WM_USER+0)
......
......@@ -723,7 +723,7 @@ static BOOL notify_owner( struct icon *icon, UINT msg, POINT pt )
WPARAM wp = icon->id;
LPARAM lp = msg;
if (icon->version >= NOTIFY_VERSION_4)
if (icon->version >= NOTIFYICON_VERSION_4)
{
ClientToScreen( tray_window, &pt );
wp = MAKEWPARAM( pt.x, pt.y );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment