MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / CreateEvent

Function CreateEvent

Win32Lib/Win32Lib.cpp:234–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234Handle CreateEvent(const SECURITY_ATTRIBUTES* pEventAttributes, bool manualReset, bool initialState, const wchar_t* pName)
235{
236 Handle hEvent(::CreateEventW(const_cast<SECURITY_ATTRIBUTES*>(pEventAttributes), manualReset, initialState, pName));
237 if (!hEvent)
238 ThrowLastError("CreateEvent");
239
240 return hEvent;
241}
242
243void SetEvent(Handle& hEvent)
244{

Callers 5

LogSourcesMethod · 0.85
ProcessMonitorMethod · 0.85
PolledLogSourceMethod · 0.85
SocketReaderMethod · 0.85
DBWinReaderMethod · 0.85

Calls 1

ThrowLastErrorFunction · 0.85

Tested by

no test coverage detected