mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 01:41:21 +00:00
Adjust MmCopyFrom/ToCaller() declarations to fix warnings in win32k
svn path=/trunk/; revision=5504
This commit is contained in:
parent
b7ad386053
commit
198b7818d5
3 changed files with 9 additions and 9 deletions
|
@ -372,8 +372,8 @@ VOID MmSetCleanPage(struct _EPROCESS* Process, PVOID Address);
|
||||||
VOID MmLockPage(PHYSICAL_ADDRESS PhysicalPage);
|
VOID MmLockPage(PHYSICAL_ADDRESS PhysicalPage);
|
||||||
VOID MmUnlockPage(PHYSICAL_ADDRESS PhysicalPage);
|
VOID MmUnlockPage(PHYSICAL_ADDRESS PhysicalPage);
|
||||||
|
|
||||||
NTSTATUS MmSafeCopyFromUser(PVOID Dest, PVOID Src, ULONG Count);
|
NTSTATUS MmSafeCopyFromUser(PVOID Dest, const VOID *Src, ULONG Count);
|
||||||
NTSTATUS MmSafeCopyToUser(PVOID Dest, PVOID Src, ULONG Count);
|
NTSTATUS MmSafeCopyToUser(PVOID Dest, const VOID *Src, ULONG Count);
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
MmCreatePhysicalMemorySection(VOID);
|
MmCreatePhysicalMemorySection(VOID);
|
||||||
PHYSICAL_ADDRESS
|
PHYSICAL_ADDRESS
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#ifndef __NTOSKRNL_INCLUDE_INTERNAL_SAFE_H
|
#ifndef __NTOSKRNL_INCLUDE_INTERNAL_SAFE_H
|
||||||
#define __NTOSKRNL_INCLUDE_INTERNAL_SAFE_H
|
#define __NTOSKRNL_INCLUDE_INTERNAL_SAFE_H
|
||||||
|
|
||||||
NTSTATUS MmSafeCopyFromUser(PVOID Dest, PVOID Src, ULONG NumberOfBytes);
|
NTSTATUS MmSafeCopyFromUser(PVOID Dest, const VOID *Src, ULONG NumberOfBytes);
|
||||||
NTSTATUS MmSafeCopyToUser(PVOID Dest, PVOID Src, ULONG NumberOfBytes);
|
NTSTATUS MmSafeCopyToUser(PVOID Dest, const VOID *Src, ULONG NumberOfBytes);
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
MmCopyFromCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes);
|
MmCopyFromCaller(PVOID Dest, const VOID *Src, ULONG NumberOfBytes);
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
MmCopyToCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes);
|
MmCopyToCaller(PVOID Dest, const VOID *Src, ULONG NumberOfBytes);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
RtlCaptureUnicodeString(PUNICODE_STRING Dest,
|
RtlCaptureUnicodeString(PUNICODE_STRING Dest,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: mem.c,v 1.19 2003/07/11 01:23:15 royce Exp $
|
/* $Id: mem.c,v 1.20 2003/08/10 07:05:24 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
MmCopyToCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes)
|
MmCopyToCaller(PVOID Dest, const VOID *Src, ULONG NumberOfBytes)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ MmCopyToCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes)
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
MmCopyFromCaller(PVOID Dest, PVOID Src, ULONG NumberOfBytes)
|
MmCopyFromCaller(PVOID Dest, const VOID *Src, ULONG NumberOfBytes)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue