@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm @pinvokenetkernel32=http://pinvoke.net/default.aspx/kernel32/$$$.html Summary: Frees the specified local memory object and invalidates its handle. !!!!C# Signature: [DllImport("kernel32.dll", SetLastError=true)] static extern IntPtr LocalFree(IntPtr hMem); !!!!User-Defined Types: None. !!!!Notes: [2004-05-24 - Nicholas Paldino] The SetLastError flag needs to be set to true in order to retain information that would be obtained from GetLastError in the event of an error being returned. [2004-07-26 - Toby Patke] If you need to access this function from a Pocket PC, the DLL you want is: \Windows\coredll.dll !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: System.Runtime.InteropServices.Marshal.FreeHGlobal@msdn Documentation: LocalFree@msdn on MSDN !!!!See also: LocalAlloc
Edit kernel32.localfree
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.