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.
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.
lDefault (LONG) - input
This value is returned in lResult, if the key defined by pszKey cannot be found in the initialization file.
lResult (LONG) - returns
The value of the key specified by pszKey in the initialization file.
If the value corresponding to the key is not an integer, lResult is 0.
If the key-name value is a series of digits followed by non-numeric characters, lResult contains the value of the digits only. For example, "KeyName=102abc" causes the value 102 to appear in lResult.