IUPnPServiceAsync::EndSCPDDownload method (upnp.h)
The EndSCPDDownload method retrieves the results of a previous asynchronous download of an Service Control Protocol Description (SCPD) document.
Syntax
HRESULT EndSCPDDownload(
ULONG64 ullRequestID,
[out] BSTR *pbstrSCPDDoc
);
Parameters
ullRequestID
Pointer to a 64-bit ULONG value that corresponds to the BeginSCPDDownload operation requested prior to this call.
[out] pbstrSCPDDoc
A buffer containing the SCPD document.
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 code | Description |
---|---|
|
Failed to finalize the SCPD download and retrieve the document string. |
|
ullRequestID does not match the pending async call. |
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 |
DLL | Upnp.dll |