Trait winsafe::prelude::dxgi_IDXGIOutput

source ·
pub trait dxgi_IDXGIOutput: dxgi_IDXGIObject {
    // Provided methods
    fn FindClosestMatchingMode(
        &self,
        mode_to_match: &DXGI_MODE_DESC,
        device_interface: Option<&impl ole_IUnknown>
    ) -> HrResult<DXGI_MODE_DESC> { ... }
    fn GetDesc(&self) -> HrResult<DXGI_OUTPUT_DESC> { ... }
    fn GetDisplayModeList(
        &self,
        format: DXGI_FORMAT,
        flags: DXGI_ENUM_MODES
    ) -> HrResult<Vec<DXGI_MODE_DESC>> { ... }
    fn GetDisplaySurfaceData(
        &self,
        destination: &impl dxgi_IDXGISurface
    ) -> HrResult<()> { ... }
    fn GetFrameStatistics(&self) -> HrResult<DXGI_FRAME_STATISTICS> { ... }
    fn GetGammaControl(&self) -> HrResult<DXGI_GAMMA_CONTROL> { ... }
    fn GetGammaControlCapabilities(
        &self
    ) -> HrResult<DXGI_GAMMA_CONTROL_CAPABILITIES> { ... }
    fn ReleaseOwnership(&self) { ... }
    fn SetDisplaySurface(
        &self,
        scanout_surface: &impl dxgi_IDXGISurface
    ) -> HrResult<()> { ... }
    fn SetGammaControl(&self, array: &DXGI_GAMMA_CONTROL) -> HrResult<()> { ... }
    fn TakeOwnership(
        &self,
        device: &impl ole_IUnknown,
        exclusive: bool
    ) -> HrResult<()> { ... }
    fn WaitForVBlank(&self) -> HrResult<()> { ... }
}
Available on crate features kernel and dxgi only.
Expand description

This trait is enabled with the dxgi feature, and provides methods for IDXGIOutput.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§