mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
- 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:
parent
e912efded4
commit
354d1e506d
4 changed files with 4 additions and 14 deletions
|
@ -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))
|
||||
|
|
|
@ -2065,7 +2065,7 @@ NTSTATUS
|
|||
NTAPI
|
||||
RtlSetIoCompletionCallback(
|
||||
IN HANDLE FileHandle,
|
||||
IN PRTL_OVERLAPPED_COMPLETION_ROUTINE Function,
|
||||
IN PIO_APC_ROUTINE Callback,
|
||||
IN ULONG Flags
|
||||
);
|
||||
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue