MFC数据类型(from MSDN)
来源:互联网 发布:程序员长得帅有用吗 编辑:程序博客网 时间:2024/05/16 12:21
Data Types
This topic lists the data types most commonly used in the Microsoft Foundation Class Library. Most of the data types are exactly the same as those in the Windows Software Development Kit (SDK), while others are unique to MFC.
Commonly used Windows SDK and MFC data types are as follows:
- BOOL A Boolean value.
- BSTR A 32-bit character pointer.
- BYTE An 8-bit integer that is not signed.
- COLORREF A 32-bit value used as a color value.
- DWORD A 32-bit unsigned integer or the address of a segment and its associated offset.
- LONG A 32-bit signed integer.
- LPARAM A 32-bit value passed as a parameter to a window procedure or callback function.
- LPCSTR A 32-bit pointer to a constant character string.
- LPSTR A 32-bit pointer to a character string.
- LPCTSTR A 32-bit pointer to a constant character string that is portable for Unicode and DBCS.
- LPTSTR A 32-bit pointer to a character string that is portable for Unicode and DBCS.
- LPVOID A 32-bit pointer to an unspecified type.
- LRESULT A 32-bit value returned from a window procedure or callback function.
- UINT A 16-bit unsigned integer on Windows versions 3.0 and 3.1; a 32-bit unsigned integer on Win32.
- WNDPROC A 32-bit pointer to a window procedure.
- WORD A 16-bit unsigned integer.
- WPARAM A value passed as a parameter to a window procedure or callback function: 16 bits on Windows versions 3.0 and 3.1; 32 bits on Win32.
Data types unique to the Microsoft Foundation Class Library include the following:
- POSITION A value used to denote the position of an element in a collection; used by MFC collection classes.
- LPCRECT A 32-bit pointer to a constant (nonmodifiable) RECT structure.
- MFC数据类型(from MSDN)
- 如何在MFC的对话框调用CLR控件(From Msdn)
- MFC: Visual Studio 2005 and Beyond - from msdn
- 如何将.NET中定义的一个Window Form控件作为一个MFC对话框调用?(From Msdn)
- 学习Dll(五)--example from MSDN
- [转MSDN]虚拟列表(MFC)
- 创建线程(From MSDN)
- hashtable example from MSDN
- dynamic_cast Operator from MSDN
- String.Format from MSDN
- enum zz from msdn
- !!!Constant Expression (From MSDN)
- 如何在MFC类中声明一个.Net FrameWork变量--gcroot(from msdn)
- 如何将.NET中编写控件作为MFC的视图调用?(From MSDN)
- 如何在MFC类中声明一个.Net FrameWork变量--gcroot(from msdn)
- win32 数据类型 msdn版
- MSDN上的数据类型
- 编制新的 MSDN 目录(From MSDN)
- 02-struts 业务分离
- axis2 soap整合hibernate遇到的classloader问题(转)
- 学术资料账号密码全集汇总
- Android NDK C++开发注意事项总结
- 弹出输入框后,将listview内容遮住,解决方案
- MFC数据类型(from MSDN)
- TortoiseHg 2.1.1 Windows版web问题总结
- 在Linux OS下设置PATH的方法
- spring DAO体系结构
- Button当成链接标签使用
- 欠自己一个目标
- vim多行注释(ZZ)
- 无法解析的外部符号 Direct3DCreate9@4错误
- web工程下,获取属性文件properties中的值