The following data types are used together with Win32 programs.
Bool: Boolean value; Value: true or false
BSTR: 32-bit character pointer
Byte: an 8-bit integer with no plus or minus signs
Colorref: 32-bit value, representing a color value
DWORD: 32-bit integer without plus or minus signs
Long: 32-bit integer with positive and negative numbers
Lparam: 32-bit integer, used as a parameter of the window function or callback function.
Lpcstr: 32-bit pointer, pointing to a constant string
Lpstr: 32-bit pointer, pointing to a string
Lpctstr: 32-bit pointer, pointing to a constant string, which can be transplanted to Unicode and DBCS
Lptstr: 32-bit pointer, pointing to a string, which can be transplanted to Unicode and DBCS
Lpvoid: 32-bit pointer, pointing to an unspecified type of data
Lpresult: 32-bit value, which is returned by the window function or callback function.
Uint: In Win16, It is a 16-bit integer without plus or minus signs. in Win32, It is a 32-bit integer without plus or minus signs,
Wndproc: 32-bit pointer, pointing to a window function
Word: A 16-bit integer without a plus or minus sign
Wparam: a parameter of the window function or callback function. It is 16-bit in Win16 and 32-bit in Win32.
The following are the unique data types of MFC:
Position: A value that represents the position of elements in a collection object (such as an array or a linked list). It is often used in MFC collection classes (that is, data processing classes, such as carray)
Lpcrect: 32-bit pointer pointing to an unchanged rect Structure