From bb42f29092d5faac2d34a707fc793f23fbf9cf8c Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Tue, 15 Nov 2011 12:53:06 -0600 Subject: [PATCH] include: Define IWICPersistStream. --- include/wincodecsdk.idl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/wincodecsdk.idl b/include/wincodecsdk.idl index d83349c6725..ed00cfbf2d9 100644 --- a/include/wincodecsdk.idl +++ b/include/wincodecsdk.idl @@ -167,6 +167,23 @@ interface IWICMetadataBlockWriter : IWICMetadataBlockReader [in] UINT nIndex); } +[ + object, + uuid(00675040-6908-45f8-86a3-49c7dfd6d9ad) +] +interface IWICPersistStream : IPersistStream +{ + HRESULT LoadEx( + [in, unique] IStream *pIStream, + [in, unique] const GUID *pguidPreferredVendor, + [in] DWORD dwPersistOptions); + + HRESULT SaveEx( + [in] IStream *pIStream, + [in] DWORD dwPersistOptions, + [in] BOOL fClearDirty); +} + [ object, uuid(412d0c3a-9650-44fa-af5b-dd2a06c8e8fb)