@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetHandleInformation API !!!!C# Signature: [DllImport("kernel32.dll")] static extern bool GetHandleInformation(IntPtr hObject, out uint lpdwFlags); !!!!User-Defined Types: const uint HANDLE_FLAG_INHERIT = 0x00000001; const uint HANDLE_FLAG_PROTECT_FROM_CLOSE = 0x00000002; !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: uint flags; IntPtr handle; // define handle bool result = GetHandleInformation(handle, out flags); Console.WriteLine(flags & HANDLE_FLAG_INHERIT); Console.WriteLine(flags & HANDLE_FLAG_PROTECT_FROM_CLOSE); !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetHandleInformation@msdn on MSDN
Edit kernel32.GetHandl...
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.