DWORD:32-bit unsigned integer UINT:无符号整型,具体长度与机器有关 WORD:16-bit unsigned integer LPCSTR:Pointer to a null-terminated string of 8-bit Windows (ANSI) characters.就是可以理解为一种字符指针.经常会在某些返回字符串用到. LPRESULT :Signed result of message processing,处理消息机制有用到. 多看MSDN.
用VC就是C++数据类型 + 微软Windows数据类型,用习惯了就好了
其实DWORD UINT WORD LPCSTR LPRESULT都做了宏定义 楼主已经有c++基础了,自己都可以将它们定义成对应的c++类型 只不过这一不让微软先做:) 这样定义了这样更加方便使用
UINT:无符号整型,具体长度与机器有关
WORD:16-bit unsigned integer
LPCSTR:Pointer to a null-terminated string of 8-bit Windows (ANSI) characters.就是可以理解为一种字符指针.经常会在某些返回字符串用到.
LPRESULT :Signed result of message processing,处理消息机制有用到.
多看MSDN.
楼主已经有c++基础了,自己都可以将它们定义成对应的c++类型
只不过这一不让微软先做:)
这样定义了这样更加方便使用