mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
[NDK]
Fix definition of RtlExtendedLargeIntegerDivide. svn path=/trunk/; revision=54375
This commit is contained in:
@@ -3555,8 +3555,23 @@ RtlEnlargedUnsignedMultiply(
|
||||
return Product;
|
||||
}
|
||||
|
||||
#endif
|
||||
#if defined(_AMD64_) || defined(_IA64_)
|
||||
static __inline
|
||||
LARGE_INTEGER
|
||||
NTAPI_INLINE
|
||||
RtlExtendedLargeIntegerDivide(
|
||||
IN LARGE_INTEGER Dividend,
|
||||
IN ULONG Divisor,
|
||||
OUT PULONG Remainder OPTIONAL)
|
||||
{
|
||||
LARGE_INTEGER ret;
|
||||
ret.QuadPart = (ULONG64)Dividend.QuadPart / Divisor;
|
||||
if (Remainder)
|
||||
*Remainder = (ULONG)(Dividend.QuadPart % Divisor);
|
||||
return ret;
|
||||
}
|
||||
|
||||
#else
|
||||
NTSYSAPI
|
||||
LARGE_INTEGER
|
||||
NTAPI
|
||||
@@ -3566,6 +3581,11 @@ RtlExtendedLargeIntegerDivide(
|
||||
OUT PULONG Remainder OPTIONAL
|
||||
);
|
||||
|
||||
#endif /* defined(_AMD64_) || defined(_IA64_) */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
NTSYSAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
|
||||
Reference in New Issue
Block a user