//===========================================================================
//
// 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.
//
//===========================================================================
//
// filename: trprop.h
//
//IAMExtTransport Property Page for External Device (VCR)Filter
//
#ifndef __TRPROP__
#define __TRPROP__
class CExtTransProperties : public CBasePropertyPage
{
public:
static CUnknown *CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);
protected:
// CBasePropertyPage overrides
BOOL OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
HRESULT OnConnect(IUnknown *pUnknown);
HRESULT OnDisconnect();
HRESULT OnActivate () ;
HRESULT OnApplyChanges();
private:
CExtTransProperties(LPUNKNOWN lpunk, HRESULT *phr);
void InitPropertiesDialog(HWND hwndParent);
intFindModeIndex(long Value);
voidSetDirty();
BOOLOnInitDialog( void );
BOOLOnCommand( int iButton, int iNotify );
voidUpdateControls(void);
HWNDm_hwndModeList;// Handle of transport mode value listbox
longm_CurMediaState;// what's the media doing?
longm_CurLocalState;// online or offline?
longm_CurModeSel;// current transport mode listbox selection
longm_CurMode;// current transport mode
BOOLm_bIsInitialized;// Will be false while we set init
// values in Dlg
BOOLm_bSetHourGlass;// TRUE if an EJECT will happen
HCURSORm_hHourGlass;// Handle of the hourglass cursor
HCURSORm_hCurrentCursor;// Handle of the non-hourglass cursor
IAMExtTransport*m_pExtTransport;// pointers to the IAMExtTransport and
IAMExtDevice*m_pExtDevice;// IAMExtDevice interfaces
};
#endif// __TRPROP__
// eof trprop.h