NTDLL: add stub implementations for NtDeleteFile and NtCancelIoFile

Mike McCormack mike at codeweavers.com
Fri Aug 27 02:07:21 CDT 2004


ChangeLog:
* add stub implementations for NtDeleteFile and NtCancelIoFile
-------------- next part --------------
Index: dlls/ntdll/file.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/file.c,v
retrieving revision 1.66
diff -u -r1.66 file.c
--- dlls/ntdll/file.c	19 Aug 2004 02:41:55 -0000	1.66
+++ dlls/ntdll/file.c	27 Aug 2004 05:40:51 -0000
@@ -1623,3 +1623,26 @@
           OutboundQuota, DefaultTimeout);
     return STATUS_NOT_IMPLEMENTED;
 }
+
+/******************************************************************
+ *		NtDeleteFile    (NTDLL.@)
+ *
+ *
+ */
+NTSTATUS WINAPI NtDeleteFile( POBJECT_ATTRIBUTES ObjectAttributes )
+{
+    FIXME("%p\n", ObjectAttributes);
+    return STATUS_NOT_IMPLEMENTED;
+}
+
+/******************************************************************
+ *		NtCancelIoFile    (NTDLL.@)
+ *
+ *
+ */
+NTSTATUS WINAPI NtCancelIoFile( HANDLE FileHandle,
+    PIO_STATUS_BLOCK IoStatusBlock)
+{
+    FIXME("%p %p\n", FileHandle, IoStatusBlock );
+    return STATUS_NOT_IMPLEMENTED;
+}
Index: dlls/ntdll/ntdll.spec
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/ntdll.spec,v
retrieving revision 1.162
diff -u -r1.162 ntdll.spec
--- dlls/ntdll/ntdll.spec	18 Aug 2004 00:04:58 -0000	1.162
+++ dlls/ntdll/ntdll.spec	27 Aug 2004 05:40:51 -0000
@@ -74,7 +74,7 @@
 @ stdcall NtAllocateUuids(ptr ptr ptr)
 @ stdcall NtAllocateVirtualMemory(long ptr ptr ptr long long)
 @ stub NtCallbackReturn
-@ stub NtCancelIoFile
+@ stdcall NtCancelIoFile(long ptr)
 @ stdcall NtCancelTimer(long ptr)
 @ stdcall NtClearEvent(long)
 @ stdcall NtClose(long)
@@ -103,7 +103,7 @@
 @ stub NtCreateToken
 @ stdcall NtCurrentTeb()
 @ stdcall NtDelayExecution(long ptr)
-@ stub NtDeleteFile
+@ stdcall NtDeleteFile(ptr)
 @ stdcall NtDeleteKey(long)
 @ stdcall NtDeleteValueKey(long ptr)
 @ stdcall NtDeviceIoControlFile(long long long long long long long long long long)


More information about the wine-patches mailing list