title: CreateFile method for Windows Store 8.1 not working
body: <p>I am using CreateFile2 method for Windows phone 8.1 and it is working fine. But when i am trying to use the similar method i.e CreateFile for Windows Store 8.1, it is giving error.</p>
  
  <p>// for windows phone 8.1</p>
  
  <pre><code>hFile = ::CreateFile2(wzFilePath, GENERIC_WRITE, FILE_SHARE_WRITE, CREATE_ALWAYS, &amp;extendedParams);
  </code></pre>
  
  <p>// for windows store 8.1</p>
  
  <pre><code>hFile = CreateFile( abCmdFile, // file name 
      GENERIC_READ | GENERIC_WRITE, // open r-w 
      0,                    // do not share 
      NULL,                 // default security 
      CREATE_ALWAYS,        // overwrite existing
      FILE_FLAG_WRITE_THROUGH | FILE_FLAG_NO_BUFFERING | FILE_ATTRIBUTE_NORMAL,// normal file 
      NULL);                // no template 
  </code></pre>
  
  <p>The errors are:</p>
  
  <p>a) 'CreateFile': identifier not found.</p>
  
  <p>b)    IntelliSense: identifier "CreateFile" is undefined.   </p>