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

Note: system-level device drivers

Is this documentation correct?

If so, how does the WDM-type system-level device drivers get this message,
possibbly via IoRegisterPlugPlayNotification? which parameters to pass to
this call?
Or maybe another registration function?

And also, if so what parameters to pass in BroadcastSystemMessage(
DWORD dwFlags,
LPDWORD lpdwRecipients,
UINT uiMessage,
WPARAM wParam,
LPARAM lParam
) ???

such that it can be seen by a wdm driver

thanks

tom

Re: BroadcastSystemMessage and system-level device drivers by Don

Don
Sat Feb 04 15:06:53 CST 2006

Look at the recipients field, the drivers is only for Win9x type systems.
The doc for BroadcastSystemMessageEx seems to be definitely wrong since the
system has to be XP or later!


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply



"Tom Picard" <TomPicard@discussions.microsoft.com> wrote in message
news:C1F3449C-02CD-4A0D-9E82-BC0E82A4E625@microsoft.com...
> according to the sdk
> "The BroadcastSystemMessage function sends a message to the specified
> recipients. The recipients can be applications, installable drivers,
> network
> drivers, system-level device drivers, or any combination of these system
> components"
>
> Note: system-level device drivers
>
> Is this documentation correct?
>
> If so, how does the WDM-type system-level device drivers get this message,
> possibbly via IoRegisterPlugPlayNotification? which parameters to pass to
> this call?
> Or maybe another registration function?
>
> And also, if so what parameters to pass in BroadcastSystemMessage(
> DWORD dwFlags,
> LPDWORD lpdwRecipients,
> UINT uiMessage,
> WPARAM wParam,
> LPARAM lParam
> ) ???
>
> such that it can be seen by a wdm driver
>
> thanks
>
> tom