@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetProcessHeaps API !!!!C# Signature: [DllImport("kernel32.dll", SetLastError = true)] public static extern UInt32 GetProcessHeaps( UInt32 NumberOfHeaps, IntPtr[] ProcessHeaps); !!!!VB Signature: Declare Function GetProcessHeaps Lib "kernel32" (ByVal NumberOfHeaps As Integer, ByRef ProcessHeaps As Integer) As Integer !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Although the parameter ProcessHeaps is declared as out in the MSDN, it is in. How else should the method be able to recieve a buffer? !!!!Sample Code: IntPtr[] buffer; uint count = GetProcessHeaps(0, null); buffer = new IntPtr[count]; GetProcessHeaps(count, buffer); !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetProcessHeaps@msdn on MSDN
Edit kernel32.GetProce...
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.