locked
no GUID id is associated with this object

    Question

  • trying to execute __uuidof(IAudioMeterInformation) with regards to some audio info I am wanting access to, however I continue to get the error "no GUID id is associated with this object"  , Has anyone else encountered anything similar?

     

    thanks

    Wednesday, September 21, 2011 9:40 PM

Answers

  • Hi Wes,

    That error means that the interface is not available for Metro style apps.  If you look at the endpointvolume.h file that it is defined in you will see that it is in a WINAPI_PARTITION_DESKTOP region and not in a WINAPI_PARTITION_APP.

    --Rob

    Thursday, September 22, 2011 3:08 AM
    Moderator