Passing NT handles through DCOM
Is it possible to pass a raw NT handle (开发者_JAVA百科eg, to an event object) via a DCOM call - on the local machine, of course. If so, how would one go about doing so?
See this SO answer : DuplicateHandle(), use in first or second process? and the comment and thus I suggest that DuplicateHandle is what you need.
IntPtr (which I think is spelled INT_PTR in COM).
精彩评论