C language function:CreateEventEx sample codes

Search sample code in the internet.It is the result.


TITLE : Direct3D Initialization - DIRECT 3D FOUNDATIONS - Introduction to 3D Game Programming with DirectX 12 (Computer Science) (2016)
HANDLE eventHandle = CreateEventEx(nullptr, false, false, EVENT_ALL_ACCESS);.......
http://apprize.info/game/3d/4.html


TITLE : Code Analysis produces warning C6387 for valid code - Developer Community
static void Foo() { const HANDLE eventHandle = CreateEventEx(nullptr, false, false, EVENT_ALL_ACCESS); if (Check(eventHandle)) // replacing this line with if (aHandle != nullptr) also produces the warning occasionally { WaitForSingleObject(eventHandle, INFINITE); CloseHandle(eventHandle); } }.......
http://developercommunity.visualstudio.com/content/problem/61782/code-analysis-produces-warning-c6387-for-valid-cod.html
search Google

https://www.google.com/#q=CreateEventEx