mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Make CAEDataStream methods pure virtual so intellisense doesn't complain (and those methods shouldn't be used anyway)
This commit is contained in:
parent
771fd96ba7
commit
a76b06a400
1 changed files with 28 additions and 28 deletions
|
@ -62,26 +62,26 @@ public:
|
||||||
inline HANDLE GetFile() const
|
inline HANDLE GetFile() const
|
||||||
{ return hHandle; }
|
{ return hHandle; }
|
||||||
|
|
||||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void ** ppvObject);
|
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void ** ppvObject) override = 0;
|
||||||
virtual ULONG STDMETHODCALLTYPE AddRef(void);
|
virtual ULONG STDMETHODCALLTYPE AddRef(void) override = 0;
|
||||||
virtual ULONG STDMETHODCALLTYPE Release(void);
|
virtual ULONG STDMETHODCALLTYPE Release(void) override = 0;
|
||||||
|
|
||||||
// ISequentialStream Interface
|
// ISequentialStream Interface
|
||||||
public:
|
public:
|
||||||
virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
|
virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Write(void const* pv, ULONG cb, ULONG* pcbWritten);
|
virtual HRESULT STDMETHODCALLTYPE Write(void const* pv, ULONG cb, ULONG* pcbWritten) override = 0;
|
||||||
|
|
||||||
// IStream Interface
|
// IStream Interface
|
||||||
public:
|
public:
|
||||||
virtual HRESULT STDMETHODCALLTYPE SetSize(ULARGE_INTEGER);
|
virtual HRESULT STDMETHODCALLTYPE SetSize(ULARGE_INTEGER) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE CopyTo(IStream*, ULARGE_INTEGER, ULARGE_INTEGER*, ULARGE_INTEGER*) ;
|
virtual HRESULT STDMETHODCALLTYPE CopyTo(IStream*, ULARGE_INTEGER, ULARGE_INTEGER*, ULARGE_INTEGER*) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Commit(DWORD);
|
virtual HRESULT STDMETHODCALLTYPE Commit(DWORD) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Revert(void);
|
virtual HRESULT STDMETHODCALLTYPE Revert(void) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE LockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD);
|
virtual HRESULT STDMETHODCALLTYPE LockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE UnlockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD);
|
virtual HRESULT STDMETHODCALLTYPE UnlockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Clone(IStream **);
|
virtual HRESULT STDMETHODCALLTYPE Clone(IStream **) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Seek(LARGE_INTEGER liDistanceToMove, DWORD dwOrigin, ULARGE_INTEGER* lpNewFilePointer);
|
virtual HRESULT STDMETHODCALLTYPE Seek(LARGE_INTEGER liDistanceToMove, DWORD dwOrigin, ULARGE_INTEGER* lpNewFilePointer) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg, DWORD grfStatFlag);
|
virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg, DWORD grfStatFlag) override = 0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Custom methods
|
// Custom methods
|
||||||
|
@ -139,26 +139,26 @@ public:
|
||||||
inline HANDLE GetFile() const
|
inline HANDLE GetFile() const
|
||||||
{ return hHandle; }
|
{ return hHandle; }
|
||||||
|
|
||||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void ** ppvObject);
|
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void ** ppvObject) override = 0;
|
||||||
virtual ULONG STDMETHODCALLTYPE AddRef(void);
|
virtual ULONG STDMETHODCALLTYPE AddRef(void) override = 0;
|
||||||
virtual ULONG STDMETHODCALLTYPE Release(void);
|
virtual ULONG STDMETHODCALLTYPE Release(void) override = 0;
|
||||||
|
|
||||||
// ISequentialStream Interface
|
// ISequentialStream Interface
|
||||||
public:
|
public:
|
||||||
virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
|
virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Write(void const* pv, ULONG cb, ULONG* pcbWritten);
|
virtual HRESULT STDMETHODCALLTYPE Write(void const* pv, ULONG cb, ULONG* pcbWritten) override = 0;
|
||||||
|
|
||||||
// IStream Interface
|
// IStream Interface
|
||||||
public:
|
public:
|
||||||
virtual HRESULT STDMETHODCALLTYPE SetSize(ULARGE_INTEGER);
|
virtual HRESULT STDMETHODCALLTYPE SetSize(ULARGE_INTEGER) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE CopyTo(IStream*, ULARGE_INTEGER, ULARGE_INTEGER*, ULARGE_INTEGER*) ;
|
virtual HRESULT STDMETHODCALLTYPE CopyTo(IStream*, ULARGE_INTEGER, ULARGE_INTEGER*, ULARGE_INTEGER*) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Commit(DWORD);
|
virtual HRESULT STDMETHODCALLTYPE Commit(DWORD) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Revert(void);
|
virtual HRESULT STDMETHODCALLTYPE Revert(void) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE LockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD);
|
virtual HRESULT STDMETHODCALLTYPE LockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE UnlockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD);
|
virtual HRESULT STDMETHODCALLTYPE UnlockRegion(ULARGE_INTEGER, ULARGE_INTEGER, DWORD) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Clone(IStream **);
|
virtual HRESULT STDMETHODCALLTYPE Clone(IStream **) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Seek(LARGE_INTEGER liDistanceToMove, DWORD dwOrigin, ULARGE_INTEGER* lpNewFilePointer);
|
virtual HRESULT STDMETHODCALLTYPE Seek(LARGE_INTEGER liDistanceToMove, DWORD dwOrigin, ULARGE_INTEGER* lpNewFilePointer) override = 0;
|
||||||
virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg, DWORD grfStatFlag);
|
virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg, DWORD grfStatFlag) override = 0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Custom methods
|
// Custom methods
|
||||||
|
|
Loading…
Reference in a new issue