MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / GetDeviceVendorId

Function GetDeviceVendorId

src/dotnetlib/LibCecSharp.cpp:359–365  ·  view source on GitHub ↗

Get the vendor ID of the device with the given logical address. The logical address of the device to get the vendor ID for. The vendor ID or 0 if it wasn't found.

Source from the content-addressed store, hash-verified

357 /// <param name="logicalAddress">The logical address of the device to get the vendor ID for.</param>
358 /// <returns>The vendor ID or 0 if it wasn't found.</returns>
359 CecVendorId GetDeviceVendorId(CecLogicalAddress logicalAddress)
360 {
361 if (!m_libCec) {
362 return CecVendorId::Unknown;
363 }
364 return (CecVendorId)m_libCec->GetDeviceVendorId((cec_logical_address) logicalAddress);
365 }
366
367 /// <summary>
368 /// Get the power status of the device with the given logical address.

Callers

nothing calls this directly

Calls 1

GetDeviceVendorIdMethod · 0.45

Tested by

no test coverage detected