On Wed, Oct 17, 2007 at 08:26:55AM +0000, [EMAIL PROTECTED] wrote:
> Author: metze
> Date: 2007-10-17 08:26:55 +0000 (Wed, 17 Oct 2007)
> New Revision: 25674
> 
> WebSVN: 
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25674
>
[...]
> I've tested with midl to see how windows handles this situation
> and also the reverse case where the client sends NULL and
> the server reposnse with non-NULL.
> 
> It appears that midl generated code just ignores this
> and only copies the result if both pointers are non-NULL.

Did midl ignore all cases but the one where both pointers were non-NULL
at the same time ? I'm not sure right now, but midl shouldn't have
problems with [in,out] pointer set to NULL on either "in" or "out"
direction (as long as it's not "ref" pointer).


cheers,
-- 
Rafal Szczesniak
Samba Team member  http://www.samba.org

Attachment: signature.asc
Description: Digital signature

Reply via email to