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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user