windows-nt/Source/XPSP1/NT/multimedia/dshow/mfvideo/mswebdvd/msgwindow.h
2020-09-26 16:20:57 +08:00

28 lines
637 B
C++

//
// Copyright (c) 1996 - 1999 Microsoft Corporation. All Rights Reserved.
//
#ifndef __CMsgWindow__h
#define __CMsgWindow__h
//
// Message Window class (for handling WM_TIMER messages) definition
//
class CMsgWindow
{
public:
virtual ~CMsgWindow() ;
virtual bool Open( LPCTSTR pWindowName = 0);
virtual bool Close();
virtual LRESULT WndProc( UINT uMsg, WPARAM wParam, LPARAM lParam );
HWND GetHandle() const { return m_hWnd; } ;
void SetHandle(HWND hwnd) {m_hWnd = hwnd; } ;
protected:
CMsgWindow();
private:
HWND m_hWnd ;
};
#endif