title: how to use CreateEvent with not null LPSECURITY_ATTRIBUTES parameter
body: <p>i have a process-1 that try to open event using:</p>
  
  <pre><code>LPCWSTR a = L"ShellReadyEvent";
  HANDLE hEvent = OpenEvent ( EVENT_ALL_ACCESS , 0, a );
  </code></pre>
  
  <p>i am trying to make a process in the background that will change the the access privilege 
  of the even a.</p>
  
  <p>i am trying to use create event under process-2 using : </p>
  
  <pre><code>HANDLE hEvent = CreateEvent ( 0 , 1 , 1 , a );
  </code></pre>
  
  <p>i want to replace the lpEventAttributes (first parameter) to something that will block the first process but no luck, and ideas?</p>