Contents

setInterfaceState

Updates the interface object state flags.

Declaration

virtual UInt32 setInterfaceState(
 UInt32 set,
 UInt32 clear = 0 );

Parameters

  • set:

    The flags that should be set.

  • clear:

    The flags that should be cleared.

Return Value

Returns the new interface state flags.

Overview

The flags reflect the current state of the interface, and is also published through the kIOInterfaceState property.

See Also

Miscellaneous