C ++ data types and some ing relationships between C # APIs and C # Data Structure Types

Source: Internet
Author: User

Put it here for future reference.

 

C ++ Data Type Type description C # type
WORD 16-bit unsigned integer Ushort
LONG 32-bit unsigned integer Int
DWORD 32-bit unsigned integer Uint
HANDLE Handle, 32-bit integer Int
UINT 32-bit unsigned integer Unit
BOOL 32-bit Boolean integer Bool
LPSTR 32-bit pointer to a character String
LPCSTR 32-bit pointer to a common character String
BYTE Bytes Byte
CHAR Character Char
DWORDLONG 64-bit long integer Long
HDC Device description table handle Int
HGDIOBJ GDI object handle Int
HINSTANCE Instance handle Int
HWM Window handle Int
HPARAM 32-bit message Parameters Int
LPARAM 32-bit message Parameters Int
WPARAM 32-bit message Parameters Int
     

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.