Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
466f5e79
Commit
466f5e79
authored
Aug 19, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new fields to the NOTIFYICONDATA structure so it matches the
latest platform SDK. Update shell32/tests/generated.c. It now works when compiled with the Windows headers.
parent
e516ce84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
8 deletions
+28
-8
generated.c
dlls/shell32/tests/generated.c
+8
-6
shellapi.h
include/shellapi.h
+20
-2
No files found.
dlls/shell32/tests/generated.c
View file @
466f5e79
...
@@ -650,27 +650,31 @@ static void test_pack_LPSHNAMEMAPPINGW(void)
...
@@ -650,27 +650,31 @@ static void test_pack_LPSHNAMEMAPPINGW(void)
static
void
test_pack_NOTIFYICONDATAA
(
void
)
static
void
test_pack_NOTIFYICONDATAA
(
void
)
{
{
/* NOTIFYICONDATAA (pack 1) */
/* NOTIFYICONDATAA (pack 1) */
TEST_TYPE
(
NOTIFYICONDATAA
,
88
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
DWORD
,
cbSize
,
0
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
DWORD
,
cbSize
,
0
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
HWND
,
hWnd
,
4
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
HWND
,
hWnd
,
4
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
UINT
,
uID
,
8
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
UINT
,
uID
,
8
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
UINT
,
uFlags
,
12
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
UINT
,
uFlags
,
12
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
UINT
,
uCallbackMessage
,
16
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
UINT
,
uCallbackMessage
,
16
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
HICON
,
hIcon
,
20
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
HICON
,
hIcon
,
20
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
CHAR
[
64
],
szTip
,
24
,
64
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
CHAR
[
128
],
szTip
,
24
,
128
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
DWORD
,
dwState
,
152
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
DWORD
,
dwStateMask
,
156
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAA
,
CHAR
[
256
],
szInfo
,
160
,
256
,
1
);
}
}
static
void
test_pack_NOTIFYICONDATAW
(
void
)
static
void
test_pack_NOTIFYICONDATAW
(
void
)
{
{
/* NOTIFYICONDATAW (pack 1) */
/* NOTIFYICONDATAW (pack 1) */
TEST_TYPE
(
NOTIFYICONDATAW
,
152
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
DWORD
,
cbSize
,
0
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
DWORD
,
cbSize
,
0
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
HWND
,
hWnd
,
4
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
HWND
,
hWnd
,
4
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
UINT
,
uID
,
8
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
UINT
,
uID
,
8
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
UINT
,
uFlags
,
12
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
UINT
,
uFlags
,
12
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
UINT
,
uCallbackMessage
,
16
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
UINT
,
uCallbackMessage
,
16
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
HICON
,
hIcon
,
20
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
HICON
,
hIcon
,
20
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
WCHAR
[
64
],
szTip
,
24
,
128
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
WCHAR
[
128
],
szTip
,
24
,
256
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
DWORD
,
dwState
,
280
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
DWORD
,
dwStateMask
,
284
,
4
,
1
);
TEST_FIELD
(
NOTIFYICONDATAW
,
WCHAR
[
256
],
szInfo
,
288
,
512
,
1
);
}
}
static
void
test_pack_PAPPBARDATA
(
void
)
static
void
test_pack_PAPPBARDATA
(
void
)
...
@@ -684,14 +688,12 @@ static void test_pack_PNOTIFYICONDATAA(void)
...
@@ -684,14 +688,12 @@ static void test_pack_PNOTIFYICONDATAA(void)
{
{
/* PNOTIFYICONDATAA */
/* PNOTIFYICONDATAA */
TEST_TYPE
(
PNOTIFYICONDATAA
,
4
,
4
);
TEST_TYPE
(
PNOTIFYICONDATAA
,
4
,
4
);
TEST_TYPE_POINTER
(
PNOTIFYICONDATAA
,
88
,
1
);
}
}
static
void
test_pack_PNOTIFYICONDATAW
(
void
)
static
void
test_pack_PNOTIFYICONDATAW
(
void
)
{
{
/* PNOTIFYICONDATAW */
/* PNOTIFYICONDATAW */
TEST_TYPE
(
PNOTIFYICONDATAW
,
4
,
4
);
TEST_TYPE
(
PNOTIFYICONDATAW
,
4
,
4
);
TEST_TYPE_POINTER
(
PNOTIFYICONDATAW
,
152
,
1
);
}
}
static
void
test_pack_PRINTEROP_FLAGS
(
void
)
static
void
test_pack_PRINTEROP_FLAGS
(
void
)
...
...
include/shellapi.h
View file @
466f5e79
...
@@ -345,7 +345,16 @@ typedef struct _NOTIFYICONDATAA
...
@@ -345,7 +345,16 @@ typedef struct _NOTIFYICONDATAA
UINT
uFlags
;
UINT
uFlags
;
UINT
uCallbackMessage
;
UINT
uCallbackMessage
;
HICON
hIcon
;
HICON
hIcon
;
CHAR
szTip
[
64
];
CHAR
szTip
[
128
];
DWORD
dwState
;
DWORD
dwStateMask
;
CHAR
szInfo
[
256
];
union
{
UINT
uTimeout
;
UINT
uVersion
;
}
DUMMYUNIONNAME
;
CHAR
szInfoTitle
[
64
];
DWORD
dwInfoFlags
;
}
NOTIFYICONDATAA
,
*
PNOTIFYICONDATAA
;
}
NOTIFYICONDATAA
,
*
PNOTIFYICONDATAA
;
typedef
struct
_NOTIFYICONDATAW
typedef
struct
_NOTIFYICONDATAW
...
@@ -355,7 +364,16 @@ typedef struct _NOTIFYICONDATAW
...
@@ -355,7 +364,16 @@ typedef struct _NOTIFYICONDATAW
UINT
uFlags
;
UINT
uFlags
;
UINT
uCallbackMessage
;
UINT
uCallbackMessage
;
HICON
hIcon
;
HICON
hIcon
;
WCHAR
szTip
[
64
];
WCHAR
szTip
[
128
];
DWORD
dwState
;
DWORD
dwStateMask
;
WCHAR
szInfo
[
256
];
union
{
UINT
uTimeout
;
UINT
uVersion
;
}
DUMMYUNIONNAME
;
WCHAR
szInfoTitle
[
64
];
DWORD
dwInfoFlags
;
}
NOTIFYICONDATAW
,
*
PNOTIFYICONDATAW
;
}
NOTIFYICONDATAW
,
*
PNOTIFYICONDATAW
;
DECL_WINELIB_TYPE_AW
(
NOTIFYICONDATA
)
DECL_WINELIB_TYPE_AW
(
NOTIFYICONDATA
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment