ホーム › System.RealTimeCommunications › RTC_MEDIA_EVENT_REASON
RTC_MEDIA_EVENT_REASON
列挙型メンバー 7
| 名前 | 10進 | 16進 |
|---|---|---|
| RTCMER_NORMAL | 0 | 0x0 |
| RTCMER_HOLD | 1 | 0x1 |
| RTCMER_TIMEOUT | 2 | 0x2 |
| RTCMER_BAD_DEVICE | 3 | 0x3 |
| RTCMER_NO_PORT | 4 | 0x4 |
| RTCMER_PORT_MAPPING_FAILED | 5 | 0x5 |
| RTCMER_REMOTE_REQUEST | 6 | 0x6 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum RTC_MEDIA_EVENT_REASON : int {
RTCMER_NORMAL = 0,
RTCMER_HOLD = 1,
RTCMER_TIMEOUT = 2,
RTCMER_BAD_DEVICE = 3,
RTCMER_NO_PORT = 4,
RTCMER_PORT_MAPPING_FAILED = 5,
RTCMER_REMOTE_REQUEST = 6
} RTC_MEDIA_EVENT_REASON;public enum RTC_MEDIA_EVENT_REASON : int
{
RTCMER_NORMAL = 0,
RTCMER_HOLD = 1,
RTCMER_TIMEOUT = 2,
RTCMER_BAD_DEVICE = 3,
RTCMER_NO_PORT = 4,
RTCMER_PORT_MAPPING_FAILED = 5,
RTCMER_REMOTE_REQUEST = 6,
}Public Enum RTC_MEDIA_EVENT_REASON As Integer
RTCMER_NORMAL = 0
RTCMER_HOLD = 1
RTCMER_TIMEOUT = 2
RTCMER_BAD_DEVICE = 3
RTCMER_NO_PORT = 4
RTCMER_PORT_MAPPING_FAILED = 5
RTCMER_REMOTE_REQUEST = 6
End Enumimport enum
class RTC_MEDIA_EVENT_REASON(enum.IntEnum):
RTCMER_NORMAL = 0
RTCMER_HOLD = 1
RTCMER_TIMEOUT = 2
RTCMER_BAD_DEVICE = 3
RTCMER_NO_PORT = 4
RTCMER_PORT_MAPPING_FAILED = 5
RTCMER_REMOTE_REQUEST = 6// RTC_MEDIA_EVENT_REASON
pub const RTCMER_NORMAL: i32 = 0;
pub const RTCMER_HOLD: i32 = 1;
pub const RTCMER_TIMEOUT: i32 = 2;
pub const RTCMER_BAD_DEVICE: i32 = 3;
pub const RTCMER_NO_PORT: i32 = 4;
pub const RTCMER_PORT_MAPPING_FAILED: i32 = 5;
pub const RTCMER_REMOTE_REQUEST: i32 = 6;// RTC_MEDIA_EVENT_REASON
const (
RTCMER_NORMAL int32 = 0
RTCMER_HOLD int32 = 1
RTCMER_TIMEOUT int32 = 2
RTCMER_BAD_DEVICE int32 = 3
RTCMER_NO_PORT int32 = 4
RTCMER_PORT_MAPPING_FAILED int32 = 5
RTCMER_REMOTE_REQUEST int32 = 6
)const
RTCMER_NORMAL = 0;
RTCMER_HOLD = 1;
RTCMER_TIMEOUT = 2;
RTCMER_BAD_DEVICE = 3;
RTCMER_NO_PORT = 4;
RTCMER_PORT_MAPPING_FAILED = 5;
RTCMER_REMOTE_REQUEST = 6;// RTC_MEDIA_EVENT_REASON
pub const RTCMER_NORMAL: i32 = 0;
pub const RTCMER_HOLD: i32 = 1;
pub const RTCMER_TIMEOUT: i32 = 2;
pub const RTCMER_BAD_DEVICE: i32 = 3;
pub const RTCMER_NO_PORT: i32 = 4;
pub const RTCMER_PORT_MAPPING_FAILED: i32 = 5;
pub const RTCMER_REMOTE_REQUEST: i32 = 6;const
RTCMER_NORMAL* = 0
RTCMER_HOLD* = 1
RTCMER_TIMEOUT* = 2
RTCMER_BAD_DEVICE* = 3
RTCMER_NO_PORT* = 4
RTCMER_PORT_MAPPING_FAILED* = 5
RTCMER_REMOTE_REQUEST* = 6enum RTC_MEDIA_EVENT_REASON : int {
RTCMER_NORMAL = 0,
RTCMER_HOLD = 1,
RTCMER_TIMEOUT = 2,
RTCMER_BAD_DEVICE = 3,
RTCMER_NO_PORT = 4,
RTCMER_PORT_MAPPING_FAILED = 5,
RTCMER_REMOTE_REQUEST = 6,
}#define global RTCMER_NORMAL 0x0
#define global RTCMER_HOLD 0x1
#define global RTCMER_TIMEOUT 0x2
#define global RTCMER_BAD_DEVICE 0x3
#define global RTCMER_NO_PORT 0x4
#define global RTCMER_PORT_MAPPING_FAILED 0x5
#define global RTCMER_REMOTE_REQUEST 0x6