pub unsafe extern "C" fn OH_Input_GetDeviceVendor(
deviceInfo: *mut Input_DeviceInfo,
vendor: *mut i32,
) -> Input_ResultAvailable on crate feature
api-13 only.Expand description
Obtains the vendor information of an input device.
§Arguments
-
deviceInfo- information object. For details, seeInput_DeviceInfo. -
vendor- Pointer to the vendor information of the input device.
§Returns
- OH_Input_GetDeviceVendor result code, specifically,
[
INPUT_SUCCESS] if the operation is successful; [INPUT_PARAMETER_ERROR] if deviceInfo or vendor is a null pointer.
Required System Capabilities: SystemCapability.MultimodalInput.Input.Core
Available since API-level: 13