ret = malloc(sizeof(*ret));
ret = smalloc(sizeof(*ret));
void *enum_settings_start(void) {    struct enumsettings *ret;    HKEY key;    if (RegCreateKey(HKEY_CURRENT_USER, puttystr, &key) != ERROR_SUCCESS)        return NULL;    ret = malloc(sizeof(*ret));    if (ret) {        ret->key = key;        ret->i = 0;    }    return ret;}