MediaFrameReaderStartStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the result of a call to StartAsync to start the reading of media frames by a MediaFrameReader.
public enum class MediaFrameReaderStartStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class MediaFrameReaderStartStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum MediaFrameReaderStartStatus
var value = Windows.Media.Capture.Frames.MediaFrameReaderStartStatus.success
Public Enum MediaFrameReaderStartStatus
- Inheritance
-
MediaFrameReaderStartStatus
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Fields
Name | Value | Description |
---|---|---|
Success | 0 | The operation was successful. |
UnknownFailure | 1 | The operation failed for an unknown reason. |
DeviceNotAvailable | 2 | The operation failed because the media frame source device is unavailable. |
OutputFormatNotSupported | 3 | The operation failed because the requested output format is not supported by the media frame source. |
ExclusiveControlNotAvailable | 4 | The operation failed because exclusive control of the media frame source device is unavailable. |
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1703 | 15063 | ExclusiveControlNotAvailable |