VideoDeviceController.GetDevicePropertyByExtendedId(Byte[], IReference<UInt32>) VideoDeviceController.GetDevicePropertyByExtendedId(Byte[], IReference<UInt32>) VideoDeviceController.GetDevicePropertyByExtendedId(Byte[], IReference<UInt32>) VideoDeviceController.GetDevicePropertyByExtendedId(Byte[], IReference<UInt32>) VideoDeviceController.GetDevicePropertyByExtendedId(Byte[], IReference<UInt32>) Method

Definition

Gets the value of the property with the specified ID from the capture device driver, using an extended ID with custom header information and specifying the maximum buffer size required to store the result. You can use this method to query properties that are specific to a particular camera.

public : VideoDeviceControllerGetDevicePropertyResult GetDevicePropertyByExtendedId(Byte[] extendedPropertyId, IReference<unsigned int> maxPropertyValueSize)
VideoDeviceControllerGetDevicePropertyResult GetDevicePropertyByExtendedId(Byte[] extendedPropertyId, IReference<uint32_t> maxPropertyValueSize) const;
public VideoDeviceControllerGetDevicePropertyResult GetDevicePropertyByExtendedId(Byte[] extendedPropertyId, Nullable<UInt32> maxPropertyValueSize)
Public Function GetDevicePropertyByExtendedId(extendedPropertyId As Byte[], maxPropertyValueSize As Nullable(Of UInt32)) As VideoDeviceControllerGetDevicePropertyResult
var videoDeviceControllerGetDevicePropertyResult = videoDeviceController.getDevicePropertyByExtendedId(extendedPropertyId, maxPropertyValueSize);

Parameters

extendedPropertyId
Byte[] Byte[] Byte[]

A byte array containing the extended identifier data.

maxPropertyValueSize
Nullable<UInt32> Nullable<UInt32> Nullable<UInt32>

The size of the buffer that should be allocated to store the result of the operation. If the driver does not require that a size be specified for the returned property, set this value to null. If the size is required, and you do not provide a value, the Status property of the returned VideoDeviceControllerGetDevicePropertyResult object will be MaxPropertyValueSizeRequired. If the value supplied is too small to store the result of the operation, the returned Status object will be MaxPropertyValueSizeTooSmall, which means that you can retry the call with a larger buffer size.

Returns

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)