@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: TODO - a short description !!!!C# Signature: public class CoreDll { [DllImport("coredll.dll", EntryPoint = "memset", SetLastError = false)] private static extern void memset(IntPtr dest, int c, int size); public static bool ZeroMemory(object o) { try { GCHandle gc = GCHandle.Alloc(o, GCHandleType.Pinned); memset(gc.AddrOfPinnedObject(), 0, Marshal.SizeOf(o)); gc.Free(); return true; } catch (ArgumentException) { return false; } catch (InvalidOperationException) { return false; } catch (NotImplementedException) { return false; } catch (NotSupportedException) { return false; } } } !!!!VB Signature: Declare Function ZeroMemory Lib "CoreDll.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: ZeroMemory@msdn on MSDN
Edit coredll.ZeroMemory
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.