IWSDServiceProxyEventing::RenewMultipleOperations method (wsdclient.h)
Renews a collection of existing notification subscriptions by submitting a new duration.
Syntax
HRESULT RenewMultipleOperations(
[in] const WSD_OPERATION *pOperations,
[in] DWORD dwOperationCount,
[in] const WSD_EVENTING_EXPIRES *pExpires,
[in] const WSDXML_ELEMENT *pAny,
[out] WSD_EVENTING_EXPIRES **ppExpires,
[out] WSDXML_ELEMENT **ppAny
);
Parameters
[in] pOperations
Pointer to an array of references to WSD_OPERATION structures that specify the operation subscriptions to renew.
[in] dwOperationCount
The number of elements in the array in pOperations.
[in] pExpires
Pointer to a WSD_EVENTING_EXPIRES structure that specifies requested duration for the subscription.
[in] pAny
Pointer to extensible data to be added to the body of the request. This parameter is optional.
[out] ppExpires
Pointer to a pointer to a WSD_EVENTING_EXPIRES structure that specifies the duration of the subscription that was just renewed. Upon completion, call WSDFreeLinkedMemory to free the memory. This parameter is optional.
[out] ppAny
Extensible data that the remote device can add to the subscription response. This allows services to provide additional customization of renew requests. When done, call WSDFreeLinkedMemory to free the memory. For details, see WSDXML_ELEMENT. This parameter is optional.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | wsdclient.h (include Wsdapi.h) |
DLL | Wsdapi.dll |