'All'에 해당되는 글 84건
- 2007.07.23 Microsoft Visual Studio의 MFC 변수형태
- Microsoft Visual Studio의 MFC 변수형태
- Language/MFC
- 2007. 7. 23. 11:16
Microsoft Visual Studio의 MFC 변수형태
--------------------------------------------------
규칙
P = Pointer
L = far
U = Unsigned
C = const
그 뒤에
int(INT), long(LONG), DWORD(DWORD), BYTE(BYTE),
TCHAR(TSTR), char(STR), void(VOID) 등 변수 형태
--------------------------------------------------
Microsft SDK Platform에 포함된 windef.h파일에 정의
#undef FAR
#undef NEAR
#define FAR far
#define NEAR near
#ifndef CONST
#define CONST const
#endif
typedef unsigned long DWORD;
typedef int BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef float FLOAT;
typedef FLOAT *PFLOAT;
typedef BOOL near *PBOOL;
typedef BOOL far *LPBOOL;
typedef BYTE near *PBYTE;
typedef BYTE far *LPBYTE;
typedef int near *PINT;
typedef int far *LPINT;
typedef WORD near *PWORD;
typedef WORD far *LPWORD;
typedef long far *LPLONG;
typedef DWORD near *PDWORD;
typedef DWORD far *LPDWORD;
typedef void far *LPVOID;
typedef CONST void far *LPCVOID;
typedef int INT;
typedef unsigned int UINT;
typedef unsigned int *PUINT;
Recent comment