On 2/26/2014 13:03, Aric Stewart wrote:
dlls/dmime/audiopath.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-)
Why is it NULL though? The only place I found that sets it is this:
--- hr = IDirectSound8_CreateSoundBuffer ((LPDIRECTSOUND8) This->pDirectSound, &desc, &buffer, NULL); if (FAILED(hr)) { HeapFree(GetProcessHeap(), 0, default_path); *ppNewPath = NULL; return DSERR_BUFFERLOST; } default_path->pDSBuffer = buffer; ---
That means CreateSoundBuffer() doesn't return error code properly?