ReadSWF_2Dlg.h
资源名称:ReadSWF_5.zip [点击查看]
上传用户:qzjinhui
上传日期:2020-10-10
资源大小:5260k
文件大小:2k
源码类别:
语音压缩
开发平台:
Visual C++
- // ReadSWF_2Dlg.h : header file
- //
- #include "Sound.h"
- #include "sndmix.h"
- #if !defined(AFX_READSWF_2DLG_H__DDA02D59_0732_4D80_BB0D_2CC461B2FC1E__INCLUDED_)
- #define AFX_READSWF_2DLG_H__DDA02D59_0732_4D80_BB0D_2CC461B2FC1E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CReadSWF_2Dlg dialog
- typedef struct Rect
- {
- int Xmin;
- int Ymin;
- int Xmax;
- int Ymax;
- }RECT_1;
- class CReadSWF_2Dlg : public CDialog
- {
- // Construction
- public:
- CReadSWF_2Dlg(CWnd* pParent = NULL); // standard constructor
- CString m_SWFFileName;
- void SWF_Decoder(FILE *file);
- DWORD Get_Bit_From_Cache(int n);
- void Read_From_Cache(DWORD readlen,BYTE * buff);
- void Get_RECT_From_Cache(RECT_1 * pRect);
- void Define_Sound();
- void Start_Sound();
- void GetSoundInfo(CSoundChannel* c);
- CSound sound;
- // Dialog Data
- //{{AFX_DATA(CReadSWF_2Dlg)
- enum { IDD = IDD_READSWF_2_DIALOG };
- CString m_SWFFile;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CReadSWF_2Dlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CReadSWF_2Dlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnPlay();
- afx_msg void OnOpenFile();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_READSWF_2DLG_H__DDA02D59_0732_4D80_BB0D_2CC461B2FC1E__INCLUDED_)
English
