IltmmPlay::ToggleCloseCaptioning Example for C++
VARIANT_BOOL vrtClose;
m_player->put_CloseCaptioning (VARIANT_FALSE);
m_player->ToggleCloseCaptioning ();
m_player->get_CloseCaptioning (&vrtClose);
if (vrtClose == VARIANT_TRUE)
MessageBox("Close captioning rendering is enabled");
else
MessageBox("Close captioning rendering is disabled");