void datamap_update_all_controls(datamap *map, HWND dialog, windows_options *opts) { for (int i = 0; i < map->entry_count; i++) control_operation(map, dialog, opts, &map->entries[i], DCT_UPDATE_STATUS); }
void datamap_update_control(datamap *map, HWND dialog, windows_options &opts, int dlgitem) { datamap_entry *entry = find_entry(map, dlgitem); control_operation(map, dialog, &opts, entry, DCT_UPDATE_STATUS); }
void datamap_populate_all_controls(datamap *map, HWND dialog, windows_options &opts) { for (int i = 0; i < map->entry_count; i++) control_operation(map, dialog, &opts, &map->entries[i], DCT_POPULATE_CONTROL); }
void datamap_populate_control(datamap *map, HWND dialog, windows_options &opts, int dlgitem) { datamap_entry *entry = find_entry(map, dlgitem); control_operation(map, dialog, &opts, entry, DCT_POPULATE_CONTROL); }
BOOL datamap_read_control(datamap *map, HWND dialog, windows_options &opts, int dlgitem) { datamap_entry *entry = find_entry(map, dlgitem); return control_operation(map, dialog, &opts, entry, DCT_READ_CONTROL); }
void datamap_read_all_controls(datamap *map, HWND dialog, windows_options &opts) { int i; for (i = 0; i < map->entry_count; i++) control_operation(map, dialog, &opts, &map->entries[i], DCT_READ_CONTROL); }