#[repr(C)]pub struct DDHAL_DDVIDEOPORTCALLBACKS {Show 18 fields
pub dwSize: u32,
pub dwFlags: u32,
pub CanCreateVideoPort: LPDDHALVPORTCB_CANCREATEVIDEOPORT,
pub CreateVideoPort: LPDDHALVPORTCB_CREATEVIDEOPORT,
pub FlipVideoPort: LPDDHALVPORTCB_FLIP,
pub GetVideoPortBandwidth: LPDDHALVPORTCB_GETBANDWIDTH,
pub GetVideoPortInputFormats: LPDDHALVPORTCB_GETINPUTFORMATS,
pub GetVideoPortOutputFormats: LPDDHALVPORTCB_GETOUTPUTFORMATS,
pub lpReserved1: *mut c_void,
pub GetVideoPortField: LPDDHALVPORTCB_GETFIELD,
pub GetVideoPortLine: LPDDHALVPORTCB_GETLINE,
pub GetVideoPortConnectInfo: LPDDHALVPORTCB_GETVPORTCONNECT,
pub DestroyVideoPort: LPDDHALVPORTCB_DESTROYVPORT,
pub GetVideoPortFlipStatus: LPDDHALVPORTCB_GETFLIPSTATUS,
pub UpdateVideoPort: LPDDHALVPORTCB_UPDATE,
pub WaitForVideoPortSync: LPDDHALVPORTCB_WAITFORSYNC,
pub GetVideoSignalStatus: LPDDHALVPORTCB_GETSIGNALSTATUS,
pub ColorControl: LPDDHALVPORTCB_COLORCONTROL,
}
Expand description
Required features: ‘Win32_Graphics_DirectDraw’, ‘Win32_Foundation’, ‘Win32_Graphics_Gdi’
Fields
dwSize: u32
dwFlags: u32
CanCreateVideoPort: LPDDHALVPORTCB_CANCREATEVIDEOPORT
CreateVideoPort: LPDDHALVPORTCB_CREATEVIDEOPORT
FlipVideoPort: LPDDHALVPORTCB_FLIP
GetVideoPortBandwidth: LPDDHALVPORTCB_GETBANDWIDTH
GetVideoPortInputFormats: LPDDHALVPORTCB_GETINPUTFORMATS
GetVideoPortOutputFormats: LPDDHALVPORTCB_GETOUTPUTFORMATS
lpReserved1: *mut c_void
GetVideoPortField: LPDDHALVPORTCB_GETFIELD
GetVideoPortLine: LPDDHALVPORTCB_GETLINE
GetVideoPortConnectInfo: LPDDHALVPORTCB_GETVPORTCONNECT
DestroyVideoPort: LPDDHALVPORTCB_DESTROYVPORT
GetVideoPortFlipStatus: LPDDHALVPORTCB_GETFLIPSTATUS
UpdateVideoPort: LPDDHALVPORTCB_UPDATE
WaitForVideoPortSync: LPDDHALVPORTCB_WAITFORSYNC
GetVideoSignalStatus: LPDDHALVPORTCB_GETSIGNALSTATUS
ColorControl: LPDDHALVPORTCB_COLORCONTROL
Trait Implementations
impl Clone for DDHAL_DDVIDEOPORTCALLBACKS
impl Clone for DDHAL_DDVIDEOPORTCALLBACKS
impl Copy for DDHAL_DDVIDEOPORTCALLBACKS
Auto Trait Implementations
impl RefUnwindSafe for DDHAL_DDVIDEOPORTCALLBACKS
impl !Send for DDHAL_DDVIDEOPORTCALLBACKS
impl !Sync for DDHAL_DDVIDEOPORTCALLBACKS
impl Unpin for DDHAL_DDVIDEOPORTCALLBACKS
impl UnwindSafe for DDHAL_DDVIDEOPORTCALLBACKS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more