From: JustPosting on
Which lib is needed for this function? I see in ntifs.h there's an
implementation for AMD64 with a prototype for others, but I just get
an unresolved external when trying to build any x86 code with this
function. Searching through wxp\ntoskrnl.lib only turns up mentions of
RtlFillMemory and RtlFillMemoryUlong.

Thanks,
Adrian

From: Tim Roberts on
JustPosting(a)googlemail.com wrote:
>
>Which lib is needed for this function? I see in ntifs.h there's an
>implementation for AMD64 with a prototype for others, but I just get
>an unresolved external when trying to build any x86 code with this
>function. Searching through wxp\ntoskrnl.lib only turns up mentions of
>RtlFillMemory and RtlFillMemoryUlong.

Despite the include file, RtlFillMemoryUlonglong is only available for
AMD64. That's natural, since there is no "rep stosq" instruction in x86.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.