title: Check if file existing or not in c
body: <ol>
  <li>prgchDirPath is char pointer. But expected is LPCWSTR.
  How to change this?</li>
  <li><p>prgchDirPath is a directory path. <strong>File is not existed</strong>.
  But I want to make sure if directory/path exists or not.
  Can the API below helps me? if yes, how?</p>
  
  <pre><code>unsigned char IsFilePathCorrect(char* prgchDirPath)
  {
          WIN32_FIND_DATA FindFileData;
          HANDLE handle;
          int found=0;
  
          //1. prgchDirPath is char pointer. But expected is LPCWSTR.
          //How to change this?
          //2. prgchDirPath is a directory path. File is not existed.
          //But I want to make sure if directory/path exists or not.
          //Can the API below helps me? if yes, how?
          handle = FindFirstFile(prgchDirPath, &amp;FindFileData);
          if(handle != INVALID_HANDLE_VALUE)
          found = 1;
          if(found) 
          {
              FindClose(handle);
          }
          return found;
  }
  </code></pre></li>
  </ol>
  
  <p>I want to check if directory path is existed or not. Please provide one sample code. Thank you.</p>