Contents

GetProductString

Gets a string that identifies the product in response to a call from the framework.

Declaration

virtual kern_return_t GetProductString(struct DeviceString *product);

Parameters

  • product:

    An in/out Devicestring parameter. On output, populate this structure with the product string.

Return Value

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

See Also

Reporting Device Metadata