[HAL/VIDEOPRT/EVENTLOG]

Really fix some of the sizeof issues

svn path=/trunk/; revision=53409
This commit is contained in:
Timo Kreuzer 2011-08-24 09:41:16 +00:00
parent 5f541ba1e2
commit 5c6935be69
3 changed files with 4 additions and 4 deletions

View file

@ -462,7 +462,7 @@ NTSTATUS ElfrReportEventW(
EventID,
lpLogHandle->szName,
ComputerName->Buffer,
sizeof(PRPC_SID),
sizeof(RPC_SID),
&UserSID,
NumStrings,
(WCHAR*)lpStrings,

View file

@ -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;
}

View file

@ -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)