ntdll: Use an NtWriteFile pointer instead of a static import.

Dmitry Timoshkov dmitry at codeweavers.com
Tue Mar 22 03:18:09 CDT 2011


---
 dlls/ntdll/tests/file.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
index c473262..58e4a4b 100644
--- a/dlls/ntdll/tests/file.c
+++ b/dlls/ntdll/tests/file.c
@@ -840,8 +840,8 @@ static void append_file_test(void)
     U(iosb).Status = STATUS_PENDING;
     iosb.Information = 0;
 
-    status = NtWriteFile(handle, NULL, NULL, NULL, &iosb,
-                         text, sizeof(text), NULL, NULL);
+    status = pNtWriteFile(handle, NULL, NULL, NULL, &iosb,
+                          text, sizeof(text), NULL, NULL);
 
     if (status == STATUS_PENDING)
     {
-- 
1.7.3.5




More information about the wine-patches mailing list