title: Send Ctrl Alt Del through INPUT Structure doesn't work?
body: <p>How to simulate this ctrl alt del so that it will work ? </p>
  
  <p>My code is as follows:  </p>
  
  <p>INPUT       Input;
  /* Generate a "key down" */</p>
  
  <pre><code>Input.type  = INPUT_KEYBOARD;
  Input.ki.dwFlags  = KEYEVENTF_SCANCODE; 
  Input.ki.wScan=29;
  Input.ki.dwExtraInfo=0;
  Input.ki.wVk=0;
  Input.ki.time=0;
  SendInput(1, &amp;Input, sizeof(Input));
  
  
  Input.type  = INPUT_KEYBOARD;
  Input.ki.dwFlags  = KEYEVENTF_SCANCODE; 
  Input.ki.wScan=56;
  Input.ki.dwExtraInfo=0;
  Input.ki.wVk=0;
  Input.ki.time=0;
  SendInput(1, &amp;Input, sizeof(Input));
  
  
  Input.type  = INPUT_KEYBOARD;
  Input.ki.dwFlags  = KEYEVENTF_EXTENDEDKEY | KEYEVENTF_SCANCODE; 
  Input.ki.wScan=83;
  Input.ki.dwExtraInfo=0;
  Input.ki.wVk=0;
  Input.ki.time=0;
  SendInput(1, &amp;Input, sizeof(Input));
  
  
  Input.type  = INPUT_KEYBOARD;
  Input.ki.dwFlags  = KEYEVENTF_SCANCODE | KEYEVENTF_KEYUP; 
  Input.ki.wScan=29;
  Input.ki.dwExtraInfo=0;
  Input.ki.wVk=0;
  Input.ki.time=0;
  SendInput(1, &amp;Input, sizeof(Input));
  
  
  Input.type  = INPUT_KEYBOARD;
  Input.ki.dwFlags  = KEYEVENTF_SCANCODE  | KEYEVENTF_KEYUP; 
  Input.ki.wScan=56;
  Input.ki.dwExtraInfo=0;
  Input.ki.wVk=0;
  Input.ki.time=0;
  SendInput(1, &amp;Input, sizeof(Input));
  
  
  Input.type  = INPUT_KEYBOARD;
  Input.ki.dwFlags  = KEYEVENTF_EXTENDEDKEY | KEYEVENTF_SCANCODE  | KEYEVENTF_KEYUP; 
  Input.ki.wScan=83;
  Input.ki.dwExtraInfo=0;
  Input.ki.wVk=0;
  Input.ki.time=0;
  SendInput(1, &amp;Input, sizeof(Input));
  </code></pre>