Win32 API 日本語リファレンス
ホームGraphics.Gdi › MONITOR_FROM_FLAGS

MONITOR_FROM_FLAGS

列挙型
基底型u4

メンバー 3

名前10進16進
MONITOR_DEFAULTTONEAREST20x2
MONITOR_DEFAULTTONULL00x0
MONITOR_DEFAULTTOPRIMARY10x1

各言語での定義

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

typedef enum MONITOR_FROM_FLAGS : unsigned int {
    MONITOR_DEFAULTTONEAREST = 2,
    MONITOR_DEFAULTTONULL = 0,
    MONITOR_DEFAULTTOPRIMARY = 1
} MONITOR_FROM_FLAGS;
public enum MONITOR_FROM_FLAGS : uint
{
    MONITOR_DEFAULTTONEAREST = 2,
    MONITOR_DEFAULTTONULL = 0,
    MONITOR_DEFAULTTOPRIMARY = 1,
}
Public Enum MONITOR_FROM_FLAGS As UInteger
    MONITOR_DEFAULTTONEAREST = 2
    MONITOR_DEFAULTTONULL = 0
    MONITOR_DEFAULTTOPRIMARY = 1
End Enum
import enum

class MONITOR_FROM_FLAGS(enum.IntEnum):
    MONITOR_DEFAULTTONEAREST = 2
    MONITOR_DEFAULTTONULL = 0
    MONITOR_DEFAULTTOPRIMARY = 1
// MONITOR_FROM_FLAGS
pub const MONITOR_DEFAULTTONEAREST: u32 = 2;
pub const MONITOR_DEFAULTTONULL: u32 = 0;
pub const MONITOR_DEFAULTTOPRIMARY: u32 = 1;
// MONITOR_FROM_FLAGS
const (
	MONITOR_DEFAULTTONEAREST uint32 = 2
	MONITOR_DEFAULTTONULL uint32 = 0
	MONITOR_DEFAULTTOPRIMARY uint32 = 1
)
const
  MONITOR_DEFAULTTONEAREST = 2;
  MONITOR_DEFAULTTONULL = 0;
  MONITOR_DEFAULTTOPRIMARY = 1;
// MONITOR_FROM_FLAGS
pub const MONITOR_DEFAULTTONEAREST: u32 = 2;
pub const MONITOR_DEFAULTTONULL: u32 = 0;
pub const MONITOR_DEFAULTTOPRIMARY: u32 = 1;
const
  MONITOR_DEFAULTTONEAREST* = 2
  MONITOR_DEFAULTTONULL* = 0
  MONITOR_DEFAULTTOPRIMARY* = 1
enum MONITOR_FROM_FLAGS : uint {
    MONITOR_DEFAULTTONEAREST = 2,
    MONITOR_DEFAULTTONULL = 0,
    MONITOR_DEFAULTTOPRIMARY = 1,
}
#define global MONITOR_DEFAULTTONEAREST 0x2
#define global MONITOR_DEFAULTTONULL    0x0
#define global MONITOR_DEFAULTTOPRIMARY 0x1