Reference

RtlLargeIntegerDivide(3w)

NAME

RtlLargeIntegerDivide (NTDLL.@)

SYNOPSIS

ULONGLONG RtlLargeIntegerDivide
(
ULONGLONG a,
ULONGLONG b,
ULONGLONG* rem
)

DESCRIPTION

Divide one 64 bit unsigned integer by another, with remainder.

PARAMS

a [In] Initial number.

b [In] Number to divide a by.

rem [Out] Destination for remainder.

RETURNS

The dividend of a and b. If rem is non-NULL it is set to the remainder.

FIXME

Should it be signed division instead?

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/large_int.c".

History