fn SetVideoPosition(&self,
		src: Option<MFVideoNormalizedRect>,
		dest: Option<RECT>) -> HrResult<()>
	{
		unsafe {
			let vt = &**(self.ptr().0 as *mut *mut IMFVideoDisplayControlVT);
			ok_to_hrresult(
				(vt.SetVideoPosition)(
					self.ptr(),
					src.as_ref().map_or(std::ptr::null(), |src| src as *const _ as _),
					dest.as_ref().map_or(std::ptr::null(), |dest| dest as *const _ as _),
				),
			)
		}
	}
/// [`IMFVideoDisplayControl::SetVideoPosition`](https://docs.microsoft.com/en-us/windows/win32/api/evr/nf-evr-imfvideodisplaycontrol-setvideoposition)
/// method.
///
/// At least one parameter must be passed.



At least one parameter must be passed.
At least one parameter must be passed .
fn SetVideoPosition(&self,
		src: Option<MFVideoNormalizedRect>,
		dest: Option<RECT>) -> HrResult<()>
	{
		unsafe {
			let vt = &**(self.ptr().0 as *mut *mut IMFVideoDisplayControlVT);
			ok_to_hrresult(
				(vt.SetVideoPosition)(
					self.ptr(),
					src.as_ref().map_or(std::ptr::null(), |src| src as *const _ as _),
					dest.as_ref().map_or(std::ptr::null(), |dest| dest as *const _ as _),
				),
			)
		}
	}
fn SetVideoPosition ( & self , src : Option < MFVideoNormalizedRect > , dest : Option < RECT > ) -> HrResult < ( ) > { unsafe { let vt = & * * ( self . ptr ( ) . 0 as * mut * mut IMFVideoDisplayControlVT ) ; ok_to_hrresult ( ( vt . SetVideoPosition ) ( self . ptr ( ) , src . as_ref ( ) . map_or ( std :: ptr :: null ( ) , | src | src as * const _ as _ ) , dest . as_ref ( ) . map_or ( std :: ptr :: null ( ) , | dest | dest as * const _ as _ ) , ) , ) } }
[`IMFVideoDisplayControl::SetVideoPosition`](https://docs.microsoft.com/en-us/windows/win32/api/evr/nf-evr-imfvideodisplaycontrol-setvideoposition)
method.
[ ` IMFVideoDisplayControl :: SetVideoPosition ` ] ( https : // docs . microsoft . com / en - us / windows / win32 / api / evr / nf - evr - imfvideodisplaycontrol - setvideoposition ) method .
&self
src
Option<MFVideoNormalizedRect>
dest
Option<RECT>
&self
src
Option<MFVideoNormalizedRect>
dest
Option<RECT>