Share via


SendCommandStatus 枚举

定义

指定通过调用 AudioDeviceModule.SendCommand 执行的音频设备模块命令的状态。

public enum class SendCommandStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class SendCommandStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum SendCommandStatus
var value = Windows.Media.Devices.SendCommandStatus.success
Public Enum SendCommandStatus
继承
SendCommandStatus
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

字段

DeviceNotAvailable 1

命令失败,因为设备不可用。

Success 0

命令成功。

适用于