In this article, we describe the Hungarian nomenclature:
Give two examples: Hinstance,szcmdline.
In these two examples, the H representation of the first variable is handle, which means that the variable is a handle, and the SZ representation of the second variable is a string ending in 0, which is the traditional string in the C language.
This is the case with the Hungarian nomenclature, which represents the type of the variable in a combination of letters representing the variable type. The word after it represents the meaning of its variable.
The prefix table for the Hungarian nomenclature is as follows:
There is also a naming method, if you want to name a struct, such as the structure of WNDCLASS in the previous program, the variable can be called Wndclass. Rect-->rect.
For more Windows programming notes, click here.
Windows programming Note (3): Hungarian Nomenclature for Dentistry