[wdmaudiodev] Re: Problem writing to endpoint property store using Standard user account on Vista

  • From: Larry Osterman <Larry.Osterman@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 18 Oct 2006 09:56:34 -0700

Signing the APO won't affect your ability to read or write to the property 
store.

If you use the IPropertyStore objects handed to your prop page extension in the 
sound control panel, you should be able to read and write properties to that 
store.


-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of mike@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, October 18, 2006 8:35 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Problem writing to endpoint property store using 
Standard user account on Vista

Larry,
   Does this have anything to do with the fact that my APO isn't signed, or 
just because the app isn't running as administrator?  Like I said previously, 
I'm seing the same problem with the property page extension for the endpoint in 
the Sound control panel.  Also, is this just a problem with the endpoint 
property store and not the system effects endpoint?

Mike

-----Original Message-----

From:  Larry Osterman <Larry.Osterman@xxxxxxxxxxxxx>
Subj:  [wdmaudiodev] Re: Problem writing to endpoint property store using 
Standard user account on Vista
Date:  Wed Oct 18, 2006 7:01 am
Size:  2K
To:  "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>

That's correct.  The endpoint property store is machine-wide and only 
administrators can modify it.  If you need to modify the endpoint property 
store outside the mmsys.cpl framework, you need to run your applet elevated.


-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Michael R. Preston
Sent: Tuesday, October 17, 2006 10:15 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Problem writing to endpoint property store using 
Standard user account on Vista

I'm seeing a problem writing to the endpoint property store from an
application or from a property page extension in the Sound control panel
when running on a Standard user account.  When doing an
OpenPropertyStore() on the default endpoint's MMDevice with either
STGM_READWRITE or STGM_WRITE, the call fails.  Opening the property
store with STGM_READ still works, though.  However, the exact same code
(with STGM_READWRITE specified) works on an administrator account.
Could this be a problem with unsigned drivers or APOs?  I noticed the
problem in RC1, and it's still there in RC2.  The problem doesn't happen
with the built-in system effects, but does happen with my custom APO.
Anyone have any ideas?

Thanks,
Mike
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|            Mike Preston          | Home/Office: (360)756-1655 |
| E-mail: mike@xxxxxxxxxxxxxxxxxxx |        Cell: (360)303-9331 |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|     The man who follows the crowd will usually get no         |
|     further than the crowd.  The man who walks alone is       |
|     likely to find himself in places no one has ever been.    |
|                     -- Alan Ashley-Pitt                       |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/




******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: