X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fsubsystems%2Fntvdm%2Fio.c;h=7fa28918fd00f43227ee1ccab4b9b629dcd87c80;hp=9a85a114cf563bb98cdab0e14583fbda0225c289;hb=1fd3e7e17e4aaf06056c6ea21242f3b6bd97420f;hpb=9718330254dd78bf2b5b2695ce1c886c994bb989 diff --git a/reactos/subsystems/ntvdm/io.c b/reactos/subsystems/ntvdm/io.c index 9a85a114cf5..7fa28918fd0 100644 --- a/reactos/subsystems/ntvdm/io.c +++ b/reactos/subsystems/ntvdm/io.c @@ -342,7 +342,7 @@ VOID UnregisterIoPort(ULONG Port) * the hVdd gets unregistered as well as all the handlers. */ // IoPortProc[Port] = {NULL}; - ZeroMemory(&IoPortProc[Port], sizeof(IoPortProc[Port])); + RtlZeroMemory(&IoPortProc[Port], sizeof(IoPortProc[Port])); } VOID WINAPI @@ -594,7 +594,7 @@ VDDDeInstallIOHook(HANDLE hVdd, * the hVdd gets unregistered as well as all the handlers. */ // IoPortProc[i] = {NULL}; - ZeroMemory(&IoPortProc[i], sizeof(IoPortProc[i])); + RtlZeroMemory(&IoPortProc[i], sizeof(IoPortProc[i])); } /* Go to the next range */