mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-04-02 10:52:54 -04:00
Update it to the version found at https://github.com/Microsoft/Windows-classic-samples , which is in an MIT licensed repo, and add the LICENSE file (edited to remove the SIL Open Font LICENSE part since that doesn't apply). Some modifications have been made to reduce the diff/stop git complaining (not including any file that wasn't in the previous version and removing the related header includes in streams.h, and fixing some but not all of the whitespace issues).
30 lines
857 B
C++
30 lines
857 B
C++
//------------------------------------------------------------------------------
|
|
// File: SeekPT.h
|
|
//
|
|
// Desc: DirectShow base classes.
|
|
//
|
|
// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
#ifndef __seekpt_h__
|
|
#define __seekpt_h__
|
|
|
|
|
|
class CSeekingPassThru : public ISeekingPassThru, public CUnknown
|
|
{
|
|
public:
|
|
static CUnknown *CreateInstance(__inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr);
|
|
CSeekingPassThru(__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr);
|
|
~CSeekingPassThru();
|
|
|
|
DECLARE_IUNKNOWN;
|
|
STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv);
|
|
|
|
STDMETHODIMP Init(BOOL bSupportRendering, IPin *pPin);
|
|
|
|
private:
|
|
CPosPassThru *m_pPosPassThru;
|
|
};
|
|
|
|
#endif
|