IT_Programming/MFC · API

[펌_API] 변수의 타입

JJun ™ 2009. 7. 14. 16:51

출처 : W.E.E.G

 

[사전에 정의된 변수 타입] - 크: 바이트(8비트) 단위

표 기

내부 처리

크 기

CONST

const

 

FAR

far

 

NEAR

near

 

VOID

void

 

LPCVOID

CONST void far*

 

LPVOID

void far*

 

BOOL

int

4

INT

int

4

UINT

unsigned int

4

LONG

Long

4

LONGLONG

_int64

8

ULONG

unsigned long

4

ULONGLONG

unsigned _int64

8

SHORT

short

2

USHORT

unsigned short

2

WORD

unsigned short

2

DWORD

unsigned long

4

FLOAT

float

4

CHAR

char

1

CCHAR

char

1

UCHAR

unsigned char

1

BYTE

unsigned char

1

wchar_t

unsigned short

2

HRESULT

LONG

4

ATOM

WORD

2

FSHORT

WORD

2

LANGID

WORD

2

COLORREF

DWORD

4

FLONG

DWORD

4

LCID

DWORD

4

FCHAR

BYTE

1

TBYTE

WCHAR

2

LPBOOL

BOOL far*

4

LPINT

int far*

4

LPLONG

long far*

4

LPSHORT

short far*

2

LPWORD

WORD far*

2

LPCOLORREF

DWORD *

2

LPDWORD

DWORD far*

2

LPBYTE

BYTE far*

1

LPCCH

CONST CHAR*

1

LPCH

CHAR*

1

LPCTSTR

LPCWSTR

2

LPCUWCHAR

CONST CHAR*

2

LPCWCH

CONST CHAR*

2

LPCWCHAR

CONST CHAR*

2

LPTCH

LPWSTR

2

LPTSTR

LPWSTR

2

LPWCH

WCHAR*

2

PBOOL

BOOL near*

4

PINT

int near*

4

PUINT

unsigned int*

4

PLONG

LONG*

4

PULONG

ULONG*

4

PSHORT

SHORT*

2

PUSOURT

WORD far*

2

PWORD

DWORD near*

2

PDWORD

DWORD near*

2

PLCID

PDWORD

2

PFLOAT

FLOAT*

4

TCHAR

WCHAR

2

WCHAR

wchar_t

2

PCH

CHAR*

1

PSZ

char*

1

PWCH

WCHAR*

2

PCTSTR

LPCWSTR

2

PCWCH

CONST WCHAR*

2

PTBYTE

WCHAR*

2

PTCHAR

WCHAR*

2

PBYTE

BYTE near*

1

PCCH

CONST CHAR*

1

PCHAR

CHAR*

1

PUCHAR

UCHAR*

1

PWCHAR

WCHAR*

2

PCUWCHAR

CONST WCHAR*

2

PCWCHAR

CONST WCHAR*

2

PTCH

LPWSTR

2

PTSTR

LPWSTR

2