| 903 | } |
| 904 | |
| 905 | STDMETHODIMP CMpcVideoRenderer::GetDestinationPosition(long *pLeft, long *pTop, long *pWidth, long *pHeight) |
| 906 | { |
| 907 | CheckPointer(pLeft,E_POINTER); |
| 908 | CheckPointer(pTop,E_POINTER); |
| 909 | CheckPointer(pWidth,E_POINTER); |
| 910 | CheckPointer(pHeight,E_POINTER); |
| 911 | |
| 912 | CRect rect; |
| 913 | { |
| 914 | CAutoLock cVideoLock(&m_InterfaceLock); |
| 915 | |
| 916 | m_VideoProcessor->GetVideoRect(rect); |
| 917 | } |
| 918 | |
| 919 | *pLeft = rect.left; |
| 920 | *pTop = rect.top; |
| 921 | *pWidth = rect.Width(); |
| 922 | *pHeight = rect.Height(); |
| 923 | |
| 924 | return S_OK; |
| 925 | } |
| 926 | |
| 927 | STDMETHODIMP CMpcVideoRenderer::GetVideoSize(long *pWidth, long *pHeight) |
| 928 | { |
nothing calls this directly
no test coverage detected