[widl 2/2] widl: consider ptrs to user-marshalled types pointers-to-nonpointers

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Thu Jan 1 04:28:32 CST 2009


typdef [wire_marshal(wirefoo)] foo * pfoo;
made widl incorrectly set the RPC_FC_P_DEREF bit for pfoo. But this
declares a user-marshalled pointer, so the RPC runtime must not dereference
it before passing it on to the Foo_UserXxx functions.
---
 tools/widl/header.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 73681984b33b69410f01673dcf9656aec691aced.diff
Type: text/x-patch
Size: 440 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090101/94593d55/attachment.bin 


More information about the wine-patches mailing list