MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / put_MessageDrain

Method put_MessageDrain

Source/VideoRenderer.cpp:1122–1129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1120}
1121
1122STDMETHODIMP CMpcVideoRenderer::put_MessageDrain(OAHWND Drain)
1123{
1124 if (m_pInputPin == nullptr || m_pInputPin->IsConnected() == FALSE) {
1125 return VFW_E_NOT_CONNECTED;
1126 }
1127 m_hWndDrain = (HWND)Drain;
1128 return S_OK;
1129}
1130
1131STDMETHODIMP CMpcVideoRenderer::get_MessageDrain(OAHWND* Drain)
1132{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected