How can I share HWND between 32 and 64 bit applications in Win x64?

前端 未结 5 1945
再見小時候
再見小時候 2020-12-09 03:46

MSDN tells me that handles to windows (HWND) can be shared between 32- and 64-bit applications, in Interprocess Communication (MSDN). However, in Win32 a HWND is 32 bits, w

5条回答
  •  無奈伤痛
    2020-12-09 04:16

    Have a look in Microsoft Interface Definition Language (MIDL) Porting Guide, page 12 (http://msdn.microsoft.com/en-us/library/ms810720.aspx)

    Here have a look ar USER and GDI handles are sign extended 32b values

提交回复
热议问题