---
title: GetVendorString
framework: BlockStorageDeviceDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 21.0+]
path: blockstoragedevicedriverkit/iouserblockstoragedevice/getvendorstring
---

# GetVendorString

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

## Declaration

```occ
virtual kern_return_t GetVendorString(struct DeviceString *vendor);
```

## Parameters

- `vendor`: An in/out doc://com.apple.blockstoragedevicedriverkit/documentation/BlockStorageDeviceDriverKit/DeviceString parameter. On output, populate this structure with the vendor string.

## Return Value

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

## See Also

### Reporting Device Metadata

- [GetProductString](blockstoragedevicedriverkit/iouserblockstoragedevice/getproductstring.md)
- [GetRevisionString](blockstoragedevicedriverkit/iouserblockstoragedevice/getrevisionstring.md)
- [GetAdditionalInfoString](blockstoragedevicedriverkit/iouserblockstoragedevice/getadditionalinfostring.md)
- [DeviceString](blockstoragedevicedriverkit/devicestring.md)
- [GetDeviceParams](blockstoragedevicedriverkit/iouserblockstoragedevice/getdeviceparams.md)
- [DeviceParams](blockstoragedevicedriverkit/deviceparams.md)
