MFC Data Type

Source: Internet
Author: User

Commonly used Windows SDK and MFC data types are as follows:

  • BoolA boolean value.

  • BSTRA 32-bit character pointer.
  • ByteAn 8-bit integer that is not signed.
  • ColorrefA 32-bit value used as a color value.
  • DWORDA 32-bit unsigned integer or the address of a segment and its associated offset.
  • LongA 32-bit signed integer.
  • LparamA 32-bit value passed as a parameter to a window procedure or callback function.
  • LpcstrA 32-bit pointer to a constant character string.
  • LpstrA 32-bit pointer to a character string.
  • LpctstrA 32-bit pointer to a constant character string that is portable for Unicode and DBCS.
  • LptstrA 32-bit pointer to a character string that is portable for Unicode and DBCS.
  • LpvoidA 32-bit pointer to an unspecified type.
  • LresultA 32-bit value returned from a window procedure or callback function.
  • UintA 16-bit unsigned integer on Windows versions 3.0 and 3.1; a 32-bit unsigned integer on win32.
  • WndprocA 32-bit pointer to a window procedure.
  • WordA 16-bit unsigned integer.
  • WparamA 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:

    • PositionA value used to denote the position of an element in a collection; used by MFC collection classes.

    • LpcrectA 32-bit pointer to a constant (nonmodifiable)RectStructure.

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.