On Fri, 9 Mar 2007, Felix Nawothnig wrote:
Detlef Riekenberg wrote:
@@ -325,9 +328,15 @@ HRESULT DSoundRender_create(IUnknown * pUnkOuter, LPVOID * ppv) pDSoundRender->pClock = NULL; pDSoundRender->init = FALSE; pDSoundRender->started = FALSE;
... there is no need to clear it again.
However, note that NULL is not always all binary zero in memory. :)
Isn't it zero on all sane systems, i.e. all systems we care about and even more?