Contents

LOCALONLY

Tells the system that the class or method runs locally in the driver extension’s process space.

Declaration

#define LOCALONLY

Discussion

DriverKit adds this macro to classes and methods that cannot be called remotely by the kernel or other processes. Instead, you call the methods locally from your driver’s process space. When applied to a class, the macro affects all methods of that class.

When calling the superclass implementation of a local-only method, call super like you normally would. Don’t use the SUPERDISPATCH macro to call the inherited implementation.

See Also

Runtime support