[DllImport("coredll.dll", SetLastError = true)]
static extern bool EventModify(IntPtr hEvent, int func);
private enum EventFlags
{
EVENT_PULSE = 1,
EVENT_RESET = 2,
EVENT_SET = 3
}
private static void SetEvent(IntPtr hSomeHandle)
{
EventModify(hSomeHandle, (int)EventFlags.EVENT_SET);
}
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!