IUPnPServiceAsync interface (upnp.h)

Use this interface to asynchronously query state variables and invoke actions on an instance of a service .

This interface can be obtained through a QueryInterface off the IUPnPService object.

Inheritance

The IUPnPServiceAsync interface inherits from the IUnknown interface. IUPnPServiceAsync also has these types of members:

Methods

The IUPnPServiceAsync interface has these methods.

 
IUPnPServiceAsync::BeginInvokeAction

BeginInvokeAction method invokes an action on a device in asynchronous mode. Additionally, if a delayed SCPD download and event subscription is opted-in, and it has not taken place already, this method will initiate SCPD download.
IUPnPServiceAsync::BeginQueryStateVariable

BeginQueryStateVariable method initiates an asynchronous request for the state variable value from a specific service.
IUPnPServiceAsync::BeginSCPDDownload

BeginSCPDDownload method initiates the asynchronous download of an Service Control Protocol Description (SCPD) document.
IUPnPServiceAsync::BeginSubscribeToEvents

BeginSubscribeToEvents initiates event subscription in asynchronous mode and registers the application callback with the UPnP framework.
IUPnPServiceAsync::CancelAsyncOperation

CancelAsyncOperation method cancels a pending asynchronous operation initiated by the BeginInvokeAction, BeginQueryStateVariable, BeginSubscribeToEvents, or BeginSCPDDownload methods.
IUPnPServiceAsync::EndInvokeAction

EndInvokeAction method retrieves the results of a previous BeginInvokeAction operation and retrieves the resultant output arguments.
IUPnPServiceAsync::EndQueryStateVariable

EndQueryStateVariable method retrieves the results of a previous BeginQueryStateVariable operation and retrieves the resultant service-specific state variable value.
IUPnPServiceAsync::EndSCPDDownload

EndSCPDDownload method retrieves the results of a previous asynchronous download of an Service Control Protocol Description (SCPD) document.
IUPnPServiceAsync::EndSubscribeToEvents

EndSubscribeToEvents method retrieves the results of a previous BeginSubscribeToEvents operation.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header upnp.h

See also

IUPnPAsyncResult