mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:05:49 +00:00
[HAL/VIDEOPRT/EVENTLOG]
Really fix some of the sizeof issues svn path=/trunk/; revision=53409
This commit is contained in:
parent
5f541ba1e2
commit
5c6935be69
3 changed files with 4 additions and 4 deletions
|
@ -462,7 +462,7 @@ NTSTATUS ElfrReportEventW(
|
|||
EventID,
|
||||
lpLogHandle->szName,
|
||||
ComputerName->Buffer,
|
||||
sizeof(PRPC_SID),
|
||||
sizeof(RPC_SID),
|
||||
&UserSID,
|
||||
NumStrings,
|
||||
(WCHAR*)lpStrings,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue