C++ Help

I'm now one week into C++ and need help. I'm playing with GAPIDRAW trying to add sound. My problem is this whole class business and variable declarations. Here's the code:
CWave * m_cWave;
m_cWave = new CWave( );
DWORD m_dwSysVolume = m_cWave->getVolume( );
m_cWave->setVolume(0x71C471C4);
m_cWave->playResourceWav(hInst, IDR_WAVE, false);
This works from within WinMain. If I use m_cWave from within the GAPIDRAW functions I recieve m_cWave' : undeclared identifier. I'm sure this is basic C++ stuff that's why I posted here instead of the GAPIDRAW forum.
Please forgive my newbieness.
CWave * m_cWave;
m_cWave = new CWave( );
DWORD m_dwSysVolume = m_cWave->getVolume( );
m_cWave->setVolume(0x71C471C4);
m_cWave->playResourceWav(hInst, IDR_WAVE, false);
This works from within WinMain. If I use m_cWave from within the GAPIDRAW functions I recieve m_cWave' : undeclared identifier. I'm sure this is basic C++ stuff that's why I posted here instead of the GAPIDRAW forum.
Please forgive my newbieness.