EXPORT_SPEC int UpnpRenewSubscriptionAsync

( IN UpnpClient_Handle Hnd,
  IN int TimeOut,
  IN Upnp_SID SubsId,
  IN Upnp_FunPtr Fun,
  IN const void* Cookie )

UpnpRenewSubscriptionAsync renews a subscription that is about to expire, generating a callback when the operation is complete.

Documentation

UpnpRenewSubscriptionAsync renews a subscription that is about to expire, generating a callback when the operation is complete.

Note that many of the error codes for this function are returned in the Upnp_Event_Subscribe structure. In those cases, the function returns UPNP_E_SUCCESS and the appropriate error code will be in the Upnp_Event_Subscribe.ErrCode field in the Event structure passed to the callback.

Parameters:
Hnd - The handle of the control point that is renewing the subscription.
- TimeOut The requested subscription time. The actual timeout value is returned when the callback function is called.
SubsId - The ID for the subscription to renew.
Fun - Pointer to a callback function to be invoked when the renewal is complete.
Cookie - Pointer to user data passed to the callback function when invoked.
Returns:
[int] An integer representing one of the following:

Alphabetic index



This page was generated with the help of DOC++.