#OpenEvent

CreateEvent,OpenEvent成功后 是否需要::CloseHandle(xxx); 避免句柄泄漏

 boolbExist=false; HANDLEhHandle=::CreateEvent(NULL, FALSE, FALSE, L"Global\xxxxx_name");if (hHandle&&ERROR_ALREADY_EXISTS...