Contents

GetIdlePolicy

Gets the current idle suspend timeout for the interface.

Declaration

virtual kern_return_t GetIdlePolicy(uint32_t *deviceIdleTimeout);

Parameters

  • deviceIdleTimeout:

    A pointer to a variable. On return, the variable contains the amount of time, in milliseconds, to wait after all pipes are idle before suspending the device.

Return Value

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

See Also

Configuring the Interface