MFC Data Type)

Source: Internet
Author: User
BOOL: Boolean value (Boolean 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 value, which is 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. This string can be transplanted to Unicode and DBCS (dubyte Character Set)

LPTSTR: 32-bit pointer, pointing to a string. This string can be transplanted to Unicode and DBCS (dubyte Character Set)

LPVOID: 32-bit character pointer pointing to an unspecified type of data

LPRESULT: 32-bit value, which is returned by the window function or callback function.

UNIT: 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 callback function of the window function. It is 16-bit in Win16 and 32-bit in Win32.

POSITION: A value that represents the POSITION of an element in a collection object (such as an array or a linked list. Usually used with MFC collection classes

LPCRECT: 32-bit pointer pointing to a non-edge RECT Structure

Trackback: http://tb.blog.csdn.net/TrackBack.aspx? PostId = 1613823

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.