From 14c4ef3fdd304527dd97c35869d28d7d05029e98 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 21 Apr 2011 10:45:36 +0200 Subject: [PATCH] ole32: Mark internal symbols has hidden visibility. --- dlls/ole32/compobj_private.h | 114 +++++++++++++++++------------------ dlls/ole32/dictionary.h | 14 ++--- dlls/ole32/enumx.h | 18 +++--- dlls/ole32/moniker.h | 22 +++---- dlls/ole32/storage32.h | 66 ++++++++++---------- 5 files changed, 117 insertions(+), 117 deletions(-) diff --git a/dlls/ole32/compobj_private.h b/dlls/ole32/compobj_private.h index a00bdc91eab..f2a83c896a4 100644 --- a/dlls/ole32/compobj_private.h +++ b/dlls/ole32/compobj_private.h @@ -171,77 +171,77 @@ struct oletls /* Global Interface Table Functions */ -extern void* StdGlobalInterfaceTable_Construct(void); -extern HRESULT StdGlobalInterfaceTable_GetFactory(LPVOID *ppv); -extern void* StdGlobalInterfaceTableInstance; +extern void* StdGlobalInterfaceTable_Construct(void) DECLSPEC_HIDDEN; +extern HRESULT StdGlobalInterfaceTable_GetFactory(LPVOID *ppv) DECLSPEC_HIDDEN; +extern void* StdGlobalInterfaceTableInstance DECLSPEC_HIDDEN; -HRESULT COM_OpenKeyForCLSID(REFCLSID clsid, LPCWSTR keyname, REGSAM access, HKEY *key); -HRESULT COM_OpenKeyForAppIdFromCLSID(REFCLSID clsid, REGSAM access, HKEY *subkey); -HRESULT MARSHAL_GetStandardMarshalCF(LPVOID *ppv); -HRESULT FTMarshalCF_Create(REFIID riid, LPVOID *ppv); +HRESULT COM_OpenKeyForCLSID(REFCLSID clsid, LPCWSTR keyname, REGSAM access, HKEY *key) DECLSPEC_HIDDEN; +HRESULT COM_OpenKeyForAppIdFromCLSID(REFCLSID clsid, REGSAM access, HKEY *subkey) DECLSPEC_HIDDEN; +HRESULT MARSHAL_GetStandardMarshalCF(LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT FTMarshalCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; /* Stub Manager */ -ULONG stub_manager_int_release(struct stub_manager *This); -struct stub_manager *new_stub_manager(APARTMENT *apt, IUnknown *object); -ULONG stub_manager_ext_addref(struct stub_manager *m, ULONG refs, BOOL tableweak); -ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs, BOOL tableweak, BOOL last_unlock_releases); -struct ifstub *stub_manager_new_ifstub(struct stub_manager *m, IRpcStubBuffer *sb, IUnknown *iptr, REFIID iid, MSHLFLAGS flags); -struct ifstub *stub_manager_find_ifstub(struct stub_manager *m, REFIID iid, MSHLFLAGS flags); -struct stub_manager *get_stub_manager(APARTMENT *apt, OID oid); -struct stub_manager *get_stub_manager_from_object(APARTMENT *apt, void *object); -BOOL stub_manager_notify_unmarshal(struct stub_manager *m, const IPID *ipid); -BOOL stub_manager_is_table_marshaled(struct stub_manager *m, const IPID *ipid); -void stub_manager_release_marshal_data(struct stub_manager *m, ULONG refs, const IPID *ipid, BOOL tableweak); -HRESULT ipid_get_dispatch_params(const IPID *ipid, APARTMENT **stub_apt, IRpcStubBuffer **stub, IRpcChannelBuffer **chan, IID *iid, IUnknown **iface); -HRESULT start_apartment_remote_unknown(void); +ULONG stub_manager_int_release(struct stub_manager *This) DECLSPEC_HIDDEN; +struct stub_manager *new_stub_manager(APARTMENT *apt, IUnknown *object) DECLSPEC_HIDDEN; +ULONG stub_manager_ext_addref(struct stub_manager *m, ULONG refs, BOOL tableweak) DECLSPEC_HIDDEN; +ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs, BOOL tableweak, BOOL last_unlock_releases) DECLSPEC_HIDDEN; +struct ifstub *stub_manager_new_ifstub(struct stub_manager *m, IRpcStubBuffer *sb, IUnknown *iptr, REFIID iid, MSHLFLAGS flags) DECLSPEC_HIDDEN; +struct ifstub *stub_manager_find_ifstub(struct stub_manager *m, REFIID iid, MSHLFLAGS flags) DECLSPEC_HIDDEN; +struct stub_manager *get_stub_manager(APARTMENT *apt, OID oid) DECLSPEC_HIDDEN; +struct stub_manager *get_stub_manager_from_object(APARTMENT *apt, void *object) DECLSPEC_HIDDEN; +BOOL stub_manager_notify_unmarshal(struct stub_manager *m, const IPID *ipid) DECLSPEC_HIDDEN; +BOOL stub_manager_is_table_marshaled(struct stub_manager *m, const IPID *ipid) DECLSPEC_HIDDEN; +void stub_manager_release_marshal_data(struct stub_manager *m, ULONG refs, const IPID *ipid, BOOL tableweak) DECLSPEC_HIDDEN; +HRESULT ipid_get_dispatch_params(const IPID *ipid, APARTMENT **stub_apt, IRpcStubBuffer **stub, IRpcChannelBuffer **chan, IID *iid, IUnknown **iface) DECLSPEC_HIDDEN; +HRESULT start_apartment_remote_unknown(void) DECLSPEC_HIDDEN; -HRESULT marshal_object(APARTMENT *apt, STDOBJREF *stdobjref, REFIID riid, IUnknown *obj, MSHLFLAGS mshlflags); +HRESULT marshal_object(APARTMENT *apt, STDOBJREF *stdobjref, REFIID riid, IUnknown *obj, MSHLFLAGS mshlflags) DECLSPEC_HIDDEN; /* RPC Backend */ struct dispatch_params; -void RPC_StartRemoting(struct apartment *apt); +void RPC_StartRemoting(struct apartment *apt) DECLSPEC_HIDDEN; HRESULT RPC_CreateClientChannel(const OXID *oxid, const IPID *ipid, const OXID_INFO *oxid_info, DWORD dest_context, void *dest_context_data, - IRpcChannelBuffer **chan); -HRESULT RPC_CreateServerChannel(IRpcChannelBuffer **chan); -void RPC_ExecuteCall(struct dispatch_params *params); -HRESULT RPC_RegisterInterface(REFIID riid); -void RPC_UnregisterInterface(REFIID riid); -HRESULT RPC_StartLocalServer(REFCLSID clsid, IStream *stream, BOOL multi_use, void **registration); -void RPC_StopLocalServer(void *registration); -HRESULT RPC_GetLocalClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv); -HRESULT RPC_RegisterChannelHook(REFGUID rguid, IChannelHook *hook); -void RPC_UnregisterAllChannelHooks(void); -HRESULT RPC_ResolveOxid(OXID oxid, OXID_INFO *oxid_info); + IRpcChannelBuffer **chan) DECLSPEC_HIDDEN; +HRESULT RPC_CreateServerChannel(IRpcChannelBuffer **chan) DECLSPEC_HIDDEN; +void RPC_ExecuteCall(struct dispatch_params *params) DECLSPEC_HIDDEN; +HRESULT RPC_RegisterInterface(REFIID riid) DECLSPEC_HIDDEN; +void RPC_UnregisterInterface(REFIID riid) DECLSPEC_HIDDEN; +HRESULT RPC_StartLocalServer(REFCLSID clsid, IStream *stream, BOOL multi_use, void **registration) DECLSPEC_HIDDEN; +void RPC_StopLocalServer(void *registration) DECLSPEC_HIDDEN; +HRESULT RPC_GetLocalClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT RPC_RegisterChannelHook(REFGUID rguid, IChannelHook *hook) DECLSPEC_HIDDEN; +void RPC_UnregisterAllChannelHooks(void) DECLSPEC_HIDDEN; +HRESULT RPC_ResolveOxid(OXID oxid, OXID_INFO *oxid_info) DECLSPEC_HIDDEN; /* This function initialize the Running Object Table */ -HRESULT WINAPI RunningObjectTableImpl_Initialize(void); +HRESULT WINAPI RunningObjectTableImpl_Initialize(void) DECLSPEC_HIDDEN; /* This function uninitialize the Running Object Table */ -HRESULT WINAPI RunningObjectTableImpl_UnInitialize(void); +HRESULT WINAPI RunningObjectTableImpl_UnInitialize(void) DECLSPEC_HIDDEN; /* Drag and drop */ -void OLEDD_UnInitialize(void); +void OLEDD_UnInitialize(void) DECLSPEC_HIDDEN; /* Apartment Functions */ -APARTMENT *apartment_findfromoxid(OXID oxid, BOOL ref); -APARTMENT *apartment_findfromtid(DWORD tid); -DWORD apartment_release(struct apartment *apt); -HRESULT apartment_disconnectproxies(struct apartment *apt); -void apartment_disconnectobject(struct apartment *apt, void *object); +APARTMENT *apartment_findfromoxid(OXID oxid, BOOL ref) DECLSPEC_HIDDEN; +APARTMENT *apartment_findfromtid(DWORD tid) DECLSPEC_HIDDEN; +DWORD apartment_release(struct apartment *apt) DECLSPEC_HIDDEN; +HRESULT apartment_disconnectproxies(struct apartment *apt) DECLSPEC_HIDDEN; +void apartment_disconnectobject(struct apartment *apt, void *object) DECLSPEC_HIDDEN; static inline HRESULT apartment_getoxid(const struct apartment *apt, OXID *oxid) { *oxid = apt->oxid; return S_OK; } -HRESULT apartment_createwindowifneeded(struct apartment *apt); -HWND apartment_getwindow(const struct apartment *apt); -void apartment_joinmta(void); +HRESULT apartment_createwindowifneeded(struct apartment *apt) DECLSPEC_HIDDEN; +HWND apartment_getwindow(const struct apartment *apt) DECLSPEC_HIDDEN; +void apartment_joinmta(void) DECLSPEC_HIDDEN; /* DCOM messages used by the apartment window (not compatible with native) */ @@ -294,19 +294,19 @@ extern HRESULT Handler_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *p extern HRESULT HandlerCF_Create(REFCLSID rclsid, REFIID riid, LPVOID *ppv); /* Exported non-interface Data Advise Holder functions */ -HRESULT DataAdviseHolder_OnConnect(IDataAdviseHolder *iface, IDataObject *pDelegate); -void DataAdviseHolder_OnDisconnect(IDataAdviseHolder *iface); +HRESULT DataAdviseHolder_OnConnect(IDataAdviseHolder *iface, IDataObject *pDelegate) DECLSPEC_HIDDEN; +void DataAdviseHolder_OnDisconnect(IDataAdviseHolder *iface) DECLSPEC_HIDDEN; -extern UINT ownerlink_clipboard_format; -extern UINT filename_clipboard_format; -extern UINT filenameW_clipboard_format; -extern UINT dataobject_clipboard_format; -extern UINT embedded_object_clipboard_format; -extern UINT embed_source_clipboard_format; -extern UINT custom_link_source_clipboard_format; -extern UINT link_source_clipboard_format; -extern UINT object_descriptor_clipboard_format; -extern UINT link_source_descriptor_clipboard_format; -extern UINT ole_private_data_clipboard_format; +extern UINT ownerlink_clipboard_format DECLSPEC_HIDDEN; +extern UINT filename_clipboard_format DECLSPEC_HIDDEN; +extern UINT filenameW_clipboard_format DECLSPEC_HIDDEN; +extern UINT dataobject_clipboard_format DECLSPEC_HIDDEN; +extern UINT embedded_object_clipboard_format DECLSPEC_HIDDEN; +extern UINT embed_source_clipboard_format DECLSPEC_HIDDEN; +extern UINT custom_link_source_clipboard_format DECLSPEC_HIDDEN; +extern UINT link_source_clipboard_format DECLSPEC_HIDDEN; +extern UINT object_descriptor_clipboard_format DECLSPEC_HIDDEN; +extern UINT link_source_descriptor_clipboard_format DECLSPEC_HIDDEN; +extern UINT ole_private_data_clipboard_format DECLSPEC_HIDDEN; #endif /* __WINE_OLE_COMPOBJ_H */ diff --git a/dlls/ole32/dictionary.h b/dlls/ole32/dictionary.h index 231a6474723..f3693ccc5c2 100644 --- a/dlls/ole32/dictionary.h +++ b/dlls/ole32/dictionary.h @@ -52,15 +52,15 @@ typedef BOOL (*enumeratefunc)(const void *k, const void *v, void *extra, * extra is passed to c (and d, if it's provided). * Assumes c is not NULL. */ -struct dictionary *dictionary_create(comparefunc c, destroyfunc d, void *extra); +struct dictionary *dictionary_create(comparefunc c, destroyfunc d, void *extra) DECLSPEC_HIDDEN; /* Assumes d is not NULL. */ -void dictionary_destroy(struct dictionary *d); +void dictionary_destroy(struct dictionary *d) DECLSPEC_HIDDEN; /* Returns how many entries have been stored in the dictionary. If two values * with the same key are inserted, only one is counted. */ -UINT dictionary_num_entries(struct dictionary *d); +UINT dictionary_num_entries(struct dictionary *d) DECLSPEC_HIDDEN; /* Sets an element with key k and value v to the dictionary. If a value * already exists with key k, its value is replaced, and the destroyfunc (if @@ -70,7 +70,7 @@ UINT dictionary_num_entries(struct dictionary *d); * values for either the key or the value. * Assumes d is not NULL. */ -void dictionary_insert(struct dictionary *d, const void *k, const void *v); +void dictionary_insert(struct dictionary *d, const void *k, const void *v) DECLSPEC_HIDDEN; /* If a value with key k has been inserted into the dictionary, *v is set * to its associated value. Returns FALSE if the key is not found, and TRUE @@ -79,15 +79,15 @@ void dictionary_insert(struct dictionary *d, const void *k, const void *v); * value; see dictionary_insert.) * Assumes d and v are not NULL. */ -BOOL dictionary_find(struct dictionary *d, const void *k, void **v); +BOOL dictionary_find(struct dictionary *d, const void *k, void **v) DECLSPEC_HIDDEN; /* Removes the element with key k from the dictionary. Calls the destroyfunc * for the dictionary with the element if found (so you may destroy it if it's * dynamically allocated.) * Assumes d is not NULL. */ -void dictionary_remove(struct dictionary *d, const void *k); +void dictionary_remove(struct dictionary *d, const void *k) DECLSPEC_HIDDEN; -void dictionary_enumerate(struct dictionary *d, enumeratefunc e, void *closure); +void dictionary_enumerate(struct dictionary *d, enumeratefunc e, void *closure) DECLSPEC_HIDDEN; #endif /* ndef __DICTIONARY_H__ */ diff --git a/dlls/ole32/enumx.h b/dlls/ole32/enumx.h index 5d45c946c6f..da76e13769b 100644 --- a/dlls/ole32/enumx.h +++ b/dlls/ole32/enumx.h @@ -21,14 +21,14 @@ typedef struct tagEnumSTATPROPSETSTG_impl enumx_impl; -extern HRESULT WINAPI enumx_QueryInterface(enumx_impl *, REFIID, void**); -extern ULONG WINAPI enumx_AddRef(enumx_impl *); -extern ULONG WINAPI enumx_Release(enumx_impl *); -extern HRESULT WINAPI enumx_Next(enumx_impl *, ULONG, void *, ULONG *); -extern HRESULT WINAPI enumx_Skip(enumx_impl *, ULONG); -extern HRESULT WINAPI enumx_Reset(enumx_impl *); -extern HRESULT WINAPI enumx_Clone(enumx_impl *, enumx_impl **); -extern enumx_impl *enumx_allocate(REFIID, const void *, ULONG); -extern void *enumx_add_element(enumx_impl *, const void *); +extern HRESULT WINAPI enumx_QueryInterface(enumx_impl *, REFIID, void**) DECLSPEC_HIDDEN; +extern ULONG WINAPI enumx_AddRef(enumx_impl *) DECLSPEC_HIDDEN; +extern ULONG WINAPI enumx_Release(enumx_impl *) DECLSPEC_HIDDEN; +extern HRESULT WINAPI enumx_Next(enumx_impl *, ULONG, void *, ULONG *) DECLSPEC_HIDDEN; +extern HRESULT WINAPI enumx_Skip(enumx_impl *, ULONG) DECLSPEC_HIDDEN; +extern HRESULT WINAPI enumx_Reset(enumx_impl *) DECLSPEC_HIDDEN; +extern HRESULT WINAPI enumx_Clone(enumx_impl *, enumx_impl **) DECLSPEC_HIDDEN; +extern enumx_impl *enumx_allocate(REFIID, const void *, ULONG) DECLSPEC_HIDDEN; +extern void *enumx_add_element(enumx_impl *, const void *) DECLSPEC_HIDDEN; #endif diff --git a/dlls/ole32/moniker.h b/dlls/ole32/moniker.h index 207b0e07491..c23e9d3b966 100644 --- a/dlls/ole32/moniker.h +++ b/dlls/ole32/moniker.h @@ -30,23 +30,23 @@ DEFINE_OLEGUID( CLSID_CompositeMoniker, 0x309, 0, 0 ); DEFINE_OLEGUID( CLSID_ClassMoniker, 0x31a, 0, 0 ); DEFINE_OLEGUID( CLSID_PointerMoniker, 0x306, 0, 0 ); -HRESULT FileMonikerCF_Create(REFIID riid, LPVOID *ppv); -HRESULT ItemMonikerCF_Create(REFIID riid, LPVOID *ppv); -HRESULT AntiMonikerCF_Create(REFIID riid, LPVOID *ppv); -HRESULT CompositeMonikerCF_Create(REFIID riid, LPVOID *ppv); -HRESULT ClassMonikerCF_Create(REFIID riid, LPVOID *ppv); -HRESULT PointerMonikerCF_Create(REFIID riid, LPVOID *ppv); -HRESULT ComCatCF_Create(REFIID riid, LPVOID *ppv); +HRESULT FileMonikerCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT ItemMonikerCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT AntiMonikerCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT CompositeMonikerCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT ClassMonikerCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT PointerMonikerCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; +HRESULT ComCatCF_Create(REFIID riid, LPVOID *ppv) DECLSPEC_HIDDEN; /* This function decomposes a String path to a String Table containing all the elements ("\" or "subDirectory" or "Directory" or "FileName") of the path */ -int FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** stringTable); +int FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** stringTable) DECLSPEC_HIDDEN; HRESULT FileMoniker_CreateFromDisplayName(LPBC pbc, LPCOLESTR szDisplayName, - LPDWORD pchEaten, LPMONIKER *ppmk); + LPDWORD pchEaten, LPMONIKER *ppmk) DECLSPEC_HIDDEN; HRESULT ClassMoniker_CreateFromDisplayName(LPBC pbc, LPCOLESTR szDisplayName, - LPDWORD pchEaten, LPMONIKER *ppmk); + LPDWORD pchEaten, LPMONIKER *ppmk) DECLSPEC_HIDDEN; -HRESULT MonikerMarshal_Create(IMoniker *inner, IUnknown **outer); +HRESULT MonikerMarshal_Create(IMoniker *inner, IUnknown **outer) DECLSPEC_HIDDEN; #endif /* __WINE_MONIKER_H__ */ diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h index 1aee587c2e7..938bf7b5ce2 100644 --- a/dlls/ole32/storage32.h +++ b/dlls/ole32/storage32.h @@ -154,14 +154,14 @@ struct DirEntry ULARGE_INTEGER size; }; -HRESULT FileLockBytesImpl_Construct(HANDLE hFile, DWORD openFlags, LPCWSTR pwcsName, ILockBytes **pLockBytes); +HRESULT FileLockBytesImpl_Construct(HANDLE hFile, DWORD openFlags, LPCWSTR pwcsName, ILockBytes **pLockBytes) DECLSPEC_HIDDEN; /************************************************************************* * Ole Convert support */ -void OLECONVERT_CreateOleStream(LPSTORAGE pStorage); -HRESULT OLECONVERT_CreateCompObjStream(LPSTORAGE pStorage, LPCSTR strOleTypeName); +void OLECONVERT_CreateOleStream(LPSTORAGE pStorage) DECLSPEC_HIDDEN; +HRESULT OLECONVERT_CreateCompObjStream(LPSTORAGE pStorage, LPCSTR strOleTypeName) DECLSPEC_HIDDEN; /**************************************************************************** @@ -325,8 +325,8 @@ static inline HRESULT StorageBaseImpl_StreamLink(StorageBaseImpl *This, * StorageBaseImpl stream list handlers */ -void StorageBaseImpl_AddStream(StorageBaseImpl * stg, StgStreamImpl * strm); -void StorageBaseImpl_RemoveStream(StorageBaseImpl * stg, StgStreamImpl * strm); +void StorageBaseImpl_AddStream(StorageBaseImpl * stg, StgStreamImpl * strm) DECLSPEC_HIDDEN; +void StorageBaseImpl_RemoveStream(StorageBaseImpl * stg, StgStreamImpl * strm) DECLSPEC_HIDDEN; /* Number of BlockChainStream objects to cache in a StorageImpl */ #define BLOCKCHAIN_CACHE_SIZE 4 @@ -385,35 +385,35 @@ struct StorageImpl HRESULT StorageImpl_ReadRawDirEntry( StorageImpl *This, ULONG index, - BYTE *buffer); + BYTE *buffer) DECLSPEC_HIDDEN; void UpdateRawDirEntry( BYTE *buffer, - const DirEntry *newData); + const DirEntry *newData) DECLSPEC_HIDDEN; HRESULT StorageImpl_WriteRawDirEntry( StorageImpl *This, ULONG index, - const BYTE *buffer); + const BYTE *buffer) DECLSPEC_HIDDEN; HRESULT StorageImpl_ReadDirEntry( StorageImpl* This, DirRef index, - DirEntry* buffer); + DirEntry* buffer) DECLSPEC_HIDDEN; HRESULT StorageImpl_WriteDirEntry( StorageImpl* This, DirRef index, - const DirEntry* buffer); + const DirEntry* buffer) DECLSPEC_HIDDEN; BlockChainStream* Storage32Impl_SmallBlocksToBigBlocks( StorageImpl* This, - SmallBlockChainStream** ppsbChain); + SmallBlockChainStream** ppsbChain) DECLSPEC_HIDDEN; SmallBlockChainStream* Storage32Impl_BigBlocksToSmallBlocks( StorageImpl* This, BlockChainStream** ppbbChain, - ULARGE_INTEGER newSize); + ULARGE_INTEGER newSize) DECLSPEC_HIDDEN; /**************************************************************************** * StgStreamImpl definitions. @@ -464,7 +464,7 @@ struct StgStreamImpl StgStreamImpl* StgStreamImpl_Construct( StorageBaseImpl* parentStorage, DWORD grfMode, - DirRef dirEntry); + DirRef dirEntry) DECLSPEC_HIDDEN; /****************************************************************************** @@ -491,18 +491,18 @@ StgStreamImpl* StgStreamImpl_Construct( * are abstractions used to read values from file buffers without having to * worry about bit order */ -void StorageUtl_ReadWord(const BYTE* buffer, ULONG offset, WORD* value); -void StorageUtl_WriteWord(BYTE* buffer, ULONG offset, WORD value); -void StorageUtl_ReadDWord(const BYTE* buffer, ULONG offset, DWORD* value); -void StorageUtl_WriteDWord(BYTE* buffer, ULONG offset, DWORD value); +void StorageUtl_ReadWord(const BYTE* buffer, ULONG offset, WORD* value) DECLSPEC_HIDDEN; +void StorageUtl_WriteWord(BYTE* buffer, ULONG offset, WORD value) DECLSPEC_HIDDEN; +void StorageUtl_ReadDWord(const BYTE* buffer, ULONG offset, DWORD* value) DECLSPEC_HIDDEN; +void StorageUtl_WriteDWord(BYTE* buffer, ULONG offset, DWORD value) DECLSPEC_HIDDEN; void StorageUtl_ReadULargeInteger(const BYTE* buffer, ULONG offset, - ULARGE_INTEGER* value); + ULARGE_INTEGER* value) DECLSPEC_HIDDEN; void StorageUtl_WriteULargeInteger(BYTE* buffer, ULONG offset, - const ULARGE_INTEGER *value); -void StorageUtl_ReadGUID(const BYTE* buffer, ULONG offset, GUID* value); -void StorageUtl_WriteGUID(BYTE* buffer, ULONG offset, const GUID* value); + const ULARGE_INTEGER *value) DECLSPEC_HIDDEN; +void StorageUtl_ReadGUID(const BYTE* buffer, ULONG offset, GUID* value) DECLSPEC_HIDDEN; +void StorageUtl_WriteGUID(BYTE* buffer, ULONG offset, const GUID* value) DECLSPEC_HIDDEN; void StorageUtl_CopyDirEntryToSTATSTG(StorageBaseImpl *storage,STATSTG* destination, - const DirEntry* source, int statFlags); + const DirEntry* source, int statFlags) DECLSPEC_HIDDEN; /**************************************************************************** * BlockChainStream definitions. @@ -547,31 +547,31 @@ struct BlockChainStream BlockChainStream* BlockChainStream_Construct( StorageImpl* parentStorage, ULONG* headOfStreamPlaceHolder, - DirRef dirEntry); + DirRef dirEntry) DECLSPEC_HIDDEN; void BlockChainStream_Destroy( - BlockChainStream* This); + BlockChainStream* This) DECLSPEC_HIDDEN; HRESULT BlockChainStream_ReadAt( BlockChainStream* This, ULARGE_INTEGER offset, ULONG size, void* buffer, - ULONG* bytesRead); + ULONG* bytesRead) DECLSPEC_HIDDEN; HRESULT BlockChainStream_WriteAt( BlockChainStream* This, ULARGE_INTEGER offset, ULONG size, const void* buffer, - ULONG* bytesWritten); + ULONG* bytesWritten) DECLSPEC_HIDDEN; BOOL BlockChainStream_SetSize( BlockChainStream* This, - ULARGE_INTEGER newSize); + ULARGE_INTEGER newSize) DECLSPEC_HIDDEN; HRESULT BlockChainStream_Flush( - BlockChainStream* This); + BlockChainStream* This) DECLSPEC_HIDDEN; /**************************************************************************** * SmallBlockChainStream definitions. @@ -592,28 +592,28 @@ struct SmallBlockChainStream SmallBlockChainStream* SmallBlockChainStream_Construct( StorageImpl* parentStorage, ULONG* headOfStreamPlaceHolder, - DirRef dirEntry); + DirRef dirEntry) DECLSPEC_HIDDEN; void SmallBlockChainStream_Destroy( - SmallBlockChainStream* This); + SmallBlockChainStream* This) DECLSPEC_HIDDEN; HRESULT SmallBlockChainStream_ReadAt( SmallBlockChainStream* This, ULARGE_INTEGER offset, ULONG size, void* buffer, - ULONG* bytesRead); + ULONG* bytesRead) DECLSPEC_HIDDEN; HRESULT SmallBlockChainStream_WriteAt( SmallBlockChainStream* This, ULARGE_INTEGER offset, ULONG size, const void* buffer, - ULONG* bytesWritten); + ULONG* bytesWritten) DECLSPEC_HIDDEN; BOOL SmallBlockChainStream_SetSize( SmallBlockChainStream* This, - ULARGE_INTEGER newSize); + ULARGE_INTEGER newSize) DECLSPEC_HIDDEN; #endif /* __STORAGE32_H__ */