//测试用例
//testDlg.h
public:
CSoundOut m_SoundOut;
//TestDlg.CPP
//
BOOL CTestDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
VERIFY(m_SoundOut.OpenOutput() == MMSYSERR_NOERROR);
return TRUE; // return TRUE unless you set the focus to a control
}