title: Convert std::wstring to WCHAR*
body: <p>I have no idea how to convert a  <code>std::wstring</code> to a <code>WCHAR*</code></p>
  
  <pre><code>std::wstring wstrProcToSearch;
  WCHAR * wpProcToSearch = NULL;
  
  std::wcin &gt;&gt; wstrProcToSearch;  // input std::wstring
  // now i need to convert the wstring to a WCHAR*
  </code></pre>
  
  <p>Does anyone know how to accomplish this?</p>