Lines Matching refs:registry_key
238 char* registry_key = malloc(registry_size); in add_explicit_layers() local
239 snprintf(registry_key, registry_size, registry_pattern, api_name); in add_explicit_layers()
250 if(RegCreateKeyEx(HKEY_LOCAL_MACHINE, registry_key, 0, NULL, REG_OPTION_NON_VOLATILE, flags, in add_explicit_layers()
252 free(registry_key); in add_explicit_layers()
273 free(registry_key); in add_explicit_layers()
285 free(registry_key); in add_explicit_layers()
291 free(registry_key); in add_explicit_layers()
523 char* registry_key = malloc(registry_size); in remove_explicit_layers() local
524 snprintf(registry_key, registry_size, pattern, api_name); in remove_explicit_layers()
537 if(RegCreateKeyEx(HKEY_LOCAL_MACHINE, registry_key, 0, NULL, REG_OPTION_NON_VOLATILE, flags, in remove_explicit_layers()
539 free(registry_key); in remove_explicit_layers()
556 free(registry_key); in remove_explicit_layers()
571 free(registry_key); in remove_explicit_layers()