title: Calling NvAPI_GPU_SetEDID on Nvidia card
body: <p>How do you call this method on Nvidia GPU:</p>
  
  <pre><code>NVAPI_INTERFACE NvAPI_GPU_SetEDID (
      NvPhysicalGpuHandle hPhysicalGpu,
      NvU32   displayOutputId,
      NV_EDID *   pEDID 
  )
  </code></pre>
  
  <p>Src: <a href="http://docs.nvidia.com/gameworks/content/gameworkslibrary/coresdk/nvapi/group__gpu.html#ga6a41b31dd9743120213435d985f8fbcf" rel="nofollow">http://docs.nvidia.com/gameworks/content/gameworkslibrary/coresdk/nvapi/group__gpu.html#ga6a41b31dd9743120213435d985f8fbcf</a></p>
  
  <p>I need to execute the above command to remove all EDID set on all DisplayOutputs on our new Quadro Graphics Cards. Based on the API documentation, I tried searching for <em>NvPhysicalGpuHandle</em> and came across this project/library:</p>
  
  <p><a href="https://github.com/openhardwaremonitor/openhardwaremonitor/blob/master/Hardware/Nvidia/NVAPI.cs" rel="nofollow">https://github.com/openhardwaremonitor/openhardwaremonitor/blob/master/Hardware/Nvidia/NVAPI.cs</a></p>
  
  <p>This does not have the method I need <code>NvAPI_GPU_SetEDID</code></p>
  
  <p>I am not hardware programmer, I just need to be able to call this one command. any ideas? Can this be achieved using <code>nvapi.dll/nvapi64.dll</code> via <code>pinvoke</code> or something?</p>