I have two processes, one 32-bits, another 64-bits and I need to duplicate some handles that are used by the other process.
In x64, HANDLE size is enough to hold the 32-bit handle but when I call DuplicateHandle in the x86 process targetting the x64 one, does the o.s. ensures that the resulting handle will fit in 32-bit HANDLE type?
Regards,
Mauro.
Windows will manage it, its stated in the docs for the call;