void RemoveFromRot(DWORD pdwRegister) { IRunningObjectTable *pROT; if (SUCCEEDED(GetRunningObjectTable(0, &pROT))) { pROT->Revoke(pdwRegister); pROT->Release(); } }
void CDShowControl::RemoveGraphFromRot(DWORD pRegister) { IRunningObjectTable *pRot; if(SUCCEEDED(GetRunningObjectTable(0, &pRot))) { pRot->Revoke(pRegister); pRot->Release(); } }
void DirectShowUtil::RemoveFromRot(const DWORD dwRegister) { IRunningObjectTable *pROT; if (SUCCEEDED(::GetRunningObjectTable(0, &pROT))) { pROT->Revoke(dwRegister); pROT->Release(); } }
//Приватная функция. Удаляет текущий граф из ROT (Running Object Table) void CDirectShow::RemoveFGFromROT() { IRunningObjectTable *pRunningObjectTable = NULL; if (SUCCEEDED(GetRunningObjectTable(0, &pRunningObjectTable))) { pRunningObjectTable->Revoke(m_dwROTRegister); pRunningObjectTable->Release(); m_dwROTRegister = 0; } }
// Removes a filter graph from the Running Object Table void __fastcall RemoveGraphFromRot(DWORD dwRegister) { IRunningObjectTable *pROT; if(SUCCEEDED(GetRunningObjectTable(0, &pROT))) { pROT->Revoke(dwRegister); pROT->Release(); } }
void CDXGraph::RemoveFromObjectTable(void) { IRunningObjectTable * objectTable = 0; if (SUCCEEDED(GetRunningObjectTable(0, &objectTable))) { objectTable->Revoke(mObjectTableEntry); objectTable->Release(); mObjectTableEntry = 0; } }
void CMediaViewer::RemoveFromRot(const DWORD dwRegister) const { // デバッグ用 IRunningObjectTable *pROT; if(SUCCEEDED(::GetRunningObjectTable(0, &pROT))){ pROT->Revoke(dwRegister); pROT->Release(); } }
// Function name : CVMR9Graph::RemoveFromRot // Description : remove the graph instance accessibility from graphedit // Return type : void void CVMR9Graph::RemoveFromRot() { if (m_dwRotId != -1) { IRunningObjectTable *pROT; if (SUCCEEDED(GetRunningObjectTable(0, &pROT))) { pROT->Revoke(m_dwRotId); m_dwRotId = -1; pROT->Release(); } } }