2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2005-07-13 08:48:49 +00:00
|
|
|
|
|
|
|
|
2014-04-24 17:19:20 +00:00
|
|
|
_IRQL_requires_max_(APC_LEVEL)
|
|
|
|
NTSTATUS
|
|
|
|
_MmCopyFromCaller(
|
|
|
|
_Out_writes_bytes_all_(Bytes) PVOID Target,
|
|
|
|
_In_reads_bytes_(Bytes) PVOID Source,
|
|
|
|
_In_ UINT Bytes);
|
|
|
|
|
|
|
|
_IRQL_requires_max_(APC_LEVEL)
|
|
|
|
NTSTATUS
|
|
|
|
_MmCopyToCaller(
|
|
|
|
_Out_writes_bytes_all_(Bytes) PVOID Target,
|
|
|
|
_In_reads_bytes_(Bytes) PVOID Source,
|
|
|
|
_In_ UINT Bytes);
|
2005-07-13 08:48:49 +00:00
|
|
|
|
|
|
|
#define MmCopyFromCaller(x,y,z) _MmCopyFromCaller((PCHAR)(x),(PCHAR)(y),(UINT)(z))
|
2005-07-22 20:51:36 +00:00
|
|
|
#define MmCopyToCaller(x,y,z) _MmCopyToCaller((PCHAR)(x),(PCHAR)(y),(UINT)(z))
|