Author: cwittich
Date: Thu Feb 12 09:33:06 2009
New Revision: 39567
URL:
http://svn.reactos.org/svn/reactos?rev=39567&view=rev
Log:
fix formatting
Modified:
trunk/reactos/subsystems/win32/win32k/misc/copy.c
Modified: trunk/reactos/subsystems/win32/win32k/misc/copy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/mi…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/misc/copy.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/misc/copy.c [iso-8859-1] Thu Feb 12 09:33:06
2009
@@ -3,12 +3,16 @@
NTSTATUS _MmCopyFromCaller( PVOID Target, PVOID Source, UINT Bytes ) {
NTSTATUS Status = STATUS_SUCCESS;
- _SEH2_TRY {
- //ProbeForRead(Source,Bytes,1);
+ _SEH2_TRY
+ {
+ /* ProbeForRead(Source,Bytes,1); */
RtlCopyMemory(Target,Source,Bytes);
- } _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) {
- Status = _SEH2_GetExceptionCode();
- } _SEH2_END;
+ }
+ _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
+ {
+ Status = _SEH2_GetExceptionCode();
+ }
+ _SEH2_END;
return Status;
}
@@ -16,12 +20,16 @@
NTSTATUS _MmCopyToCaller( PVOID Target, PVOID Source, UINT Bytes ) {
NTSTATUS Status = STATUS_SUCCESS;
- _SEH2_TRY {
- //ProbeForWrite(Target,Bytes,1);
+ _SEH2_TRY
+ {
+ /* ProbeForWrite(Target,Bytes,1); */
RtlCopyMemory(Target,Source,Bytes);
- } _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) {
- Status = _SEH2_GetExceptionCode();
- } _SEH2_END;
+ }
+ _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
+ {
+ Status = _SEH2_GetExceptionCode();
+ }
+ _SEH2_END;
return Status;
}