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
8b0841ad
Commit
8b0841ad
authored
Nov 05, 2001
by
Guy Albertelli
Committed by
Alexandre Julliard
Nov 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for Wine internal messages.
parent
de6d4e21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
spy.c
windows/spy.c
+17
-0
No files found.
windows/spy.c
View file @
8b0841ad
...
...
@@ -950,6 +950,17 @@ static const char * const CCMMessageTypeNames[SPY_MAX_CCMMSGNUM + 1] =
"CCM_GETUNICODEFORMAT"
};
#define SPY_MAX_WINEMSGNUM 6
static
const
char
*
const
WINEMessageTypeNames
[
SPY_MAX_WINEMSGNUM
+
1
]
=
{
"WM_WINE_DESTROYWINDOW"
,
"WM_WINE_SETWINDOWPOS"
,
"WM_WINE_SHOWWINDOW"
,
"WM_WINE_SETPARENT"
,
"WM_WINE_SETWINDOWLONG"
,
"WM_WINE_ENABLEWINDOW"
};
/* Virtual key names */
#define SPY_MAX_VKKEYSNUM 255
static
const
char
*
const
VK_KeyNames
[
SPY_MAX_VKKEYSNUM
+
1
]
=
...
...
@@ -1632,6 +1643,12 @@ static const char *SPY_GetMsgInternal( UINT msg )
return
CCMMessageTypeNames
[
msg
-
CCM_FIRST
];
}
if
(
msg
>=
WM_WINE_DESTROYWINDOW
&&
msg
<=
WM_WINE_DESTROYWINDOW
+
SPY_MAX_WINEMSGNUM
)
{
if
(
!
WINEMessageTypeNames
[
msg
-
WM_WINE_DESTROYWINDOW
])
return
"???"
;
return
WINEMessageTypeNames
[
msg
-
WM_WINE_DESTROYWINDOW
];
}
sprintf
(
msg_buffer
,
"WM_USER+%04x"
,
msg
-
WM_USER
);
return
msg_buffer
;
}
...
...
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