pub trait IDirectXVideoAccelerationService_Impl: Sized {
// Required method
fn CreateSurface(
&self,
width: u32,
height: u32,
backbuffers: u32,
format: D3DFORMAT,
pool: D3DPOOL,
usage: u32,
dxvatype: &DXVA2_VideoRenderTargetType,
ppsurface: *mut Option<IDirect3DSurface9>,
psharedhandle: *mut HANDLE,
) -> Result<()>;
}
Required Methods§
fn CreateSurface( &self, width: u32, height: u32, backbuffers: u32, format: D3DFORMAT, pool: D3DPOOL, usage: u32, dxvatype: &DXVA2_VideoRenderTargetType, ppsurface: *mut Option<IDirect3DSurface9>, psharedhandle: *mut HANDLE, ) -> Result<()>
Object Safety§
This trait is not object safe.