[This is preliminary documentation and subject to change.]
When your application no longer needs a DDI hook, you can call the UnhookDDIHook function to remove it. This function accepts a single parameter, hddi, that identifies the event hook that will be removed. This value is returned when the hook was set by calling the SetDDIHook function. For more information, see Setting a DDI Hook.