Callback for a Provider when a DOFInterfaceEvent handler is registered. This callback must decide whether or not to accept the new registration. The Provider may choose to not allow the registration by throwing an exception on the request (see DOFRequest_Throw). The request will remain valid until the RegisterComplete callback is called. If the application chooses not to supply a RegisterComplete callback, then the registration request must be accepted or rejected synchronously inside this callback. If the application initially accepts the registration, 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 registrations to any Event (registrations to any event will be automatically accepted).
|