The reason code for an event callback.
Enumerator |
---|
UPNP_CONTROL_ACTION_REQUEST | Received by a device when a control point issues a control request. The Event parameter contains a pointer to a UpnpActionRequest structure containing the action. The application stores the results of the action in this structure.
|
UPNP_CONTROL_ACTION_COMPLETE | A UpnpSendActionAsync call completed. The Event parameter contains a pointer to a UpnpActionComplete structure with the results of the action.
|
UPNP_CONTROL_GET_VAR_REQUEST | Received by a device when a query for a single service variable arrives. The Event parameter contains a pointer to a UpnpStateVarRequest structure containing the name of the variable and value.
|
UPNP_CONTROL_GET_VAR_COMPLETE | A UpnpGetServiceVarStatus call completed. The Event parameter contains a pointer to a UpnpStateVarComplete structure containing the value for the variable.
|
UPNP_DISCOVERY_ADVERTISEMENT_ALIVE | Received by a control point when a new device or service is available. The Event parameter contains a pointer to a UpnpDiscovery structure with the information about the device or service.
|
UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE | Received by a control point when a device or service shuts down. The Event parameter contains a pointer to a UpnpDiscovery structure containing the information about the device or service.
|
UPNP_DISCOVERY_SEARCH_RESULT | Received by a control point when a matching device or service responds. The Event parameter contains a pointer to a UpnpDiscovery structure containing the information about the reply to the search request.
|
UPNP_DISCOVERY_SEARCH_TIMEOUT | Received by a control point when the search timeout expires. The SDK generates no more callbacks for this search after this event. The Event parameter is NULL .
|
UPNP_EVENT_SUBSCRIPTION_REQUEST | Received by a device when a subscription arrives. The Event parameter contains a pointer to a UpnpSubscriptionRequest structure. At this point, the subscription has already been accepted. UpnpAcceptSubscription needs to be called to confirm the subscription and transmit the initial state table. This can be done during this callback. The SDK generates no events for a subscription unless the device application calls UpnpAcceptSubscription.
|
UPNP_EVENT_RECEIVED | Received by a control point when an event arrives. The Event parameter contains a UpnpEvent structure with the information about the event.
|
UPNP_EVENT_RENEWAL_COMPLETE | A UpnpRenewSubscriptionAsync call completed. The status of the renewal is in the Event parameter as a Upnp_Event_Subscription structure.
|
UPNP_EVENT_SUBSCRIBE_COMPLETE | A UpnpSubscribeAsync call completed. The status of the subscription is in the Event parameter as a Upnp_Event_Subscription structure.
|
UPNP_EVENT_UNSUBSCRIBE_COMPLETE | A UpnpUnSubscribeAsync call completed. The status of the subscription is in the Event parameter as a UpnpEventSubscribe structure.
|
UPNP_EVENT_AUTORENEWAL_FAILED | The auto-renewal of a client subscription failed. The Event parameter is a UpnpEventSubscribe structure with the error code set appropriately. The subscription is no longer valid.
|
UPNP_EVENT_SUBSCRIPTION_EXPIRED | A client subscription has expired. This will only occur if auto-renewal of subscriptions is disabled. The Event parameter is a UpnpEventSubscribe structure. The subscription is no longer valid.
|