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

Alexandre Julliard julliard at winehq.org
Mon Mar 28 14:21:56 CDT 2011


Module: wine
Branch: master
Commit: bfd69719a6d097205ba594cf45d21775a3eac9e4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bfd69719a6d097205ba594cf45d21775a3eac9e4

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Tue Mar 22 16:18:09 2011 +0800

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

---

 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)
     {




More information about the wine-cvs mailing list