From: leafbanana on
I'm writing a co-installer for my driver and I need to broadcast a
private message to all running applications in the entry point. I use
the BroadcastSystemMessage api as below:

DWORD dwRecipients = BSM_APPLICATIONS | BSM_ALLDESKTOPS;
BroadcastSystemMessage(BSF_POSTMESSAGE | BSF_IGNORECURRENTTASK,
&dwRecipients,
g_uBroadcastMsgId,
1, 0);

But it seems not working in Vista. How should I do?
Any help will be appreciated.
From: leafbanana on
I used the Spy++ tool to check applications, they never received the
message at all. But it's OK in WinXP.
From: Maxim S. Shatskih on
In Vista, the coinstaller runs on another desktop and cannot access the UI
of the interactive apps.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

<leafbanana(a)163.com> wrote in message
news:42862521-3209-477f-9842-d148a5ea4927(a)s33g2000pri.googlegroups.com...
> I'm writing a co-installer for my driver and I need to broadcast a
> private message to all running applications in the entry point. I use
> the BroadcastSystemMessage api as below:
>
> DWORD dwRecipients = BSM_APPLICATIONS | BSM_ALLDESKTOPS;
> BroadcastSystemMessage(BSF_POSTMESSAGE | BSF_IGNORECURRENTTASK,
> &dwRecipients,
> g_uBroadcastMsgId,
> 1, 0);
>
> But it seems not working in Vista. How should I do?
> Any help will be appreciated.

From: leafbanana on
Thanks! It's limitation of Vista, isn't it? Any solution for this
issue?
From: Maxim S. Shatskih on
None I'm afraid of.

Why do you need this? What is the interest for _all_ applications about
your device being installed?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

<leafbanana(a)163.com> wrote in message
news:f16c75ff-4e40-4398-9105-354df83f232c(a)1g2000prg.googlegroups.com...
> Thanks! It's limitation of Vista, isn't it? Any solution for this
> issue?