Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
5501f127
Commit
5501f127
authored
Aug 16, 2002
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Very partial implementation of BroadcastSystemMessageA.
parent
b6e3f498
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
5 deletions
+34
-5
winuser.h
include/winuser.h
+19
-0
message.c
windows/message.c
+15
-5
No files found.
include/winuser.h
View file @
5501f127
...
@@ -1539,6 +1539,25 @@ typedef struct
...
@@ -1539,6 +1539,25 @@ typedef struct
#define GCW_ATOM (-32)
#define GCW_ATOM (-32)
#define GCL_HICONSM (-34)
#define GCL_HICONSM (-34)
/* BroadcastSystemMessage flags */
#define BSM_ALLCOMPONENTS 0x00000000
#define BSM_VXDS 0x00000001
#define BSM_NETDRIVER 0x00000002
#define BSM_INSTALLABLEDRIVERS 0x00000004
#define BSM_APPLICATIONS 0x00000008
#define BSF_QUERY 0x00000001
#define BSF_IGNORECURRENTTASK 0x00000002
#define BSF_FLUSHDISK 0x00000004
#define BSF_NOHANG 0x00000008
#define BSF_POSTMESSAGE 0x00000010
#define BSF_FORCEIFHUNG 0x00000020
#define BSF_NOTIMEOUTIFNOTHUNG 0x00000040
#define BSF_ALLOWSFW 0x00000080
#define BSF_SENDNOTIFYMESSAGE 0x00000100
#define BSF_RETURNHDESK 0x00000200
#define BSF_LUID 0x00000400
/***** Window hooks *****/
/***** Window hooks *****/
...
...
windows/message.c
View file @
5501f127
...
@@ -1201,10 +1201,20 @@ WORD WINAPI RegisterWindowMessageW( LPCWSTR str )
...
@@ -1201,10 +1201,20 @@ WORD WINAPI RegisterWindowMessageW( LPCWSTR str )
*/
*/
LONG
WINAPI
BroadcastSystemMessage
(
LONG
WINAPI
BroadcastSystemMessage
(
DWORD
dwFlags
,
LPDWORD
recipients
,
UINT
uMessage
,
WPARAM
wParam
,
DWORD
dwFlags
,
LPDWORD
recipients
,
UINT
uMessage
,
WPARAM
wParam
,
LPARAM
lParam
LPARAM
lParam
)
)
{
{
if
((
*
recipients
&
BSM_APPLICATIONS
)
||
(
*
recipients
==
BSM_ALLCOMPONENTS
))
{
FIXME
(
"(%08lx,%08lx,%08x,%08x,%08lx): semi-stub!
\n
"
,
dwFlags
,
*
recipients
,
uMessage
,
wParam
,
lParam
);
PostMessageA
(
HWND_BROADCAST
,
uMessage
,
wParam
,
lParam
);
return
1
;
}
else
{
FIXME
(
"(%08lx,%08lx,%08x,%08x,%08lx): stub!
\n
"
,
FIXME
(
"(%08lx,%08lx,%08x,%08x,%08lx): stub!
\n
"
,
dwFlags
,
*
recipients
,
uMessage
,
wParam
,
lParam
dwFlags
,
*
recipients
,
uMessage
,
wParam
,
lParam
);
)
;
return
-
1
;
return
0
;
}
}
}
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