00001 #ifndef __GXStreamFunctions 00002 #define __GXStreamFunctions 00003 00004 00005 #include "GXStandardDefines.h" 00006 00007 00008 00009 bool GXCreateIStream(IStream** ppOut); 00010 bool GXSaveIStreamToFile(char* szFileName, IStream* pStream); 00011 bool GXLoadIStreamFromFile(char* szFileName, IStream** ppOut); 00012 00013 bool GXWriteToStream(IStream* pStream, void* pData, DWORD dwSize); 00014 bool GXReadFromStream(IStream* pStream, void* pOut, DWORD dwSize);//todo, refactor previous writes 00015 00016 00017 00018 00019 00020 #endif