NAME
PROFILE_GetWineIniBool - int PROFILE_GetWineIniBool(
SYNOPSIS
int PROFILE_GetWineIniBool
(
char const *section,
char const *key_name,
int def
);
DESCRIPTION
Char const *section, char const *key_name, int def )
Reads a boolean value from the wine.ini file. This function attempts to be user-friendly by accepting 'n', 'N' (no), 'f', 'F' (false), or '0' (zero) for false, 'y', 'Y' (yes), 't', 'T' (true), or '1' (one) for true. Anything else results in the return of the default value.
This function uses 1 to indicate true, and 0 for false. You can check for existence by setting def to something other than 0 or 1 and examining the return value.
SEE ALSO
PROFILE_GetWineIniString(3w), PROFILE_GetWineIniInt(3w), PROFILE_EnumerateWineIniSection(3w), PROFILE_LoadWineIni(3w), PROFILE_GetStringItem(3w), GetProfileInt16(3w), GetProfileInt32A(3w), GetProfileInt32W(3w), GetProfileString16(3w), GetProfileString32A(3w), GetProfileString32W(3w), GetProfileSection32A(3w), WriteProfileString16(3w), WriteProfileString32A(3w), WriteProfileString32W(3w), GetPrivateProfileInt16(3w), GetPrivateProfileInt32A(3w), GetPrivateProfileInt32W(3w), GetPrivateProfileString16(3w), GetPrivateProfileString32A(3w), GetPrivateProfileString32W(3w), GetPrivateProfileSection32A(3w), WritePrivateProfileString16(3w), WritePrivateProfileString32A(3w), WritePrivateProfileString32W(3w), WritePrivateProfileSection32A(3w), WriteOutProfiles(3w)