X、Y座標を格納する構造体。
typedef struct tagPOINT { LONG x; LONG y; } POINT; |
x X座標。 y Y座標。
宣言とともに初期化する。
POINT point = { 0, 0 }; |
各メンバに代入する。
POINT point; point.x = 0; point.y = 0; |
GetMousePosition関数の戻り値を受け取る。
POINT point = m_pEngine->GetMousePosition(); |
GetMouseMove関数の戻り値を受け取る。
POINT point = m_pEngine->GetMouseMove(); |