IUPnPServiceAsync interface

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.

Members

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

Methods

The IUPnPServiceAsync interface has these methods.

MethodDescription
BeginInvokeAction

Invokes an action on a device in asynchronous mode.

BeginQueryStateVariable

Initiates a request for the state variable value for a specific service in asynchronous mode.

BeginSCPDDownload

Initiates asynchronous download of the Service Control Protocol Description (SCPD) document.

BeginSubscribeToEvents

Initiates the registration of an application callback with the UPnP framework in asynchronous mode.

CancelAsyncOperation

Cancels any asynchronous operation initiated by the BeginInvokeAction, BeginQueryStateVariable, BeginSubscribeToEvents, or BeginSCPDDownload methods.

EndInvokeAction

Finalizes a BeginInvokeAction operation and retrieves the resultant output arguments.

EndQueryStateVariable

Retrieves the service state variable value requested by BeginQueryStateVariable.

EndSPCDDownload

Finalizes asynchronous download of the Service Control Protocol Description (SCPD) document initiated by BeginSCPDDownload.

EndSubscribeToEvents

Finalizes the BeginSubscribeToEvents operation.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Upnp.h

DLL

Upnp.dll

See also

IUPnPAsyncResult

 

 

Community Additions

ADD
Show:
© 2014 Microsoft