title: Error in getting the network adapter handle - CreateFile
body: <p>I am trying to get the handle to the network adapter driver by calling the CreateFile function. It is returning <strong>error code 3</strong> which indicates <strong>The system cannot find the path specified</strong></p>
  
  <p>Below is the code</p>
  
  <pre><code>tun_fd = CreateFile(L"\\\\.\\Global\\INTELPRO_{7A1C62D4-2FE2-49D6-9090-DFA5FF1F8395}", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_FLAG_NO_BUFFERING, NULL);
  
  if (tun_fd == INVALID_HANDLE_VALUE)
  {
     printf("handle failed with error: %ld\n", GetLastError());   
  }
  </code></pre>
  
  <p>I also ran the WinObj tool and took a snap of the network driver object which I am trying to access <a href="https://i.stack.imgur.com/t4BgH.png" rel="nofollow noreferrer">ScreenShot</a></p>
  
  <p>Any changes to be done in giving the path?</p>