title: How do I pass a handle of DXGI shared resource to another process?
body: <p><a href="https://msdn.microsoft.com/en-us/library/windows/desktop/bb174562(v=vs.85).aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/windows/desktop/bb174562(v=vs.85).aspx</a></p>
  
  <p>According to the documentation of IDXGIResource::GetSharedHandle, I should be able to "marshal this handle to another process to share a resource with a device in another process".</p>
  
  <p>But it's not clear how to pass this handle. Can I just pass the value of this handle to another process? Or do I need some specific method?</p>
  
  <p>Thanks!</p>