In Win32 programming a handful of POD structs is used. Those structs often need to be zeroed out before usage.
This can be done by calling memset()/
memset()
In Win32, ZeroMemory is just a Macro around RtlZeroRemory, which is a macro to memset. So, I don't think it makes a difference.
ZeroMemory
RtlZeroRemory
WinBase.h:
WinBase.h
\#define ZeroMemory RtlZeroMemory"
WinNT.h:
WinNT.h
\#define RtlZeroMemory(Destination,Length) memset((Destination),0,(Length))