IUPnPServiceAsync::EndSubscribeToEvents method (upnp.h)
The EndSubscribeToEvents method retrieves the results of a previous BeginSubscribeToEvents operation.
Syntax
HRESULT EndSubscribeToEvents(
[in] ULONG64 ullRequestID
);
Parameters
[in] ullRequestID
A 64-bit ULONG value that corresponds to the BeginSubscribeToEvents 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 code | Description |
---|---|
|
The device received the request, but returned an error. |
|
The device has not responded within the 30 second time-out period. |
|
The query did not complete due to problems at the UPnP protocol level. |
|
The remote operation failed due to an HTTP problem. To retrieve the HTTP error code, use IUPnPService::LastTransportStatus. |
Note Some values can indicate that an error was received from a UPnP-certified device. For more information, see Device Error Codes.
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 |