Struct windows::Win32::Graphics::Dxgi::IDXGIInfoQueue
pub struct IDXGIInfoQueue(/* private fields */);
Implementations§
§impl IDXGIInfoQueue
impl IDXGIInfoQueue
pub unsafe fn SetMessageCountLimit( &self, producer: GUID, messagecountlimit: u64, ) -> Result<()>
pub unsafe fn ClearStoredMessages(&self, producer: GUID)
pub unsafe fn GetMessage( &self, producer: GUID, messageindex: u64, pmessage: Option<*mut DXGI_INFO_QUEUE_MESSAGE>, pmessagebytelength: *mut usize, ) -> Result<()>
pub unsafe fn GetNumStoredMessagesAllowedByRetrievalFilters( &self, producer: GUID, ) -> u64
pub unsafe fn GetNumStoredMessages(&self, producer: GUID) -> u64
pub unsafe fn GetNumMessagesDiscardedByMessageCountLimit( &self, producer: GUID, ) -> u64
pub unsafe fn GetMessageCountLimit(&self, producer: GUID) -> u64
pub unsafe fn GetNumMessagesAllowedByStorageFilter(&self, producer: GUID) -> u64
pub unsafe fn GetNumMessagesDeniedByStorageFilter(&self, producer: GUID) -> u64
pub unsafe fn AddStorageFilterEntries( &self, producer: GUID, pfilter: *const DXGI_INFO_QUEUE_FILTER, ) -> Result<()>
pub unsafe fn GetStorageFilter( &self, producer: GUID, pfilter: Option<*mut DXGI_INFO_QUEUE_FILTER>, pfilterbytelength: *mut usize, ) -> Result<()>
pub unsafe fn ClearStorageFilter(&self, producer: GUID)
pub unsafe fn PushEmptyStorageFilter(&self, producer: GUID) -> Result<()>
pub unsafe fn PushDenyAllStorageFilter(&self, producer: GUID) -> Result<()>
pub unsafe fn PushCopyOfStorageFilter(&self, producer: GUID) -> Result<()>
pub unsafe fn PushStorageFilter( &self, producer: GUID, pfilter: *const DXGI_INFO_QUEUE_FILTER, ) -> Result<()>
pub unsafe fn PopStorageFilter(&self, producer: GUID)
pub unsafe fn GetStorageFilterStackSize(&self, producer: GUID) -> u32
pub unsafe fn AddRetrievalFilterEntries( &self, producer: GUID, pfilter: *const DXGI_INFO_QUEUE_FILTER, ) -> Result<()>
pub unsafe fn GetRetrievalFilter( &self, producer: GUID, pfilter: Option<*mut DXGI_INFO_QUEUE_FILTER>, pfilterbytelength: *mut usize, ) -> Result<()>
pub unsafe fn ClearRetrievalFilter(&self, producer: GUID)
pub unsafe fn PushEmptyRetrievalFilter(&self, producer: GUID) -> Result<()>
pub unsafe fn PushDenyAllRetrievalFilter(&self, producer: GUID) -> Result<()>
pub unsafe fn PushCopyOfRetrievalFilter(&self, producer: GUID) -> Result<()>
pub unsafe fn PushRetrievalFilter( &self, producer: GUID, pfilter: *const DXGI_INFO_QUEUE_FILTER, ) -> Result<()>
pub unsafe fn PopRetrievalFilter(&self, producer: GUID)
pub unsafe fn GetRetrievalFilterStackSize(&self, producer: GUID) -> u32
pub unsafe fn AddMessage<P0>(
&self,
producer: GUID,
category: DXGI_INFO_QUEUE_MESSAGE_CATEGORY,
severity: DXGI_INFO_QUEUE_MESSAGE_SEVERITY,
id: i32,
pdescription: P0,
) -> Result<()>where
P0: Param<PCSTR>,
pub unsafe fn AddApplicationMessage<P0>(
&self,
severity: DXGI_INFO_QUEUE_MESSAGE_SEVERITY,
pdescription: P0,
) -> Result<()>where
P0: Param<PCSTR>,
pub unsafe fn SetBreakOnCategory<P0>(
&self,
producer: GUID,
category: DXGI_INFO_QUEUE_MESSAGE_CATEGORY,
benable: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn SetBreakOnSeverity<P0>(
&self,
producer: GUID,
severity: DXGI_INFO_QUEUE_MESSAGE_SEVERITY,
benable: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn SetBreakOnID<P0>(
&self,
producer: GUID,
id: i32,
benable: P0,
) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn GetBreakOnCategory( &self, producer: GUID, category: DXGI_INFO_QUEUE_MESSAGE_CATEGORY, ) -> BOOL
pub unsafe fn GetBreakOnSeverity( &self, producer: GUID, severity: DXGI_INFO_QUEUE_MESSAGE_SEVERITY, ) -> BOOL
pub unsafe fn GetBreakOnID(&self, producer: GUID, id: i32) -> BOOL
pub unsafe fn SetMuteDebugOutput<P0>(&self, producer: GUID, bmute: P0)where
P0: Param<BOOL>,
pub unsafe fn GetMuteDebugOutput(&self, producer: GUID) -> BOOL
Trait Implementations§
§impl CanInto<IUnknown> for IDXGIInfoQueue
impl CanInto<IUnknown> for IDXGIInfoQueue
§impl Clone for IDXGIInfoQueue
impl Clone for IDXGIInfoQueue
§fn clone(&self) -> IDXGIInfoQueue
fn clone(&self) -> IDXGIInfoQueue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDXGIInfoQueue
impl Debug for IDXGIInfoQueue
§impl Deref for IDXGIInfoQueue
impl Deref for IDXGIInfoQueue
§impl From<&IDXGIInfoQueue> for &IUnknown
impl From<&IDXGIInfoQueue> for &IUnknown
§fn from(value: &IDXGIInfoQueue) -> Self
fn from(value: &IDXGIInfoQueue) -> Self
Converts to this type from the input type.
§impl From<IDXGIInfoQueue> for IUnknown
impl From<IDXGIInfoQueue> for IUnknown
§fn from(value: IDXGIInfoQueue) -> Self
fn from(value: IDXGIInfoQueue) -> Self
Converts to this type from the input type.
§impl Interface for IDXGIInfoQueue
impl Interface for IDXGIInfoQueue
§fn as_raw(&self) -> *mut c_void
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
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.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
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>,
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) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
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>,
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>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDXGIInfoQueue
impl PartialEq for IDXGIInfoQueue
§fn eq(&self, other: &IDXGIInfoQueue) -> bool
fn eq(&self, other: &IDXGIInfoQueue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDXGIInfoQueue
impl Send for IDXGIInfoQueue
impl StructuralPartialEq for IDXGIInfoQueue
impl Sync for IDXGIInfoQueue
Auto Trait Implementations§
impl Freeze for IDXGIInfoQueue
impl RefUnwindSafe for IDXGIInfoQueue
impl Unpin for IDXGIInfoQueue
impl UnwindSafe for IDXGIInfoQueue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)