Let's take a look at WinStoreWindowPos first. The drawback of these functions is that they save their information in the OS2.INI file. String which contains application name. String which contains the key name. Window handle of the window to save.
Profiles are binary databases that handle information in two levels.
The highest level is the Application level. Under the Application level, keys can be created and data can be assigned to every key. This can be anything from simple strings or a simple integer to very complex structures. The WinStoreWindowPos function only needs to know the Application name and the key name for the data in the OS2.INI file. Normally, we assign names for these with 'defines' in the header file.