Win32 API 日本語リファレンス
ホームMedia.MediaPlayer › WMPDeviceStatus

WMPDeviceStatus

列挙型
基底型i4

メンバー 7

名前10進16進
wmpdsUnknown00x0
wmpdsPartnershipExists10x1
wmpdsPartnershipDeclined20x2
wmpdsPartnershipAnother30x3
wmpdsManualDevice40x4
wmpdsNewDevice50x5
wmpdsLast60x6

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum WMPDeviceStatus : int {
    wmpdsUnknown = 0,
    wmpdsPartnershipExists = 1,
    wmpdsPartnershipDeclined = 2,
    wmpdsPartnershipAnother = 3,
    wmpdsManualDevice = 4,
    wmpdsNewDevice = 5,
    wmpdsLast = 6
} WMPDeviceStatus;
public enum WMPDeviceStatus : int
{
    wmpdsUnknown = 0,
    wmpdsPartnershipExists = 1,
    wmpdsPartnershipDeclined = 2,
    wmpdsPartnershipAnother = 3,
    wmpdsManualDevice = 4,
    wmpdsNewDevice = 5,
    wmpdsLast = 6,
}
Public Enum WMPDeviceStatus As Integer
    wmpdsUnknown = 0
    wmpdsPartnershipExists = 1
    wmpdsPartnershipDeclined = 2
    wmpdsPartnershipAnother = 3
    wmpdsManualDevice = 4
    wmpdsNewDevice = 5
    wmpdsLast = 6
End Enum
import enum

class WMPDeviceStatus(enum.IntEnum):
    wmpdsUnknown = 0
    wmpdsPartnershipExists = 1
    wmpdsPartnershipDeclined = 2
    wmpdsPartnershipAnother = 3
    wmpdsManualDevice = 4
    wmpdsNewDevice = 5
    wmpdsLast = 6
// WMPDeviceStatus
pub const wmpdsUnknown: i32 = 0;
pub const wmpdsPartnershipExists: i32 = 1;
pub const wmpdsPartnershipDeclined: i32 = 2;
pub const wmpdsPartnershipAnother: i32 = 3;
pub const wmpdsManualDevice: i32 = 4;
pub const wmpdsNewDevice: i32 = 5;
pub const wmpdsLast: i32 = 6;
// WMPDeviceStatus
const (
	wmpdsUnknown int32 = 0
	wmpdsPartnershipExists int32 = 1
	wmpdsPartnershipDeclined int32 = 2
	wmpdsPartnershipAnother int32 = 3
	wmpdsManualDevice int32 = 4
	wmpdsNewDevice int32 = 5
	wmpdsLast int32 = 6
)
const
  wmpdsUnknown = 0;
  wmpdsPartnershipExists = 1;
  wmpdsPartnershipDeclined = 2;
  wmpdsPartnershipAnother = 3;
  wmpdsManualDevice = 4;
  wmpdsNewDevice = 5;
  wmpdsLast = 6;
// WMPDeviceStatus
pub const wmpdsUnknown: i32 = 0;
pub const wmpdsPartnershipExists: i32 = 1;
pub const wmpdsPartnershipDeclined: i32 = 2;
pub const wmpdsPartnershipAnother: i32 = 3;
pub const wmpdsManualDevice: i32 = 4;
pub const wmpdsNewDevice: i32 = 5;
pub const wmpdsLast: i32 = 6;
const
  wmpdsUnknown* = 0
  wmpdsPartnershipExists* = 1
  wmpdsPartnershipDeclined* = 2
  wmpdsPartnershipAnother* = 3
  wmpdsManualDevice* = 4
  wmpdsNewDevice* = 5
  wmpdsLast* = 6
enum WMPDeviceStatus : int {
    wmpdsUnknown = 0,
    wmpdsPartnershipExists = 1,
    wmpdsPartnershipDeclined = 2,
    wmpdsPartnershipAnother = 3,
    wmpdsManualDevice = 4,
    wmpdsNewDevice = 5,
    wmpdsLast = 6,
}
#define global wmpdsUnknown             0x0
#define global wmpdsPartnershipExists   0x1
#define global wmpdsPartnershipDeclined 0x2
#define global wmpdsPartnershipAnother  0x3
#define global wmpdsManualDevice        0x4
#define global wmpdsNewDevice           0x5
#define global wmpdsLast                0x6