ptr vs. unique

Luke Kenneth Casson Leighton lkcl at
Mon Jun 19 22:55:21 GMT 2000

On Tue, 20 Jun 2000, Elrond wrote:

> Hi everybody,
> Yesterday I got curious, wether there is a difference
> between [ptr] and [unique] on the wire with MSRPC.

[unique] means that there is nothing else pointing to this piece of
memory.  this allows for some Serious Optimisation, and in fact, MIDL.exe
does not _support_ anything other than [unique] pointers.
> Does anyone know anything in this direction?
> I'm asking for the following reason: I just got the crazy
> idea, that the stuff, we know as offsets, are realy
> produced by [ptr]-pointers...


More information about the samba-technical mailing list