shdocvw: Declare some functions static.
This commit is contained in:
parent
736743dd57
commit
f06c01e230
|
@ -548,8 +548,8 @@ HRESULT navigate_url(DocHost *This, BSTR url, VARIANT *Flags, VARIANT *TargetFra
|
|||
return hres;
|
||||
}
|
||||
|
||||
HRESULT navigate_hlink(DocHost *This, IMoniker *mon, IBindCtx *bindctx,
|
||||
IBindStatusCallback *callback)
|
||||
static HRESULT navigate_hlink(DocHost *This, IMoniker *mon, IBindCtx *bindctx,
|
||||
IBindStatusCallback *callback)
|
||||
{
|
||||
IHttpNegotiate *http_negotiate;
|
||||
LPWSTR url = NULL;
|
||||
|
|
|
@ -126,7 +126,7 @@ HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
|
|||
*
|
||||
* makes sure the handle to shell32 is valid
|
||||
*/
|
||||
BOOL SHDOCVW_LoadShell32(void)
|
||||
static BOOL SHDOCVW_LoadShell32(void)
|
||||
{
|
||||
if (SHDOCVW_hshell32)
|
||||
return TRUE;
|
||||
|
|
|
@ -169,7 +169,7 @@ static const IPropertyBagVtbl RegistryPropertyBag_IPropertyBagVtbl = {
|
|||
RegistryPropertyBag_IPropertyBag_Write
|
||||
};
|
||||
|
||||
HRESULT RegistryPropertyBag_Constructor(HKEY hInitPropertyBagKey, REFIID riid, LPVOID *ppvObject) {
|
||||
static HRESULT RegistryPropertyBag_Constructor(HKEY hInitPropertyBagKey, REFIID riid, LPVOID *ppvObject) {
|
||||
HRESULT hr = E_FAIL;
|
||||
RegistryPropertyBag *pRegistryPropertyBag;
|
||||
|
||||
|
@ -313,8 +313,8 @@ static const IClassFactoryVtbl InstanceObjectFactory_IClassFactoryVtbl = {
|
|||
InstanceObjectFactory_IClassFactory_LockServer
|
||||
};
|
||||
|
||||
HRESULT InstanceObjectFactory_Constructor(REFCLSID rclsid, IPropertyBag *pPropertyBag, REFIID riid,
|
||||
LPVOID *ppvObject)
|
||||
static HRESULT InstanceObjectFactory_Constructor(REFCLSID rclsid, IPropertyBag *pPropertyBag,
|
||||
REFIID riid, LPVOID *ppvObject)
|
||||
{
|
||||
InstanceObjectFactory *pInstanceObjectFactory;
|
||||
HRESULT hr = E_FAIL;
|
||||
|
|
Loading…
Reference in New Issue