[ros-dev] Sending pointers with non pointer functions!
Giannis Adamopoulos
giannis.adamopoulos at reactos.org
Sat Nov 26 10:40:53 UTC 2011
It's more correct to say, how is it possible that reactos still works with this!
We are lucky that co_IntSendMessageNoWait supports sending messages with pointers to the current thread. However sending a message with co_IntSendMessageNoWait doesn't marshal lparam if the message goes to a different thread.
I'm starting to wonder if r47126 is really correct...
ReactOS Development List <ros-dev at reactos.org> wrote on Sat, November 26th, 2011, 11:05 AM:
> I see this and I LMFAO!
>
> co_IntSendMessageNoWait(Window->head.h, WM_WINDOWPOSCHANGING, 0,
> (LPARAM) WinPos);
> co_IntSendMessageNoWait(WinPos.hwnd, WM_WINDOWPOSCHANGED, 0, (LPARAM) &WinPos);
> There is more too! Amazing!
>
> Please tell me this is not wrong!!!!
> James
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
More information about the Ros-dev
mailing list