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.