Contents

GetDeviceParams

Gets device parameters in response to a call from the framework.

Declaration

virtual kern_return_t GetDeviceParams(struct DeviceParams *deviceParams);

Parameters

  • deviceParams:

    An in/out Deviceparams parameter. On output, populate this structure with the device’s parameter data.

Return Value

A value that indicates the get-device-params result. Return kIOReturnSuccess to inidicate success. To indicate a failure, see IOKit Constants for error definitions.

See Also

Reporting Device Metadata