---
title: Invalidate
framework: DriverKit
role: symbol
role_heading: Instance Method
path: driverkit/ioeventlink/invalidate
---

# Invalidate

## Declaration

```occ
kern_return_t Invalidate();
```

## Return Value

Return Value kIOReturnSuccess on success. See IOReturn.h for error codes.

## Discussion

Discussion Invalidate the IOEventLink. This releases the kernel reference to the IOEventLink, allowing the name to be used for a different IOEventLink. This method should be called after the client has configured the eventlink with the IOConnectTrap call. After invalidation, the IOEventLink can no longer be configured through the IOConnectTrap call. No other functionality is affected.
