Files

18 lines
403 B
C++
Raw Permalink Normal View History

2021-10-19 21:27:23 +01:00
// DummyOutStream.cpp
#include "StdAfx.h"
#include "DummyOutStream.h"
2023-09-24 03:13:03 +01:00
Z7_COM7F_IMF(CDummyOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
2021-10-19 21:27:23 +01:00
{
UInt32 realProcessedSize = size;
HRESULT res = S_OK;
if (_stream)
res = _stream->Write(data, size, &realProcessedSize);
_size += realProcessedSize;
if (processedSize)
*processedSize = realProcessedSize;
return res;
}