Share via


VideoDeviceControllerSetDevicePropertyStatus Enum

Definition

Specifies the status of an operation to set the value of a video device controller driver property.

public enum class VideoDeviceControllerSetDevicePropertyStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class VideoDeviceControllerSetDevicePropertyStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum VideoDeviceControllerSetDevicePropertyStatus
var value = Windows.Media.Devices.VideoDeviceControllerSetDevicePropertyStatus.success
Public Enum VideoDeviceControllerSetDevicePropertyStatus
Inheritance
VideoDeviceControllerSetDevicePropertyStatus
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Success 0

The operation completed successfully.

UnknownFailure 1

The operation failed due to an unknown failure.

NotSupported 2

The operation failed because the specified property is not supported by the device.

InvalidValue 3

The operation failed because the specified property value is invalid.

DeviceNotAvailable 4

The operation failed because the device is not available.

NotInControl 5

The operation failed because the app does not have exclusive control of the video capture device and is therefore not currently permitted to change the device settings. For more information, see MediaCaptureInitializationSettings.SharingMode.

Applies to