Callback for a Provider when a DOFInterfaceProperty is to be subscribed. This callback must decide whether or not to accept the new subscription. The Provider may choose to not allow the subscription by throwing an exception on the request (see DOFRequest_Throw). The request will remain valid until the SubscribeComplete callback is called. If the application chooses not to supply a SubscribeComplete callback, then the subscription request must be accepted or rejected synchronously inside this callback. If the application initially accepts the subscription, the application can terminate it (as long as the request remains valid) by calling DOFRequest_Throw. This callback may be NULL if the application does not monitor nor control subscriptions to any Property (subscriptions to any readable properties will be automatically accepted).
|