Search code examples
winapicomrpcdcom

Passing NT handles through DCOM


Is it possible to pass a raw NT handle (eg, to an event object) via a DCOM call - on the local machine, of course. If so, how would one go about doing so?


Solution

  • See this SO answer : DuplicateHandle(), use in first or second process? and the comment and thus I suggest that DuplicateHandle is what you need.