public int SetPositions(DsLong pCurrent, AMSeekingSeekingFlags dwCurrentFlags, DsLong pStop, AMSeekingSeekingFlags dwStopFlags) { if (m_pUnknown == IntPtr.Zero) return E_NOINTERFACE; SetPositionsProc _Proc = GetProcDelegate<SetPositionsProc>(14); if (_Proc == null) return E_UNEXPECTED; return (HRESULT)_Proc( m_pUnknown, pCurrent, dwCurrentFlags, pStop, dwStopFlags ); }
public int SetMediaTime(DsLong pTimeStart, DsLong pTimeEnd) { if (m_pUnknown == IntPtr.Zero) return E_NOINTERFACE; SetTimeProc _Proc = GetProcDelegate<SetTimeProc>(18); if (_Proc == null) return E_UNEXPECTED; return (HRESULT)_Proc( m_pUnknown, pTimeStart, pTimeEnd ); }