|
Prev: How make .inf file for 'mouser' sample code
Next: punting back to gdi with EngTextOut not working
From: leafbanana on 5 May 2008 21:53 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 5 May 2008 21:59 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 6 May 2008 14:21 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 6 May 2008 22:13 Thanks! It's limitation of Vista, isn't it? Any solution for this issue?
From: Maxim S. Shatskih on 7 May 2008 06:31 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?
|
Pages: 1 Prev: How make .inf file for 'mouser' sample code Next: punting back to gdi with EngTextOut not working |