4

定義から (winnt.h):

#define RtlCopyMemory(Destination,Source,Length) memcpy((Destination),(Source),(Length))
#define RtlFillMemory(Destination,Length,Fill) memset((Destination),(Fill),(Length))

この関数は実際にはマクロであり、memset/memcpy 関数を呼び出します。

質問はなぜですか?

本来、この関数はkernel32.dllによってエクスポートされます(ただし、ntdll.dllへのスタブとしてのみ)。これらを CRT 関数として使用する理由は何ですか?

4

1 に答える 1