itss: Make the virtual table functions static where possible.

This commit is contained in:
Alexandre Julliard 2006-06-10 11:58:27 +02:00
parent fa26809f0a
commit c637fa3cc6
1 changed files with 13 additions and 13 deletions

View File

@ -216,7 +216,7 @@ typedef struct {
} ITStorageImpl; } ITStorageImpl;
HRESULT WINAPI ITStorageImpl_QueryInterface( static HRESULT WINAPI ITStorageImpl_QueryInterface(
IITStorage* iface, IITStorage* iface,
REFIID riid, REFIID riid,
void** ppvObject) void** ppvObject)
@ -234,7 +234,7 @@ HRESULT WINAPI ITStorageImpl_QueryInterface(
return E_NOINTERFACE; return E_NOINTERFACE;
} }
ULONG WINAPI ITStorageImpl_AddRef( static ULONG WINAPI ITStorageImpl_AddRef(
IITStorage* iface) IITStorage* iface)
{ {
ITStorageImpl *This = (ITStorageImpl *)iface; ITStorageImpl *This = (ITStorageImpl *)iface;
@ -242,7 +242,7 @@ ULONG WINAPI ITStorageImpl_AddRef(
return InterlockedIncrement(&This->ref); return InterlockedIncrement(&This->ref);
} }
ULONG WINAPI ITStorageImpl_Release( static ULONG WINAPI ITStorageImpl_Release(
IITStorage* iface) IITStorage* iface)
{ {
ITStorageImpl *This = (ITStorageImpl *)iface; ITStorageImpl *This = (ITStorageImpl *)iface;
@ -256,7 +256,7 @@ ULONG WINAPI ITStorageImpl_Release(
return ref; return ref;
} }
HRESULT WINAPI ITStorageImpl_StgCreateDocfile( static HRESULT WINAPI ITStorageImpl_StgCreateDocfile(
IITStorage* iface, IITStorage* iface,
const WCHAR* pwcsName, const WCHAR* pwcsName,
DWORD grfMode, DWORD grfMode,
@ -272,7 +272,7 @@ HRESULT WINAPI ITStorageImpl_StgCreateDocfile(
0, reserved, ppstgOpen); 0, reserved, ppstgOpen);
} }
HRESULT WINAPI ITStorageImpl_StgCreateDocfileOnILockBytes( static HRESULT WINAPI ITStorageImpl_StgCreateDocfileOnILockBytes(
IITStorage* iface, IITStorage* iface,
ILockBytes* plkbyt, ILockBytes* plkbyt,
DWORD grfMode, DWORD grfMode,
@ -284,7 +284,7 @@ HRESULT WINAPI ITStorageImpl_StgCreateDocfileOnILockBytes(
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI ITStorageImpl_StgIsStorageFile( static HRESULT WINAPI ITStorageImpl_StgIsStorageFile(
IITStorage* iface, IITStorage* iface,
const WCHAR* pwcsName) const WCHAR* pwcsName)
{ {
@ -293,7 +293,7 @@ HRESULT WINAPI ITStorageImpl_StgIsStorageFile(
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI ITStorageImpl_StgIsStorageILockBytes( static HRESULT WINAPI ITStorageImpl_StgIsStorageILockBytes(
IITStorage* iface, IITStorage* iface,
ILockBytes* plkbyt) ILockBytes* plkbyt)
{ {
@ -302,7 +302,7 @@ HRESULT WINAPI ITStorageImpl_StgIsStorageILockBytes(
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI ITStorageImpl_StgOpenStorage( static HRESULT WINAPI ITStorageImpl_StgOpenStorage(
IITStorage* iface, IITStorage* iface,
const WCHAR* pwcsName, const WCHAR* pwcsName,
IStorage* pstgPriority, IStorage* pstgPriority,
@ -320,7 +320,7 @@ HRESULT WINAPI ITStorageImpl_StgOpenStorage(
snbExclude, reserved, ppstgOpen); snbExclude, reserved, ppstgOpen);
} }
HRESULT WINAPI ITStorageImpl_StgOpenStorageOnILockBytes( static HRESULT WINAPI ITStorageImpl_StgOpenStorageOnILockBytes(
IITStorage* iface, IITStorage* iface,
ILockBytes* plkbyt, ILockBytes* plkbyt,
IStorage* pStgPriority, IStorage* pStgPriority,
@ -334,7 +334,7 @@ HRESULT WINAPI ITStorageImpl_StgOpenStorageOnILockBytes(
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI ITStorageImpl_StgSetTimes( static HRESULT WINAPI ITStorageImpl_StgSetTimes(
IITStorage* iface, IITStorage* iface,
WCHAR* lpszName, WCHAR* lpszName,
FILETIME* pctime, FILETIME* pctime,
@ -346,7 +346,7 @@ HRESULT WINAPI ITStorageImpl_StgSetTimes(
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI ITStorageImpl_SetControlData( static HRESULT WINAPI ITStorageImpl_SetControlData(
IITStorage* iface, IITStorage* iface,
PITS_Control_Data pControlData) PITS_Control_Data pControlData)
{ {
@ -355,7 +355,7 @@ HRESULT WINAPI ITStorageImpl_SetControlData(
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI ITStorageImpl_DefaultControlData( static HRESULT WINAPI ITStorageImpl_DefaultControlData(
IITStorage* iface, IITStorage* iface,
PITS_Control_Data* ppControlData) PITS_Control_Data* ppControlData)
{ {
@ -364,7 +364,7 @@ HRESULT WINAPI ITStorageImpl_DefaultControlData(
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI ITStorageImpl_Compact( static HRESULT WINAPI ITStorageImpl_Compact(
IITStorage* iface, IITStorage* iface,
const WCHAR* pwcsName, const WCHAR* pwcsName,
ECompactionLev iLev) ECompactionLev iLev)