+\r
+ // String Table:\r
+ // 4097 = "You need to format the disk in drive %c: before you can use it." (dialog text)\r
+ // 4125 = "Microsoft Windows" (dialog title)\r
+ // 4126 = "Format disk" (button)\r
+ if (LoadStringU(hMui, 4125, g_FormatDiskTitle, sizeof(g_FormatDiskTitle)) <= 0) {\r
+ static_strcpy(g_FormatDiskTitle, "Microsoft Windows");\r
+ Log("Warning: Could not locate localized format prompt title string in '%s': %u", mui_path, LASTERR);\r
+ }\r
+\r
+ if (LoadStringU(hMui, 4126, g_FormatDiskButton, sizeof(g_FormatDiskButton)) <= 0) {\r
+ static_strcpy(g_FormatDiskButton, "Format disk");\r
+ Log("Warning: Could not locate localized format prompt button string in '%s': %u", mui_path, LASTERR);\r
+ }\r
+\r
+ // 32964 = "Location is not available"\r
+ if (LoadStringU(hMui, 32964, g_LocNotAvaliableTitle, sizeof(g_LocNotAvaliableTitle)) <= 0) {\r
+ static_strcpy(g_LocNotAvaliableTitle, "Location is not available");\r
+ Log("Warning: Could not locate localized format prompt title string in '%s': %u", mui_path, LASTERR);\r
+ }\r
+\r
+ if (!LoadDialogCaption(hMui, 1024, g_InsertDiskTitle, sizeof(g_InsertDiskTitle)))\r
+ {\r
+ static_strcpy(g_InsertDiskTitle, "Insert disk");\r
+ Log("Warning: Could not locate insert disk title string in '%s': %u", mui_path, LASTERR);\r
+ }\r
+\r
+ FreeLibrary(hMui);\r