Reference

PROFILE_EnumerateWineIniSection(3w)

int PROFILE_EnumerateWineIniSection(

NAME

PROFILE_EnumerateWineIniSection - int PROFILE_EnumerateWineIniSection(

SYNOPSIS

int PROFILE_EnumerateWineIniSection
(

char const *section,

void (*cbfn)(char const *,char const *,void *),

void *userptr
);

DESCRIPTION

Char const *section, // Name of the section to enumerate void (*cbfn)(char const *key, char const *value, void *user), Address of the callback function void *user ) // User-specified pointer.

For each entry in a section in the wine.conf file, this function will call the specified callback function, informing it of each key and value. An optional user pointer may be passed to it (if this is not needed, pass NULL through it and ignore the value in the callback function).

THE CALLBACK FUNCTION MUST ACCEPT THREE PARAMETERS

The name of the key (char const *) The value of the key (char const *) A user-specified parameter (void *) Note that the first two are char CONST *'s, not char *'s! The callback MUST not modify these strings!

The return value indicates the number of times the callback function was called.

SEE ALSO

PROFILE_GetWineIniString(3w), PROFILE_GetWineIniInt(3w), PROFILE_GetWineIniBool(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)