Re: quartz: Check allocation failure and clearmemoryinDSound Renderer

2007-03-12 Thread Alexandre Julliard
"Dmitry Timoshkov" <[EMAIL PROTECTED]> writes: > If (void*)0 doesn't guarantee to actually set all bits to 0, then > HEAP_ZERO_MEMORY doesn't guarantee it either. Yes, that's the point. In theory you have to initialize things with an explicit assignment, instead of a memset or HEAP_ZERO_MEMORY. I

Re: quartz: Check allocation failure and clearmemoryinDSound Renderer

2007-03-11 Thread Dmitry Timoshkov
"Alexandre Julliard" <[EMAIL PROTECTED]> wrote: The point is that (void*)0 isn't guaranteed to be represented by an all-zero bit pattern; but that's the case on any platform worth worrying about. If (void*)0 doesn't guarantee to actually set all bits to 0, then HEAP_ZERO_MEMORY doesn't guarant