ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOUserClient.h

Includes:
<IOKit/IOTypes.h>
<IOKit/IOService.h>
<IOKit/OSMessageNotification.h>

Overview

This header contains the class definition of the IOUserClient class. This class defines methods that support the communication between user-space device drivers and the kernel. For more information, see I/O Kit Fundamentals and Accessing Hardware From Applications.



Classes

IOUserClient

Provides a basis for communication between client applications and I/O Kit objects.



Enumerations


kIOExternalMethodScalarInputCountMax


Constants to specify the maximum number of scalar arguments in the IOExternalMethodArguments structure. These constants are documentary since the scalarInputCount, scalarOutputCount fields reflect the actual number passed.

enum { 
    kIOExternalMethodScalarInputCountMax = 16, 
    kIOExternalMethodScalarOutputCountMax = 16, 
};  
Constants
kIOExternalMethodScalarInputCountMax

The maximum number of scalars able to passed on input.

kIOExternalMethodScalarOutputCountMax

The maximum number of scalars able to passed on output.


kIOUCVariableStructureSize


Constant to denote a variable length structure argument to IOUserClient.

enum { 
    kIOUCVariableStructureSize = 0xffffffff 
};  
Constants
kIOUCVariableStructureSize

Use in the structures IOExternalMethod, IOExternalAsyncMethod, IOExternalMethodDispatch to specify the size of the structure is variable.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19