BOOL CCaptureVideo::Stop() { m_bOpened = false; if (m_pMC) { m_pMC->Stop();; m_pMC->Release(); m_pMC = NULL; } if(m_pVW) { m_pVW->put_Visible(OAFALSE); m_pVW->put_Owner(NULL); m_pVW->Release(); m_pVW = NULL; } srelease(m_pCapture); // srelease(m_pBF); m_pGrabber = NULL; srelease(m_pGB); return TRUE; }
static void emphas (void) { srelease ("{\\em "); do { c = next (); if (c == '*') break; release (c); } while (c != EOF); if (c == '*') c = next (); release ('}'); }