[DllImport("Kernel32.dll", EntryPoint="RtlZeroMemory", SetLastError=true)]
static extern void ZeroMemory(IntPtr dest, int size);
Declare Auto Sub ZeroMemory Lib "Kernel32.dll" _
Alias RtlZeroMemory(IntPtr dest, int size)
None.
Use Marshal.Copy() to copy an zero-filled managed array onto the unmanaged heap.
VB developers might want to check the VB declaration thoroughly...
Please add some!
Please add some!