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

EXPORT_SPEC int UpnpGetServiceVarStatusAsync ( UpnpClient_Handle  Hnd,
const char *  ActionURL,
const char *  VarName,
Upnp_FunPtr  Fun,
const void *  Cookie 

Queries the state of a variable of a service, generating a callback when the operation is complete.

The use of this function is deprecated by the UPnP Forum.
An integer representing one of the following:
  • UPNP_E_SUCCESS: The operation completed successfully.
  • UPNP_E_INVALID_HANDLE: The handle is not a valid control point handle.
  • UPNP_E_INVALID_URL: The ActionUrl is not a valid URL.
  • UPNP_E_INVALID_PARAM: VarName, Fun or ActionUrl is not a valid pointer.
  • UPNP_E_OUTOF_MEMORY: Insufficient resources exist to complete this operation.
Hnd  [in] The handle of the control point.
ActionURL  [in] The URL of the service.
VarName  [in] The name of the variable to query.
Fun  [in] Pointer to a callback function to be invoked when the operation is complete.
Cookie  [in] Pointer to user data to pass to the callback function when invoked.

Generated by  Doxygen 1.6.0   Back to index