X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwin32_common.c;h=30f7d6238c9f8b20835debeebe2171b0491e6548;hp=3b0d9e842978f04ed354670e31760a0e585c7a85;hb=873a86a1a5097f2a161494341d8d962453a30465;hpb=0ae7e5538476723feb14f07a478b92210e24a21b;ds=sidebyside diff --git a/src/win32_common.c b/src/win32_common.c index 3b0d9e84..30f7d623 100644 --- a/src/win32_common.c +++ b/src/win32_common.c @@ -407,7 +407,10 @@ win32_try_to_attach_wof(const wchar_t *drive) if (func_FilterAttach) { HRESULT res; - res = (*func_FilterAttach)(L"WoF", drive, NULL, 0, NULL); + res = (*func_FilterAttach)(L"wof", drive, NULL, 0, NULL); + + if (res != S_OK) + res = (*func_FilterAttach)(L"wofadk", drive, NULL, 0, NULL); if (res == S_OK) retval = true;