mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 13:14:59 -06:00
18 lines
353 B
C++
Executable File
18 lines
353 B
C++
Executable File
// Windows/Synchronization.cpp
|
|
|
|
#include "StdAfx.h"
|
|
|
|
#include "Synchronization.h"
|
|
|
|
namespace NWindows {
|
|
namespace NSynchronization {
|
|
|
|
CEvent::CEvent(bool manualReset, bool initiallyOwn, LPCTSTR name,
|
|
LPSECURITY_ATTRIBUTES securityAttributes)
|
|
{
|
|
if (!Create(manualReset, initiallyOwn, name, securityAttributes))
|
|
throw "CreateEvent error";
|
|
}
|
|
|
|
}}
|