Share via


VideoDeviceController.SetDevicePropertyByExtendedId(Byte[], Byte[]) メソッド

定義

カスタム ヘッダー情報を含む拡張 ID を使用し、値をバイト配列として指定して、キャプチャ デバイス ドライバーから指定された ID を持つ プロパティの値を設定します。

public:
 virtual VideoDeviceControllerSetDevicePropertyStatus SetDevicePropertyByExtendedId(Platform::Array <byte> ^ extendedPropertyId, Platform::Array <byte> ^ propertyValue) = SetDevicePropertyByExtendedId;
VideoDeviceControllerSetDevicePropertyStatus SetDevicePropertyByExtendedId(winrt::array_view <byte> const& extendedPropertyId, winrt::array_view <byte> const& propertyValue);
public VideoDeviceControllerSetDevicePropertyStatus SetDevicePropertyByExtendedId(byte[] extendedPropertyId, byte[] propertyValue);
function setDevicePropertyByExtendedId(extendedPropertyId, propertyValue)
Public Function SetDevicePropertyByExtendedId (extendedPropertyId As Byte(), propertyValue As Byte()) As VideoDeviceControllerSetDevicePropertyStatus

パラメーター

extendedPropertyId

Byte[]

byte[]

拡張識別子データを含むバイト配列。

propertyValue

Byte[]

byte[]

指定したプロパティに割り当てるデータを含むバイト配列。

戻り値

操作の状態を記述する VideoDeviceControllerSetDevicePropertyStatus オブジェクト。

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

注釈

プロパティ ID と予想されるデータは、ハードウェア デバイスの製造元によって決定されます。

一般的なデバイス プロパティは、 VideoDeviceController クラスのプロパティとして公開されます。 追加のプロパティは、 KSPROPERTYSETID_ExtendedCameraControl プロパティ セットで定義されます。 レガシ プロパティは、 PROPSETID_VIDCAP_CAMERACONTROL プロパティ セットで定義されます。 ID でカメラ プロパティにアクセスする例については、 拡張コントロールとメタデータのサンプルを参照してください。

適用対象