---
title: CopyDataServicedHandler
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/iodataqueuedispatchsource/copydataservicedhandler
---

# CopyDataServicedHandler

A private method that the dispatch source uses to detect dequeued data.

## Declaration

```occ
virtual kern_return_t CopyDataServicedHandler(OSAction **action);
```

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

## See Also

### Performing Internal Tasks

- [CopyDataAvailableHandler](driverkit/iodataqueuedispatchsource/copydataavailablehandler.md)
- [CopyMemory](driverkit/iodataqueuedispatchsource/copymemory.md)
- [CheckForWork](driverkit/iodataqueuedispatchsource/checkforwork.md)
