Data types in Windows programming

Source: Internet
Author: User

In Windows programming, there are a lot of strange data types, beginners do not know what these represent, the following data types are listed as follows: Atom Atom (Reference to a string in an atomic table) bool Boolean variable boolean boolean variable byte byte (8-bit) CChar Windows character char Windows character COLORREF red, green, blue (RGB) color value (32-bit) Const variable, the value of the variable remains constant during execution critical_section critical segment Object Ctryid country identifier Dlgproc Pointer to a dialog box procedure DWORD double Word (32-bit) Enhmfenumproc pointer to an application-defined callback function that enumerates the enhanced metafile records Enumreslangproc a pointer to an application-defined callback function. The callback function enumerates the resource languages. Enumresnameproc Pointer to an application-defined callback function that enumerates the resource names. Enumrestypeproc Pointer to an application-defined callback function that enumerates the resource types. Farproc A pointer to a callback function float floating-point variable fmorder An array of 32-bit font mapping values Fontenumproc pointer to an application-defined callback function that enumerates the fonts Gobjenumproc Pointer to an application-defined callback function that enumerates graphics device interface (GDI) Objects Haccel accelerator key table handle handle object handle HBITMAP bitmap handle Hbrush brush handle HCONV Dynamic Data exchange (DDE) Session handle Hconvlist DDE session handle HCURSOR CURSOR handle HDC Device Description table (DC) handle hddedata DDE Data handle Hdlg dialog handle hdwp deferred window position structure handle henhmetafile enhanced original file handle hfile File handle Hfont font handle hgdiobj GDI object handle HGLOBAL Global memory block handle hhook hook handle hicon icon handle HINSTANCE instance handle HKEY Register key handle hlocal local memory block handle HMEMU Menu handle hmetafile meta file handle HMIDIIN Instrument Digital Interface (MIDI) input file handle hmidiout MIDI output file handle Hmmio file handle HookProc pointer to an application-defined hook function hpalette Palette handle Hpen Brush handle HRGN domain handle HRSRC resource handle HSZ DDE string handle Hwavein waveform input file handle hwaveout waveform output file handle Hwinsta workstation handle HWND window handle int symbol integer LANGID language identifier LCID host country (Locale) label Identifier Lctype country type Lineddaproc pointer to a callback function that handles the line coordinates long 32-bit sign integer LP points to a pointer to a Unicode (TM) string that ends with "NULL" lparam 32-bit message parameters Lpbool Pointer to a Boolean variable lpbyte pointer to a byte LPCCH pointer to a Windows character constant Lpcchookproc pointer to an application-defined hook function lpcfhoolproc Pointer to an application-defined hook function lpch pointer to a Windows character lpcolorref pointer to a COLORREF value lpcritical_section pointer to a critical segment object LPCSTR points to a "NULL "Ends a pointer to a Windows string constant LPCTSTR pointer to a Unicode or Windows string constant that ends with" null "lpcwch points to a" null "point to one with" null " Pointer to the ending Unicode character constant LPCWSTR to a pointer to a Unicode string constant that ends with "null" Lpdword pointer to an unsigned double word (32-bit) Lpfrhoolproc A pointer to an application-defined hook function lphandle a pointer to a handle lohandler_function a pointer to a handler function Lphwavein a pointer to a waveform input file handle Lphwaveout Pointer to a waveform output file handle Lpint pointer to a signed integer lplong pointer to a symbol long integer (32-bit) Lpofnhookproc pointer to an application-defined hook function lpprinthookproc Pointer to an application-defined hook function Lpsetuphookproc pointer to an application-defined hook function lptstr pointer to a null-terminated Unicode or Windows string lresult The symbolic result of message processing lpvoid points to any type of pointer lpwstr points to a unico that ends with "NULL"The pointer to the de string LUID the local unique identifier mcideviceid the Media Control Interface (MCI) device identifier Mfenumproc Pointer to an application-defined callback function that enumerates the meta-file records Mmresult Results of multimedia message processing NPSTR A pointer to a Windows string that ends with "null" NWPSTR pointer to a Unicode string that ends with "null" Pbool pointer to a Boolean variable pbyte pointer to a byte PCCH Pointer to a Windows character constant the PCH points to a Windows characters pointer pchar Pointer to a Windows character pcritical_section pointer to a critical segment object Pcstr points to a "NULL" Pointer to the end of the Windows string constant Pcwch pointer to a Unicode character constant pcwstr pointer to a Unicode string constant ending with "NULL" Pdword pointer to an unsigned double word pfloat Pointer to a floating-point variable pfncallback a pointer to a callback function phandle a pointer to a handle phandler_routine a pointer to a handler phkey a pointer to an enlisted keyword pint A pointer to a signed integer plong a pointer to a long integer of symbols pluid a pointer to a local unique identifier (LUID) Propenumproc A pointer to an application-defined callback function that enumerates the window features Pshort A pointer to a short integer of symbols psid pointer to an encryption identifier (SID) pstr A pointer to a Windows string that ends with "null" psz a pointer to a Windows string that ends with "null" Ptch A pointer to a Windows or Unicode character Ptchar a pointer to a Windows or Unicode character ptstr a pointer to a Windows or Unicode string that ends with "NULL" Puchar Pointer to an unsigned Windows character puint pointer to an unsigned integer pulong pointer to an unsigned long integer pushort pointer to an unsigned short integer pvoid to any type of pointer pwch Pointer to a Unicode character Pwchar pointer to a Unicode character pword pointer to an unsigned word pwstr point toA pointer to a Unicode string that ends with "NULL" Regsam the cryptographic mask of the Enlisted keyword Sc_handle the service handle Service_status_handle the service state value handle short integer sphandle Pointer to a handle TCHAR Unicode or Windows character Timerproc pointer to an application-defined timer callback function Uchar unsigned windows character uint unsigned integer ulong unsigned long integer ushort unsigned short integer void any type WCHAR Unicode character wndenumproc Pointer to an application-defined callback function that enumerates the window WndProc pointer to an application-defined window procedure, Word unsigned words (16-bit) WPARAM 32-bit message parameter Yieldproc pointer to an output callback function

Data types in Windows programming

Related Article

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.