mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:12:57 +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,
|
EventID,
|
||||||
lpLogHandle->szName,
|
lpLogHandle->szName,
|
||||||
ComputerName->Buffer,
|
ComputerName->Buffer,
|
||||||
sizeof(PRPC_SID),
|
sizeof(RPC_SID),
|
||||||
&UserSID,
|
&UserSID,
|
||||||
NumStrings,
|
NumStrings,
|
||||||
(WCHAR*)lpStrings,
|
(WCHAR*)lpStrings,
|
||||||
|
|
|
@ -111,6 +111,6 @@ VideoPortGetAgpServices(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
RtlCopyMemory(AgpServices, &Interface.AgpReservePhysical, sizeof(PVIDEO_PORT_AGP_SERVICES));
|
RtlCopyMemory(AgpServices, &Interface.AgpReservePhysical, sizeof(VIDEO_PORT_AGP_SERVICES));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,7 @@ HalpBuildPartialFromIdt(IN ULONG Entry,
|
||||||
RawDescriptor->u.Interrupt.Affinity = HalpActiveProcessors;
|
RawDescriptor->u.Interrupt.Affinity = HalpActiveProcessors;
|
||||||
|
|
||||||
/* The translated copy is identical */
|
/* 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 */
|
/* But the vector and IRQL must be set correctly */
|
||||||
TranslatedDescriptor->u.Interrupt.Vector = Entry;
|
TranslatedDescriptor->u.Interrupt.Vector = Entry;
|
||||||
|
@ -180,7 +180,7 @@ HalpBuildPartialFromAddress(IN INTERFACE_TYPE Interface,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make an identical copy to begin with */
|
/* 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 */
|
/* Check what this is */
|
||||||
if (RawDescriptor->Type == CmResourceTypePort)
|
if (RawDescriptor->Type == CmResourceTypePort)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue