Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6082953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:20:47+00:00 2026-05-23T11:20:47+00:00

The Windows Device Management functions provide a way to uniformly notify all applications and

  • 0

The Windows Device Management functions “provide a way to uniformly notify all applications and system components of changes that may affect their operation or access to resources”.

I have a service that needs to provide notifications of certain events to any interested applications and services. This API looks like a perfect fit, because interested applications/services can elect to receive the broadcasts with RegisterDeviceNotification() and the sender doesn’t have to keep a list of clients.

The DBT_CUSTOMEVENT event type seemed to be the right one to use, but that can be sent only by kernel mode drivers. Fortunately there is a DBT_USERDEFINED. The documentation says this should be sent using BroadcastSystemMessage().

But then a colleague reminded me of “session zero isolation” in Windows Vista. Will BroadcastSystemMessage() of a WM_DEVICECHANGE be able to reach applications running in all sessions, as well as other services?

It looks like the question doesn’t arise for kernel drivers because they use a different function to send the message. But my notifications originate in a service, not a kernel driver.

Am I barking up the wrong tree? I know I could use named pipes, but I really want a broadcast mechanism to keep things as simple as possible. I don’t want the service that originates the messages to have to worry about where they are going. I also want to avoid third-party libraries. I want to do this the proper Microsoft-Approved Way and not re-invent the wheel.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:20:48+00:00Added an answer on May 23, 2026 at 11:20 am

    According to the documentation for BroadcastSystemMessage() you can include the BSM_ALLDESKTOPS flag which looks like it will be needed for what you desire. It requires the SE_TCB_NAME privilege.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Windows CE device that we are deploying, but we have complete
I'm implementing a ioctl in a Windows CE device driver that takes a pointer
I'm looking for a way to connect a Windows Mobile device to a PC
Is there any device management API available for Windows Phone Mango, for remotely locking
I am developing a Windows device-driver and need to delay execution of a system
On a windows mobile device I have a mutliline text edit control that is
I'm working on a project that uses a Windows Mobile device to call a
I've a Windows CE device on which I try to install all Exceptions message
I need to setup an application on a Windows CE device that is connected
I have an ASP.NET application designed for a Windows CE device that needs to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.