Logo Search packages:      
Sourcecode: libupnp4 version File versions  Download package

EXPORT_SPEC int UpnpNotify ( UpnpDevice_Handle  ,
const char *  DevID,
const char *  ServID,
const char **  VarName,
const char **  NewVal,
int  cVariables 

Sends out an event change notification to all control points subscribed to a particular service.

This function is synchronous and generates no callbacks.

This function may be called during a callback function to send out a notification.

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_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.
DevID  [in] The device ID of the subdevice of the service generating the event.
ServID  [in] The unique identifier of the service generating the event.
VarName  [in] Pointer to an array of variables that have changed.
NewVal  [in] Pointer to an array of new values for those variables.
cVariables  [in] The count of variables included in this notification.

Generated by  Doxygen 1.6.0   Back to index