ComputerDictionaries.org      Computer terms spelled out...
Home -› Software -› Win32 API Glossary -› BroadcastSystemMessage
Online dictionary
From all Dictionaries     Only from this Category     Only from this Dictionary
 

Dictionaries by Category


High-Tech News

Definition Of:

BroadcastSystemMessage

Win32 API GlossaryWin32 API Glossary
[Now Supported on Windows NT]

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
);


Parameters

dwFlags

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

Value Meaning
BSF_FLUSHDISK Flush the disk after each recipient processes the message.
BSF_FORCEIFHUNG Continue to broadcast the message, even if the time-out period elapses or one of the recipients is hung..
BSF_IGNORECURRENTTASK Do not send the message to windows that belong to the current task. This prevents an application from receiving its own message.
BSF_NOHANG Force a hung application to time out. If one of the recipients times out, do not continue broadcasting the message.
BSF_NOTIMEOUTIFNOTHUNG Wait for a response to the message, as long as the recipient is not hung. Do not time out.
BSF_POSTMESSAGE Post the message. Do not use in combination with BSF_QUERY.
BSF_QUERY Send the message to one recipient at a time, sending to a subsequent recipient only if the current recipient returns TRUE.


lpdwRecipients

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:

Value Meaning
BSM_ALLCOMPONENTS Broadcast to all system components.
BSM_ALLDESKTOPS Windows NT only: Broadcast to all desktops. Requires the SE_TCB_NAME privilege.
BSM_APPLICATIONS Broadcast to applications.
BSM_INSTALLABLEDRIVERS Windows 95: Broadcast to installable drivers.Windows NT: This value is not meaningful.
BSM_NETDRIVER Windows 95: Broadcast to Windows-based network drivers.Windows NT: This value is not meaningful.
BSM_VXDS 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.

uiMessage

Identifier of the system message.

wParam

32-bit message-specific value.

lParam

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.

Remarks

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

 

Win32 API Glossary INDEX:

List of Terms: Terms beginning with "A", Page 1

A B C D E F G H I K L S W
1 2 3 4 5 6 7 8

A: Page 1 of 8.

ABC
ABCFLOAT
AbnormalTermination
AbortDoc
AbortPath
AbortPrinter
AbortProc
AbortSystemShutdown
ACCEL
AccelTableEntry...

Other Resources

Online Dictionary

WhatIs.com - Tech Dictionary & Encyclopedia

Webopedia

FOLDOC Computing Dictionary

IBM Terminology

Microsoft Glossary

HP Computing glossary

Oracle Glossary

Computer History Museum

FILExt - The File Extension Source

ComputerUser Dictionary


Home   |   Translation  |   Dictionary   |   About Us   |   Contact Us
ComputerDictionaries.org
  Powered by Babylon - Translation Software
Copyright 2008, ComputerDictionaries.org. All rights reserved.