3812393472
HWND is considered a pointer, so when casting you must cast to a pointer-sized integer before attempting to cast to a pointer.