www.pudn.com > VirtualVCR-src-v2.6.9.zip > HistogramProp.h
/*
Virtual VCR
Copyright (C) 2002 Shaun Faulds
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Acknowledgments:
This application and associated filters are based on the examples
from the Microsoft DirectX DirectShow SDK.
*/
#ifndef __IHistogramPROC__
#define __IHistogramPROC__
class CHistogramProperties : public CBasePropertyPage
{
public:
static CUnknown * WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);
private:
BOOL OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
HRESULT OnConnect(IUnknown *pUnknown);
HRESULT OnDisconnect();
HRESULT OnActivate();
HRESULT OnDeactivate();
HRESULT OnApplyChanges();
void GetControlValues();
CHistogramProperties(LPUNKNOWN lpunk, HRESULT *phr);
BOOL m_bIsInitialized; // Used to ignore startup messages
int m_effect; // Which effect are we processing
REFTIME m_start; // When the effect will begin
REFTIME m_length; // And how long it will last for
IHistogram *m_pIPEffect; // The custom interface on the filter
}; // EZrgb24Properties
#endif