- Cleanup 37394, 37396 and 37397:

* PRTL_OVERLAPPED_COMPLETION_ROUTINE is a Wine invention. We already have a type for that, since it's an APC routine, the type will be PIO_APC_ROUTINE.
 * Fix headers, actual stub, and usage in kernel32 respectively.
 * We don't use hungarian notation in RTL ("hFileHandle") .

svn path=/trunk/; revision=37399
This commit is contained in:
Aleksey Bragin 2008-11-17 13:16:07 +00:00
parent e912efded4
commit 354d1e506d
4 changed files with 4 additions and 14 deletions

View file

@ -355,7 +355,7 @@ BindIoCompletionCallback(HANDLE FileHandle,
DPRINT("(%p, %p, %d)\n", FileHandle, Function, Flags);
Status = RtlSetIoCompletionCallback(FileHandle,
(PRTL_OVERLAPPED_COMPLETION_ROUTINE) Function,
(PIO_APC_ROUTINE)Function,
Flags);
if (!NT_SUCCESS(Status))

View file

@ -2065,7 +2065,7 @@ NTSTATUS
NTAPI
RtlSetIoCompletionCallback(
IN HANDLE FileHandle,
IN PRTL_OVERLAPPED_COMPLETION_ROUTINE Function,
IN PIO_APC_ROUTINE Callback,
IN ULONG Flags
);

View file

@ -431,16 +431,6 @@ extern const PRTL_REALLOCATE_STRING_ROUTINE RtlReallocateStringRoutine;
#endif
//
// Callback for RtlSetIoCompletionCallback
//
typedef VOID
(NTAPI *PRTL_OVERLAPPED_COMPLETION_ROUTINE)(
ULONG,
ULONG,
PVOID
);
//
// Callback for RTL Heap Enumeration
//

View file

@ -885,8 +885,8 @@ Cleanup:
*/
NTSTATUS
NTAPI
RtlSetIoCompletionCallback(IN HANDLE hFileHandle,
IN PRTL_OVERLAPPED_COMPLETION_ROUTINE Function,
RtlSetIoCompletionCallback(IN HANDLE FileHandle,
IN PIO_APC_ROUTINE Callback,
IN ULONG Flags)
{
UNIMPLEMENTED;