32bit os 에서 WORD 는 unsigned short 이다. typedef unsigned short WORD unsigned short 는 2바이트 이며, 0 ~ 65535 까지의 값을 나타낼 수 있다.
// 2byte 0x0000
typedef WORD unsigned short;
// 4byte 0x00000000
typdef DWORD unsinged long;
#define LOWORD(l) ((WORD)(l))
#define HIWORD(l) ((WORD)( (DWORD)(l) >> 16 & 0FFFF) )
#include "windef.h"
DWORD data = 0x12345678;
WORD l_data = LOWORD(data); // 0x5678
LoadString(hInstance, IDS_000000, Buffer, BufferSize);
//예시
TCHAR MyString[100];
LoadString(hInst, IDS_STRING105, MyString, 100);