]> wimlib.net Git - wimlib/blobdiff - src/win32_common.c
Win32 capture/apply: Simplify opening existing files
[wimlib] / src / win32_common.c
index d59796b9d4494a662eb8497d7624e2a0c611c1f1..051720a255ef9d15f3ebda96a050c25aa39f961c 100644 (file)
@@ -512,12 +512,6 @@ win32_open_existing_file(const wchar_t *path, DWORD dwDesiredAccess)
                           NULL /* hTemplateFile */);
 }
 
-HANDLE
-win32_open_file_data_only(const wchar_t *path)
-{
-       return win32_open_existing_file(path, FILE_READ_DATA);
-}
-
 #ifndef WITH_NTDLL
 /* Pointers to functions that are not available on all targetted versions of
  * Windows (XP and later).  NOTE: The WINAPI annotations seem to be important; I