[DllImport("kernel32.dll", SetLastError=true)]
static extern IntPtr LocalFree(IntPtr hMem);
None.
[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
Please add some!
Please add some!
System.Runtime.InteropServices.Marshal.FreeHGlobal