@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The OpenMutex API !!!!C# Signature: [DllImport("kernel32.dll")] static extern IntPtr OpenMutex(uint dwDesiredAccess, bool bInheritHandle, string lpName); !!!!C# Const: const UInt32 DELETE = 0x00010000; const UInt32 READ_CONTROL = 0x00020000; const UInt32 SYNCHRONIZE = 0x00100000; const UInt32 WRITE_DAC = 0x00040000; const UInt32 WRITE_OWNER = 0x00080000; const UInt32 MUTEX_ALL_ACCESS = 0x1F0001; const UInt32 MUTEX_MODIFY_STATE = 0x0001; !!!!User-Defined Types: !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: hMutex = OpenMutex(SYNCHRONIZE, false, MUTEX_NAME); if (hMutex == IntPtr.Zero) { //DestroySharedMemory(); throw new Win32Exception(); } !!!!Alternative Managed API: See System.Threading.Mutex in .NET Framework 1.1 Documentation: OpenMutex@msdn on MSDN
Edit kernel32.OpenMutex
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.