[][src]Struct winapi::shared::dxgi1_2::IDXGIResource1

#[repr(C)]
pub struct IDXGIResource1 {
    pub lpVtbl: *const IDXGIResource1Vtbl,
}

Fields

lpVtbl: *const IDXGIResource1Vtbl

Methods

impl IDXGIResource1[src]

pub unsafe fn CreateSubresourceSurface(
    &self,
    index: UINT,
    ppSurface: *mut *mut IDXGISurface2
) -> HRESULT
[src]

pub unsafe fn CreateSharedHandle(
    &self,
    pAttributes: *const SECURITY_ATTRIBUTES,
    dwAccess: DWORD,
    lpName: LPCWSTR,
    pHandle: *mut HANDLE
) -> HRESULT
[src]

Methods from Deref<Target = IDXGIResource>

pub unsafe fn GetSharedHandle(&self, pSharedHandle: *mut HANDLE) -> HRESULT[src]

pub unsafe fn GetUsage(&self, pUsage: *mut DXGI_USAGE) -> HRESULT[src]

pub unsafe fn SetEvictionPriority(&self, EvictionPriority: UINT) -> HRESULT[src]

pub unsafe fn GetEvictionPriority(
    &self,
    pEvictionPriority: *mut UINT
) -> HRESULT
[src]

Trait Implementations

impl Interface for IDXGIResource1[src]

impl Deref for IDXGIResource1[src]

type Target = IDXGIResource

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]