please dont rip this site Prev Next

BroadcastSystemMessage info  Overview  Group

The BroadcastSystemMessage function sends a message to the specified recipients. The recipients can be applications, installable drivers, Windows-based network drivers, system-level device drivers, or any combination of these system components.

long BroadcastSystemMessage(

    DWORD dwFlags, 

    LPDWORD lpdwRecipients, 

    UINT uiMessage, 

    WPARAM wParam, 

    LPARAM lParam 



Option flags. Can be a combination of the following values:




Flush the disk after each recipient processes the message.


Continue to broadcast the message, even if the time-out period elapses or one of the recipients is hung..


Do not send the message to windows that belong to the current task. This prevents an application from receiving its own message.


Force a hung application to time out. If one of the recipients times out, do not continue broadcasting the message.


Wait for a response to the message, as long as the recipient is not hung. Do not time out.


Post the message. Do not use in combination with BSF_QUERY.


Send the message to one recipient at a time, sending to a subsequent recipient only if the current recipient returns TRUE.

Pointer to a variable that contains and receives information about the recipients of the message. The variable can be a combination of the following values:




Broadcast to all system components.


Windows NT only: Broadcast to all desktops. Requires the SE_TCB_NAME privilege.


Broadcast to applications.


Windows 95: Broadcast to installable drivers.

Windows NT: This value is not meaningful.


Windows 95: Broadcast to Windows-based network drivers.

Windows NT: This value is not meaningful.


Windows 95: Broadcast to all system-level device drivers.

Windows NT: This value is not meaningful.

When the function returns, this variable receives a combination of these values identifying which recipients actually received the message.

If this parameter is NULL, the function broadcasts to all components.

Identifier of the system message.
32-bit message-specific value.
32-bit message-specific value.

Return Values

If the function succeeds, the return value is a positive value.

If the function is unable to broadcast the message, the return value is -1.

If the dwFlags parameter is BSF_QUERY and at least one recipient returned BROADCAST_QUERY_DENY to the corresponding message, the return value is zero. To get extended error information, call GetLastError.


If BSF_QUERY is not specified, the function sends the specified message to all requested recipients, ignoring values returned by those recipients.


See also:

file: /Techref/os/win/api/win32/func/src/f03_13.htm, 7KB, , updated: 2005/10/27 12:17, local time: 2022/5/21 14:31,

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> BroadcastSystemMessage</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host, Top posters @20220521
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.

Welcome to!