Unicode, _ Unicode, _ text, _ T, _ T, _ text, text, and other macro header files

Source: Internet
Author: User
Document directory
  • Winnt. h
  • Tchar. h
  • Afxv_w32.h of MFC
Transferred from: the source of the upload header file

 

Winnt. h
  1: #ifdef  UNICODE                     // r_winnt 
  2: #define __TEXT(quote) L##quote      // r_winnt 
  3: #else   /* UNICODE */               // r_winnt 
  4: #define __TEXT(quote) quote         // r_winnt 
  5: #endif /* UNICODE */                // r_winnt 
  6: #define TEXT(quote) __TEXT(quote)   // r_winnt 

Tchar. h
  1: #ifdef  _UNICODE 
  2: #define __T(x)      L ## x 
  3: #else   /* ndef _UNICODE */ 
  4: #define __T(x)      x 
  5: #endif  /* _UNICODE */ 
  6: #define _T(x)       __T(x) 
  7: #define _TEXT(x)    __T(x) 

Afxv_w32.h of MFC
  1: #ifdef  _UNICODE 
  2: #define __T(x)      L ## x 
  3: #else   /* ndef _UNICODE */ 
  4: #define __T(x)      x 
  5: #endif  /* _UNICODE */ 
  6: #define _T(x)       __T(x) 
  7: #define _TEXT(x)    __T(x) 

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.