Data Types in VC

Source: Internet
Author: User

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.

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.