Can't you just pass in the managed handle reference to the unmanged code? It returns an IntPtr to the native handle?
Code:
myProcess.Handle
Otherwise, just look up the Win32_API for it?
The Win32 API is what I am looking for. I haven't found an API or solid technique to accomplish this. (Im programming in a proprietary language but have access to the API, but no access to .NET classes)
The Win32 API is what I am looking for. I haven't found an API or solid technique to accomplish this. (Im programming in a proprietary language but have access to the API, but no access to .NET classes)
Comment