From 03425cb09da3765b678cd6228b3cb98098b8a225 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Fri, 27 Aug 2004 19:11:01 +0000 Subject: [PATCH] Added stub implementations for NtDeleteFile and NtCancelIoFile. --- dlls/ntdll/file.c | 23 +++++++++++++++++++++++ dlls/ntdll/ntdll.spec | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 6f59432dcfb..9c6afe20a82 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -1623,3 +1623,26 @@ NTSTATUS WINAPI NtCreateNamedPipeFile( PHANDLE FileHandle, ULONG DesiredAccess, 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; +} diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index b57ca6c1850..2e56b00a8be 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -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)