EXPORT_SPEC int UpnpAcceptSubscription

( IN UpnpDevice_Handle Hnd,
  IN const char* DevID,
  IN const char* ServID,
  IN const char** VarName,
  IN const char** NewVal,
  IN int cVariables,
  IN Upnp_SID SubsId )

UpnpAcceptSubscription accepts a subscription request and sends out the current state of the eventable variables for a service.

Documentation

UpnpAcceptSubscription accepts a subscription request and sends out the current state of the eventable variables for a service. The device application should call this function when it receives a UPNP_EVENT_SUBSCRIPTION_REQUEST callback. This function is synchronous and generates no callbacks.

UpnpAcceptSubscription can be called during the execution of a callback function.

Parameters:
Hnd - The handle of the device.
DevID - The device ID of the subdevice of the service generating the event.
ServID - The unique service identifier of the service generating the event.
VarName - Pointer to an array of event variables.
NewVal - Pointer to an array of values for the event variables.
cVariables - The number of event variables in VarName.
SubsId - The subscription ID of the newly registered control point.
Returns:
[int] An integer representing one of the following:

Alphabetic index



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