windows新的数据类型

1.简单重定义的

  如LPCSTR只字符串,只是名字不同

2.句柄类型

H开头的句柄

3.结构体类型

如对话框

4.重新更名一方面为了32位-》64位升级时带来的麻烦

typedef unsigned long DWORD;
typedef int BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef float FLOAT;

typedef int INT;
typedef unsigned int UINT;

5.LPSTR  ---字符串指针

 LPCSTR--CONST只读字符串指针

posted @ 2014-10-14 16:48  fx427103  阅读(140)  评论(0编辑  收藏  举报