[DllImport("Kernel32.dll", EntryPoint="RtlZeroMemory", SetLastError=false)]
static extern void ZeroMemory(IntPtr dest, int size);
Declare Auto Sub ZeroMemory Lib "Kernel32.dll" _
Alias "RtlZeroMemory" (ByVal dest As IntPtr, ByVal size As Integer)
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!
