Contents

GetAddress

Returns the address of the device.

Declaration

virtual kern_return_t GetAddress(uint8_t *address) const;

Parameters

  • address:

    A pointer to a variable. On output, the variable contains the device’s address.

Return Value

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

See Also

Getting Device Information