Detaches an instance of an event sink from an event that was previously attached with EventAttachSink
The event sink you wish to detach. The event sink is returned from the call to EventRegisterSink
The key of the event you wish to detach from
The instance UUID of the attached sink
The bitflags that controls how the sink is detached from the event.
|EDSF_PERMANENT||Permanently detaches the event hook from the event. If you wish to maintain the link between the sink and the event, but NOT have the sink called when the event is fired, then don't specify this flag. Typically you would set this flag when calling EventDetachSink.|