windows - Why do ZeroMemory, etc. exist when there are memset, etc. already? -
Why do ZeroMerry, and similar calls are present in the Windows API when the mailset and related calls already exist in the C standard library ? Who will call me? I think the answer is "depends" what?
in C and C ++, zero memory ()
and MEMSSET ()
is the exact same thing.
/ * winnt.h * / #define RtlZeroMemory (destination, length) maseet ((destination), 0, (length)) / * in winbase.h * / #define zeromomy RTL ZormanMori
Why use ZeroMemory ()
then? But I like it in memet ()
C or C ++ programs.
Comments
Post a Comment