int read_setting_i(void *handle, char *key, int defvalue)
int read_setting_i(void *handle, const char *key, int defvalue)
int read_setting_i(void *handle, char *key, int defvalue){    DWORD type, val, size;    size = sizeof(val);    if (!handle ||	RegQueryValueEx((HKEY) handle, key, 0, &type,			(BYTE *) & val, &size) != ERROR_SUCCESS ||	size != sizeof(val) || type != REG_DWORD)	return defvalue;    else	return val;}