added TrGetSequentialStream and underlying code for a sequential stream that

outputs to trace output, also added a bunch of STG_ codes so that they're there
This commit is contained in:
Eric J. Bowersox
2013-06-01 00:17:52 -06:00
parent 5a7bc73aed
commit 2cca2531c8
5 changed files with 161 additions and 21 deletions

View File

@@ -36,6 +36,7 @@
#include <comrogue/objectbase.h>
#include <comrogue/allocator.h>
#include <comrogue/stdobj.h>
#include <comrogue/stream.h>
#include <comrogue/objhelp.h>
/*--------------------------------------------
@@ -93,6 +94,7 @@ HRESULT ObjHlpStandardQueryInterface_ ## iface (IUnknown *pThis, REFIID riid, PP
}
MAKE_BASE_QI(IMalloc)
MAKE_BASE_QI(ISequentialStream)
/*
* "Dummy" version of AddRef/Release used for static objects.
@@ -121,3 +123,17 @@ void ObjHlpDoNothingReturnVoid(IUnknown *pThis)
{
/* do nothing */
}
/*
* Method that does nothing and returns E_NOTIMPL.
*
* Parameters:
* - pThis = Base interface pointer.
*
* Returns:
* E_NOTIMPL.
*/
HRESULT ObjHlpNotImplemented(IUnknown *pThis)
{
return E_NOTIMPL;
}