pszApp (PSZ) - input
The name of the application for which the profile data is required. The name must match exactly with the name stored in the profile. There is no case-independent searching.
If this parameter is NULL, this function enumerates all the application names present in the profile and returns the names as a list in the pBuffer parameter. Each application name is terminated with a NULL character and the last name is terminated with two successive NULL characters. In this case, the pulBufferMax parameter contains the total length of the list excluding the final NULL character.