Can Windows handle inheritance cross the 32-bit/64-bit boundary?

Posted by TheBeardyMan on Stack Overflow See other posts from Stack Overflow or by TheBeardyMan
Published on 2010-04-23T15:22:19Z Indexed on 2010/04/23 15:23 UTC
Read the original article Hit count: 338

Filed under:
|
|
|

Is it possible for a child process to inherit a handle from its parent process if one process is 32-bit and the other is 64-bit?

HANDLE is a 64 bit type on Win64 and a 32 bit type on Win32, which suggests that even it were supposed to be possible in all cases, there would be some cases where it would fail: a 64-bit parent process, a 32-bit child process, and a handle that can't be represented in 32 bits.

Or is naming the object the only way for a 32-bit process and a 64-bit process to get a handle for the same object?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about win32