char *read_setting_s(void *handle, char *key, char *buffer, int buflen)
char *read_setting_s(void *handle, const char *key, char *buffer, int buflen)
char *read_setting_s(void *handle, char *key, char *buffer, int buflen){    DWORD type, size;    size = buflen;    if (!handle ||	RegQueryValueEx((HKEY) handle, key, 0,			&type, buffer, &size) != ERROR_SUCCESS ||	type != REG_SZ) return NULL;    else	return buffer;}