diff --git a/reactos/base/services/eventlog/rpc.c b/reactos/base/services/eventlog/rpc.c index 4913794d369..1d4b7e9436a 100644 --- a/reactos/base/services/eventlog/rpc.c +++ b/reactos/base/services/eventlog/rpc.c @@ -462,7 +462,7 @@ NTSTATUS ElfrReportEventW( EventID, lpLogHandle->szName, ComputerName->Buffer, - sizeof(PRPC_SID), + sizeof(RPC_SID), &UserSID, NumStrings, (WCHAR*)lpStrings, diff --git a/reactos/drivers/video/videoprt/services.c b/reactos/drivers/video/videoprt/services.c index 18862955b67..bece37565d2 100644 --- a/reactos/drivers/video/videoprt/services.c +++ b/reactos/drivers/video/videoprt/services.c @@ -111,6 +111,6 @@ VideoPortGetAgpServices( return FALSE; } - RtlCopyMemory(AgpServices, &Interface.AgpReservePhysical, sizeof(PVIDEO_PORT_AGP_SERVICES)); + RtlCopyMemory(AgpServices, &Interface.AgpReservePhysical, sizeof(VIDEO_PORT_AGP_SERVICES)); return TRUE; } diff --git a/reactos/hal/halx86/generic/usage.c b/reactos/hal/halx86/generic/usage.c index b1e3ace6241..1c5a5bb7ff1 100644 --- a/reactos/hal/halx86/generic/usage.c +++ b/reactos/hal/halx86/generic/usage.c @@ -132,7 +132,7 @@ HalpBuildPartialFromIdt(IN ULONG Entry, RawDescriptor->u.Interrupt.Affinity = HalpActiveProcessors; /* The translated copy is identical */ - RtlCopyMemory(TranslatedDescriptor, RawDescriptor, sizeof(PCM_PARTIAL_RESOURCE_DESCRIPTOR)); + RtlCopyMemory(TranslatedDescriptor, RawDescriptor, sizeof(CM_PARTIAL_RESOURCE_DESCRIPTOR)); /* But the vector and IRQL must be set correctly */ TranslatedDescriptor->u.Interrupt.Vector = Entry; @@ -180,7 +180,7 @@ HalpBuildPartialFromAddress(IN INTERFACE_TYPE Interface, } /* Make an identical copy to begin with */ - RtlCopyMemory(TranslatedDescriptor, RawDescriptor, sizeof(PCM_PARTIAL_RESOURCE_DESCRIPTOR)); + RtlCopyMemory(TranslatedDescriptor, RawDescriptor, sizeof(CM_PARTIAL_RESOURCE_DESCRIPTOR)); /* Check what this is */ if (RawDescriptor->Type == CmResourceTypePort)