Alexandre Julliard : ole32: Remove some unused functions.

Alexandre Julliard julliard at winehq.org
Wed Dec 3 05:56:48 CST 2008


Module: wine
Branch: master
Commit: 04fb1d656ab6e637656a046e7b6c1a63680b65bb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=04fb1d656ab6e637656a046e7b6c1a63680b65bb

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Dec  3 12:11:09 2008 +0100

ole32: Remove some unused functions.

---

 dlls/ole32/storage.c |   40 ----------------------------------------
 1 files changed, 0 insertions(+), 40 deletions(-)

diff --git a/dlls/ole32/storage.c b/dlls/ole32/storage.c
index d356c67..2e5203f 100644
--- a/dlls/ole32/storage.c
+++ b/dlls/ole32/storage.c
@@ -1623,46 +1623,6 @@ typedef struct
         ULARGE_INTEGER                  offset;
 } IStream32Impl;
 
-/*****************************************************************************
- *		IStream32_QueryInterface	[VTABLE]
- */
-HRESULT WINAPI IStream_fnQueryInterface(
-	IStream* iface,REFIID refiid,LPVOID *obj
-) {
-	IStream32Impl *This = (IStream32Impl *)iface;
-
-	TRACE_(relay)("(%p)->(%s,%p)\n",This,debugstr_guid(refiid),obj);
-	if (!memcmp(&IID_IUnknown,refiid,sizeof(IID_IUnknown))) {
-		*obj = This;
-		return 0;
-	}
-	return OLE_E_ENUM_NOMORE;
-
-}
-
-/******************************************************************************
- * IStream32_AddRef [VTABLE]
- */
-ULONG WINAPI IStream_fnAddRef(IStream* iface) {
-	IStream32Impl *This = (IStream32Impl *)iface;
-	return InterlockedIncrement(&This->ref);
-}
-
-/******************************************************************************
- * IStream32_Release [VTABLE]
- */
-ULONG WINAPI IStream_fnRelease(IStream* iface) {
-	IStream32Impl *This = (IStream32Impl *)iface;
-        ULONG ref;
-	FlushFileBuffers(This->hf);
-        ref = InterlockedDecrement(&This->ref);
-	if (!ref) {
-		CloseHandle(This->hf);
-		HeapFree( GetProcessHeap(), 0, This );
-	}
-	return ref;
-}
-
 /******************************************************************************
  *		IStorage16_QueryInterface	[STORAGE.500]
  */




More information about the wine-cvs mailing list