Last active
November 2, 2016 09:09
-
-
Save toptensoftware/0c37c9da4df22953b69f0d64f7496485 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Call a Win32 window procedure from 16-bit code | |
public uint CallWndProc32from16(IntPtr pfnProc32, ushort hWnd16, ushort message16, ushort wParam16, uint lParam16) | |
// Call a 16-bit window procedure from Win32 code | |
public IntPtr CallWndProc16from32(uint pfnProc16, IntPtr hWnd32, uint message32, IntPtr wParam32, IntPtr lParam32) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment