NULLPROP.H

//==========================================================================; 
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
// Copyright (c) 1992 - 1997 Microsoft Corporation. All Rights Reserved.
//
//--------------------------------------------------------------------------;
//----------------------------------------------------------------------------
// nullprop.h
//----------------------------------------------------------------------------

class NullIPProperties : public CBasePropertyPage
{

public:

static CUnknown * WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);
DECLARE_IUNKNOWN;

private:

BOOL OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
HRESULT OnConnect(IUnknown *pUnknown);
HRESULT OnDisconnect();
HRESULT OnActivate();
HRESULT OnApplyChanges();

void SetDirty();
void FillListBox();

NullIPProperties(LPUNKNOWN lpunk, HRESULT *phr);

HWND m_hwndLB ; // Handle of the list box
int m_nIndex ; // Index of the selected media type
IPin *m_pPin ; // The upstream output pin connected to us
INullIPP *m_pINullIPP; // Null In Place property interface

}; // class NullIPProperties