[DllImport("coredll.dll", CharSet=CharSet.Auto, SetLastError=true)]
public static extern IntPtr OpenEvent(int desiredAccess, bool inheritHandle, string name);
Declare Function OpenEvent Lib "coredll.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
The OpenEvent function enables multiple processes to open handles of the same event object. The function succeeds only if some process has already created the event using the CreateEvent function. The calling process can use the returned handle in any function that requires a handle to an event object, subject to the limitations of the access specified in the dwDesiredAccess parameter.
Use the DuplicateHandle function to duplicate the handle. Use the CloseHandle function to close the handle. The system closes the handle automatically when the process terminates. The event object is destroyed when its last handle has been closed.
Please add some!
Please add some!