Page tree
Skip to end of metadata
Go to start of metadata

Detaches an instance of an event sink from an event that was previously attached with EventAttachSink

Syntax

Parameters

hSink
The event sink you wish to detach. The event sink is returned from the call to EventRegisterSink 
strEventKey
Type: LPCWSTR
The key of the event you wish to detach from 
instanceGUID
Type: GUID
The instance UUID of the attached sink 
dwFlags
Type: DWORD

The bitflags that controls how the sink is detached from the event.

FlagDescription
EDSF_PERMANENTPermanently 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.

Return Value

Type: void
None

Remarks

None

Examples

None

See Also

EventAttachSink