Struct windows::Win32::Graphics::Direct3D11::ID3D11VideoContext3

pub struct ID3D11VideoContext3(/* private fields */);

Implementations§

§

impl ID3D11VideoContext3

pub unsafe fn DecoderBeginFrame1<P0, P1>( &self, pdecoder: P0, pview: P1, contentkeysize: u32, pcontentkey: Option<*const c_void>, numcomponenthistograms: u32, phistogramoffsets: Option<*const u32>, pphistogrambuffers: Option<*const Option<ID3D11Buffer>>, ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>, P1: Param<ID3D11VideoDecoderOutputView>,

pub unsafe fn SubmitDecoderBuffers2<P0>( &self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC2], ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

Methods from Deref<Target = ID3D11VideoContext2>§

pub unsafe fn VideoProcessorSetOutputHDRMetaData<P0>( &self, pvideoprocessor: P0, type: DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: Option<*const c_void>, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputHDRMetaData<P0>( &self, pvideoprocessor: P0, ptype: *mut DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: Option<*mut c_void>, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetStreamHDRMetaData<P0>( &self, pvideoprocessor: P0, streamindex: u32, type: DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: Option<*const c_void>, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamHDRMetaData<P0>( &self, pvideoprocessor: P0, streamindex: u32, ptype: *mut DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: Option<*mut c_void>, )
where P0: Param<ID3D11VideoProcessor>,

Methods from Deref<Target = ID3D11VideoContext1>§

pub unsafe fn SubmitDecoderBuffers1<P0>( &self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC1], ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn GetDataForNewHardwareKey<P0>( &self, pcryptosession: P0, pprivatinputdata: &[u8], ) -> Result<u64>
where P0: Param<ID3D11CryptoSession>,

pub unsafe fn CheckCryptoSessionStatus<P0>( &self, pcryptosession: P0, ) -> Result<D3D11_CRYPTO_SESSION_STATUS>
where P0: Param<ID3D11CryptoSession>,

pub unsafe fn DecoderEnableDownsampling<P0>( &self, pdecoder: P0, inputcolorspace: DXGI_COLOR_SPACE_TYPE, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, referenceframecount: u32, ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn DecoderUpdateDownsampling<P0>( &self, pdecoder: P0, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn VideoProcessorSetOutputColorSpace1<P0>( &self, pvideoprocessor: P0, colorspace: DXGI_COLOR_SPACE_TYPE, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetOutputShaderUsage<P0, P1>( &self, pvideoprocessor: P0, shaderusage: P1, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorGetOutputColorSpace1<P0>( &self, pvideoprocessor: P0, ) -> DXGI_COLOR_SPACE_TYPE
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputShaderUsage<P0>( &self, pvideoprocessor: P0, ) -> BOOL
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetStreamColorSpace1<P0>( &self, pvideoprocessor: P0, streamindex: u32, colorspace: DXGI_COLOR_SPACE_TYPE, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetStreamMirror<P0, P1, P2, P3>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, fliphorizontal: P2, flipvertical: P3, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>, P2: Param<BOOL>, P3: Param<BOOL>,

pub unsafe fn VideoProcessorGetStreamColorSpace1<P0>( &self, pvideoprocessor: P0, streamindex: u32, ) -> DXGI_COLOR_SPACE_TYPE
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamMirror<P0>( &self, pvideoprocessor: P0, streamindex: u32, penable: *mut BOOL, pfliphorizontal: *mut BOOL, pflipvertical: *mut BOOL, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetBehaviorHints<P0>( &self, pvideoprocessor: P0, outputwidth: u32, outputheight: u32, outputformat: DXGI_FORMAT, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT], ) -> Result<u32>
where P0: Param<ID3D11VideoProcessor>,

Methods from Deref<Target = ID3D11VideoContext>§

pub unsafe fn GetDecoderBuffer<P0>( &self, pdecoder: P0, type: D3D11_VIDEO_DECODER_BUFFER_TYPE, pbuffersize: *mut u32, ppbuffer: *mut *mut c_void, ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn ReleaseDecoderBuffer<P0>( &self, pdecoder: P0, type: D3D11_VIDEO_DECODER_BUFFER_TYPE, ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn DecoderBeginFrame<P0, P1>( &self, pdecoder: P0, pview: P1, contentkeysize: u32, pcontentkey: Option<*const c_void>, ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>, P1: Param<ID3D11VideoDecoderOutputView>,

pub unsafe fn DecoderEndFrame<P0>(&self, pdecoder: P0) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn SubmitDecoderBuffers<P0>( &self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC], ) -> Result<()>
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn DecoderExtension<P0>( &self, pdecoder: P0, pextensiondata: *const D3D11_VIDEO_DECODER_EXTENSION, ) -> i32
where P0: Param<ID3D11VideoDecoder>,

pub unsafe fn VideoProcessorSetOutputTargetRect<P0, P1>( &self, pvideoprocessor: P0, enable: P1, prect: Option<*const RECT>, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetOutputBackgroundColor<P0, P1>( &self, pvideoprocessor: P0, ycbcr: P1, pcolor: *const D3D11_VIDEO_COLOR, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetOutputColorSpace<P0>( &self, pvideoprocessor: P0, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetOutputAlphaFillMode<P0>( &self, pvideoprocessor: P0, alphafillmode: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, streamindex: u32, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetOutputConstriction<P0, P1>( &self, pvideoprocessor: P0, enable: P1, size: SIZE, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetOutputStereoMode<P0, P1>( &self, pvideoprocessor: P0, enable: P1, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetOutputExtension<P0>( &self, pvideoprocessor: P0, pextensionguid: *const GUID, datasize: u32, pdata: *const c_void, ) -> i32
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputTargetRect<P0>( &self, pvideoprocessor: P0, enabled: *mut BOOL, prect: *mut RECT, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputBackgroundColor<P0>( &self, pvideoprocessor: P0, pycbcr: *mut BOOL, pcolor: *mut D3D11_VIDEO_COLOR, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputColorSpace<P0>( &self, pvideoprocessor: P0, ) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputAlphaFillMode<P0>( &self, pvideoprocessor: P0, palphafillmode: *mut D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, pstreamindex: *mut u32, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputConstriction<P0>( &self, pvideoprocessor: P0, penabled: *mut BOOL, psize: *mut SIZE, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputStereoMode<P0>( &self, pvideoprocessor: P0, ) -> BOOL
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetOutputExtension<P0>( &self, pvideoprocessor: P0, pextensionguid: *const GUID, datasize: u32, pdata: *mut c_void, ) -> i32
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetStreamFrameFormat<P0>( &self, pvideoprocessor: P0, streamindex: u32, frameformat: D3D11_VIDEO_FRAME_FORMAT, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetStreamColorSpace<P0>( &self, pvideoprocessor: P0, streamindex: u32, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetStreamOutputRate<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, outputrate: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, repeatframe: P1, pcustomrate: Option<*const DXGI_RATIONAL>, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamSourceRect<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: Option<*const RECT>, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamDestRect<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: Option<*const RECT>, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamAlpha<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, alpha: f32, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamPalette<P0>( &self, pvideoprocessor: P0, streamindex: u32, pentries: Option<&[u32]>, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorSetStreamPixelAspectRatio<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, psourceaspectratio: Option<*const DXGI_RATIONAL>, pdestinationaspectratio: Option<*const DXGI_RATIONAL>, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamLumaKey<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, lower: f32, upper: f32, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamStereoFormat<P0, P1, P2, P3>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, format: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, leftviewframe0: P2, baseviewframe0: P3, flipmode: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: i32, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>, P2: Param<BOOL>, P3: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamAutoProcessingMode<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamFilter<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, enable: P1, level: i32, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorSetStreamExtension<P0>( &self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const GUID, datasize: u32, pdata: *const c_void, ) -> i32
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamFrameFormat<P0>( &self, pvideoprocessor: P0, streamindex: u32, ) -> D3D11_VIDEO_FRAME_FORMAT
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamColorSpace<P0>( &self, pvideoprocessor: P0, streamindex: u32, ) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamOutputRate<P0>( &self, pvideoprocessor: P0, streamindex: u32, poutputrate: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, prepeatframe: *mut BOOL, pcustomrate: *mut DXGI_RATIONAL, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamSourceRect<P0>( &self, pvideoprocessor: P0, streamindex: u32, penabled: *mut BOOL, prect: *mut RECT, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamDestRect<P0>( &self, pvideoprocessor: P0, streamindex: u32, penabled: *mut BOOL, prect: *mut RECT, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamAlpha<P0>( &self, pvideoprocessor: P0, streamindex: u32, penabled: *mut BOOL, palpha: *mut f32, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamPalette<P0>( &self, pvideoprocessor: P0, streamindex: u32, pentries: &mut [u32], )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamPixelAspectRatio<P0>( &self, pvideoprocessor: P0, streamindex: u32, penabled: *mut BOOL, psourceaspectratio: *mut DXGI_RATIONAL, pdestinationaspectratio: *mut DXGI_RATIONAL, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamLumaKey<P0>( &self, pvideoprocessor: P0, streamindex: u32, penabled: *mut BOOL, plower: *mut f32, pupper: *mut f32, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamStereoFormat<P0>( &self, pvideoprocessor: P0, streamindex: u32, penable: *mut BOOL, pformat: *mut D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, pleftviewframe0: *mut BOOL, pbaseviewframe0: *mut BOOL, pflipmode: *mut D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: *mut i32, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamAutoProcessingMode<P0>( &self, pvideoprocessor: P0, streamindex: u32, ) -> BOOL
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamFilter<P0>( &self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, penabled: *mut BOOL, plevel: *mut i32, )
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorGetStreamExtension<P0>( &self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const GUID, datasize: u32, pdata: *mut c_void, ) -> i32
where P0: Param<ID3D11VideoProcessor>,

pub unsafe fn VideoProcessorBlt<P0, P1>( &self, pvideoprocessor: P0, pview: P1, outputframe: u32, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM], ) -> Result<()>

pub unsafe fn NegotiateCryptoSessionKeyExchange<P0>( &self, pcryptosession: P0, datasize: u32, pdata: *mut c_void, ) -> Result<()>
where P0: Param<ID3D11CryptoSession>,

pub unsafe fn EncryptionBlt<P0, P1, P2>( &self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, ivsize: u32, piv: Option<*mut c_void>, )
where P0: Param<ID3D11CryptoSession>, P1: Param<ID3D11Texture2D>, P2: Param<ID3D11Texture2D>,

pub unsafe fn DecryptionBlt<P0, P1, P2>( &self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, pencryptedblockinfo: Option<*const D3D11_ENCRYPTED_BLOCK_INFO>, contentkeysize: u32, pcontentkey: Option<*const c_void>, ivsize: u32, piv: Option<*mut c_void>, )
where P0: Param<ID3D11CryptoSession>, P1: Param<ID3D11Texture2D>, P2: Param<ID3D11Texture2D>,

pub unsafe fn StartSessionKeyRefresh<P0>( &self, pcryptosession: P0, randomnumbersize: u32, prandomnumber: *mut c_void, )
where P0: Param<ID3D11CryptoSession>,

pub unsafe fn FinishSessionKeyRefresh<P0>(&self, pcryptosession: P0)
where P0: Param<ID3D11CryptoSession>,

pub unsafe fn GetEncryptionBltKey<P0>( &self, pcryptosession: P0, keysize: u32, preadbackkey: *mut c_void, ) -> Result<()>
where P0: Param<ID3D11CryptoSession>,

pub unsafe fn NegotiateAuthenticatedChannelKeyExchange<P0>( &self, pchannel: P0, datasize: u32, pdata: *mut c_void, ) -> Result<()>
where P0: Param<ID3D11AuthenticatedChannel>,

pub unsafe fn QueryAuthenticatedChannel<P0>( &self, pchannel: P0, inputsize: u32, pinput: *const c_void, outputsize: u32, poutput: *mut c_void, ) -> Result<()>
where P0: Param<ID3D11AuthenticatedChannel>,

pub unsafe fn ConfigureAuthenticatedChannel<P0>( &self, pchannel: P0, inputsize: u32, pinput: *const c_void, poutput: *mut D3D11_AUTHENTICATED_CONFIGURE_OUTPUT, ) -> Result<()>
where P0: Param<ID3D11AuthenticatedChannel>,

pub unsafe fn VideoProcessorSetStreamRotation<P0, P1>( &self, pvideoprocessor: P0, streamindex: u32, enable: P1, rotation: D3D11_VIDEO_PROCESSOR_ROTATION, )
where P0: Param<ID3D11VideoProcessor>, P1: Param<BOOL>,

pub unsafe fn VideoProcessorGetStreamRotation<P0>( &self, pvideoprocessor: P0, streamindex: u32, penable: *mut BOOL, protation: *mut D3D11_VIDEO_PROCESSOR_ROTATION, )
where P0: Param<ID3D11VideoProcessor>,

Methods from Deref<Target = ID3D11DeviceChild>§

pub unsafe fn GetDevice(&self) -> Result<ID3D11Device>

pub unsafe fn GetPrivateData( &self, guid: *const GUID, pdatasize: *mut u32, pdata: Option<*mut c_void>, ) -> Result<()>

pub unsafe fn SetPrivateData( &self, guid: *const GUID, datasize: u32, pdata: Option<*const c_void>, ) -> Result<()>

pub unsafe fn SetPrivateDataInterface<P0>( &self, guid: *const GUID, pdata: P0, ) -> Result<()>
where P0: Param<IUnknown>,

Trait Implementations§

§

impl CanInto<ID3D11DeviceChild> for ID3D11VideoContext3

§

const QUERY: bool = false

§

impl CanInto<ID3D11VideoContext> for ID3D11VideoContext3

§

const QUERY: bool = false

§

impl CanInto<ID3D11VideoContext1> for ID3D11VideoContext3

§

const QUERY: bool = false

§

impl CanInto<ID3D11VideoContext2> for ID3D11VideoContext3

§

const QUERY: bool = false

§

impl CanInto<IUnknown> for ID3D11VideoContext3

§

const QUERY: bool = false

§

impl Clone for ID3D11VideoContext3

§

fn clone(&self) -> ID3D11VideoContext3

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ID3D11VideoContext3

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Deref for ID3D11VideoContext3

§

type Target = ID3D11VideoContext2

The resulting type after dereferencing.
§

fn deref(&self) -> &Self::Target

Dereferences the value.
§

impl From<&ID3D11VideoContext3> for &ID3D11DeviceChild

§

fn from(value: &ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<&ID3D11VideoContext3> for &ID3D11VideoContext

§

fn from(value: &ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<&ID3D11VideoContext3> for &ID3D11VideoContext1

§

fn from(value: &ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<&ID3D11VideoContext3> for &ID3D11VideoContext2

§

fn from(value: &ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<&ID3D11VideoContext3> for &IUnknown

§

fn from(value: &ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<ID3D11VideoContext3> for ID3D11DeviceChild

§

fn from(value: ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<ID3D11VideoContext3> for ID3D11VideoContext

§

fn from(value: ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<ID3D11VideoContext3> for ID3D11VideoContext1

§

fn from(value: ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<ID3D11VideoContext3> for ID3D11VideoContext2

§

fn from(value: ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl From<ID3D11VideoContext3> for IUnknown

§

fn from(value: ID3D11VideoContext3) -> Self

Converts to this type from the input type.
§

impl Interface for ID3D11VideoContext3

§

const IID: GUID = _

The GUID associated with the interface.
§

fn as_raw(&self) -> *mut c_void

Returns the raw COM interface pointer. The resulting pointer continues to be owned by the Interface implementation.
§

fn into_raw(self) -> *mut c_void

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
§

fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

This casts the given COM interface to [&dyn Any]. Read more
§

fn is_object<T>(&self) -> bool
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

Returns true if the given COM interface refers to an implementation of T. Read more
§

fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

This casts the given COM interface to [&dyn Any]. It returns a reference to the “outer” object, e.g. &MyApp_Impl, not the inner &MyApp object. Read more
§

fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

This casts the given COM interface to [&dyn Any]. It returns a reference to the “outer” object, e.g. MyApp_Impl, not the inner MyApp object. Read more
§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a [Weak] reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

fn to_ref(&self) -> InterfaceRef<'_, Self>

Creates an InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically, and eliminates the need for dynamic reference count adjustments (AddRef/Release).
§

impl PartialEq for ID3D11VideoContext3

§

fn eq(&self, other: &ID3D11VideoContext3) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for ID3D11VideoContext3

§

impl Send for ID3D11VideoContext3

§

impl StructuralPartialEq for ID3D11VideoContext3

§

impl Sync for ID3D11VideoContext3

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.