IUPnPServiceAsync::BeginSCPDDownload method

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

Syntax


HRESULT BeginSCPDDownload(
  [in, optional]  IUPnPAsyncResult *pAsyncResult,
  [out]           ULONG64 *pullRequestID
);

Parameters

pAsyncResult [in, optional]

Specifies a pointer to an IUPnPAsyncResult object. When the BeginSCPDDownload call is complete, UPnP will use the IUPnPAsyncResult::AsyncOperationComplete method to notify the control point.

pullRequestID [out]

Pointer to a 64-bit ULONG value used to identify the BeginSCPDDownload operation requested prior to this call.

Return value

Returns S_OK on success. Otherwise, the method returns a COM error code defined in WinError.h or one of the following values:

Return codeDescription
E_FAIL

Failed to initiate the SCPD download.

E_INVALIDARG

pAsyncResult is invalid.

 

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

IUPnPServiceAsync
IUPnPServiceAsync::BeginInvokeAction
IUPnPAsyncResult::AsyncOperationComplete

 

 

Community Additions

ADD
Show:
© 2014 Microsoft