hini (HINI) - input
HINI_PROFILE
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.
pszKey (PSZ) - input
The name of the key 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, and if pszApp is not equal to NULL, this call enumerates all key names associated with the named application and returns the key names, but not their values, as a list in the pBuffer parameter. Each key 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.
pBuffer (PVOID) - output
A buffer in which the value corresponding to the key name is returned. The returned data is not null terminated, unless the value data is explicitly null terminated within the file. This function handles binary data.
pulBufferMax (PULONG) - in/out
This is the size of the buffer specified by the pBuffer parameter. If the call is successful, this is overwritten with the number of bytes copied into the buffer. The maximum amount of data that can be returned is 64K bytes.
rc (BOOL) - returns
TRUE