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
This function is synchronous and generates no callbacks.
This function can be called during the execution of a callback function.
- An integer representing one of the following:
UPNP_E_SUCCESS: The operation completed successfully.
UPNP_E_INVALID_HANDLE: The handle is not a valid device handle.
UPNP_E_INVALID_SERVICE: The DevId/ServId pair refers to an invalid service.
UPNP_E_INVALID_SID: The specified subscription ID is not valid.
UPNP_E_INVALID_PARAM: Either VarName, NewVal, DevID, or ServID is not a valid pointer or cVariables is less than zero.
UPNP_E_OUTOF_MEMORY: Insufficient resources exist to complete this operation.
[in] The handle of the device. |
[in] The device ID of the subdevice of the service generating the event. |
[in] The unique service identifier of the service generating the event. |
[in] Pointer to an array of event variables. |
[in] Pointer to an array of values for the event variables. |
[in] The number of event variables in VarName. |
[in] The subscription ID of the newly registered control point. |