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

Method get_MessageDrain

Source/VideoRenderer.cpp:1131–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1129}
1130
1131STDMETHODIMP CMpcVideoRenderer::get_MessageDrain(OAHWND* Drain)
1132{
1133 CheckPointer(Drain, E_POINTER);
1134 if (m_pInputPin == nullptr || m_pInputPin->IsConnected() == FALSE) {
1135 return VFW_E_NOT_CONNECTED;
1136 }
1137 *Drain = (OAHWND)m_hWndDrain;
1138 return S_OK;
1139}
1140
1141STDMETHODIMP CMpcVideoRenderer::SetWindowPosition(long Left, long Top, long Width, long Height)
1142{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected