title: SetSecurityInfo: Undeclared Identifier
body: <p>I am trying to set security permissions on an object. This is the code:</p>
  
  <pre><code>    PROCESS_INFORMATION pi = {0};
      STARTUPINFO si = {0};
      si.cb = sizeof(STARTUPINFO);
  
      CreateProcess("C:\\AP\\DataBase\\dbntsrv.exe", NULL, NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, "C:\\ADP\\SQLBase", &amp;si, &amp;pi);      
  
  
      result = SetSecurityInfo(pi.hProcess, SE_WINDOW_OBJECT, PROCESS_TERMINATE, NULL, NULL, NULL, NULL);
  </code></pre>
  
  <p>But it gives me compile time error of <code>'SetSecurityInfo' : undeclared identifier</code>.. and <code>'SE_WINDOW_OBJECT' : undeclared identifier</code>.. Any idea why this happens? Thanks</p>