]> git.sesse.net Git - vlc/blobdiff - activex/persiststorage.cpp
Fix crash when no IEEE1394/Firewire device is present
[vlc] / activex / persiststorage.cpp
index 7c7eb8222b93a82a46c3fbd60de79d713c2f9824..1e01eddfee14280aabc0ef1fe34ad6c0f4c63101 100644 (file)
@@ -40,12 +40,12 @@ STDMETHODIMP VLCPersistStorage::IsDirty(void)
     return _p_instance->isDirty() ? S_OK : S_FALSE;
 };
 
-STDMETHODIMP VLCPersistStorage::InitNew(IStorage *pStg)
+STDMETHODIMP VLCPersistStorage::InitNew(LPSTORAGE pStg)
 {
     return _p_instance->onInit();
 };
 
-STDMETHODIMP VLCPersistStorage::Load(IStorage *pStg)
+STDMETHODIMP VLCPersistStorage::Load(LPSTORAGE pStg)
 {
     if( NULL == pStg )
         return E_INVALIDARG;
@@ -69,7 +69,7 @@ STDMETHODIMP VLCPersistStorage::Load(IStorage *pStg)
     return result;
 };
 
-STDMETHODIMP VLCPersistStorage::Save(IStorage *pStg, BOOL fSameAsLoad)
+STDMETHODIMP VLCPersistStorage::Save(LPSTORAGE pStg, BOOL fSameAsLoad)
 {
     if( NULL == pStg )
         return E_INVALIDARG;