QuerySinkEvent_e (Windows Embedded CE 6.0)

1/5/2010

This enumeration provides values that identify types of events for the query event sink.

Syntax

enum QuerySinkEvent_e { 
  MQE_EVENT_NETWORKAVAILABLE = 0, 
  MQE_EVENT_NETWORKNOTAVAILABLE, 
  MQE_EVENT_SERVERCONNECTED, 
  MQE_EVENT_SERVERDISCONNECTED, 
  MQE_EVENT_SERVERACTIVATED, 
  MQE_EVENT_SERVERDEACTIVATED, 
  MQE_EVENT_DEVICEAUTHORIZED, 
  MQE_EVENT_DEVICEAUTHORIZATIONREVOKED, 
  MQE_EVENT_DEVICEREGISTERED, 
  MQE_EVENT_DEVICEREGISTRATIONREVOKED, 
  MQE_EVENT_CONTENTUPDATE_MUSIC, 
  MQE_EVENT_CONTENTUPDATE_VIDEO, 
  MQE_EVENT_CONTENTUPDATE_PICTURE, 
  MQE_EVENT_CRITICALERROR 
};

Elements

  • MQE_EVENT_NETWORKAVAILABLE
    Indicates that the media query ending is connected to a network. The media query engine sends this message when it finds a network during startup and upon reconnection after a period of lost connectivity. This message can only be sent if the devices network adapter supports Media Sense.
  • MQE_EVENT_NETWORKNOTAVAILABLE
    Indicates that the media query engine has lost network connectivity. This message can only be sent if the devices network adapter supports Media Sense.
  • MQE_EVENT_SERVERCONNECTED
    Indicates that the media query engine found a media server.
  • MQE_EVENT_SERVERDISCONNECTED
    Indicates that a server that had previously been attached to the media query engine is no longer available.
  • MQE_EVENT_SERVERACTIVATED
    Indicates that a server has been selected as the current active server and that it was successfully activated.
  • MQE_EVENT_SERVERDEACTIVATED
    Indicates that the current active server is no longer active
  • MQE_EVENT_DEVICEAUTHORIZED
    Indicates that the networked media device is authorized on the active media server.
  • MQE_EVENT_DEVICEAUTHORIZATIONREVOKED
    Indicates that active server revoked the networked media device's authorization.
  • MQE_EVENT_DEVICEREGISTERED
    Indicates that the device has successfully registered with the active server using Windows Media DRM for Network Devices.
  • MQE_EVENT_DEVICEREGISTRATIONREVOKED
    Indicated that the active server revoked the device's registration.
  • MQE_EVENT_CONTENTUPDATE_MUSIC
    Music content on active server has changed. The AdditionalInfo fieldfor the event provides the container number that changed.
  • MQE_EVENT_CONTENTUPDATE_VIDEO
    Indicates that video content on the active server has changed. The AdditionalInfo fieldfor the event provides the container number that changed.
  • MQE_EVENT_CONTENTUPDATE_PICTURE
    Indicates that still image content on the active server has changed. The AdditionalInfo fieldfor the event provides the container number changed.
  • MQE_EVENT_CRITICALERROR
    Indicates that the media query engine encountered an error. An error occurs when the media query engine was unable to start a search for UPnP devices.

Requirements

Header mediaqueryengine.hpp
Library MQELib.lib
Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later

See Also

Concepts

Media Query Engine Enumerations