pub unsafe fn query_interface(this: &Self, riid: REFIID, out: *mut RawComPtr) -> raw::HRESULT
    {
        match T::query_interface(&this.vtable_list, riid) {
            Ok(ptr) => {
                *out = ptr;
                Self::add_ref(this);
                raw::S_OK
            }
            Err(e) => {
                *out = std::ptr::null_mut();
                e
            }
        }
    }
/// Acquires a specific interface pointer.
///
/// Increments the reference count to include the reference through the
/// returned interface pointer.
///
/// The acquired interface must be released explicitly when not needed
/// anymore.
///
/// # Safety
///
/// The `out` pointer must be valid for writing the interface pointer to.
Acquires a specific interface pointer.
Increments the reference count to include the reference through the
returned interface pointer.

The acquired interface must be released explicitly when not needed
anymore.
Acquires a specific interface pointer . Increments the reference count to include the reference through the returned interface pointer . The acquired interface must be released explicitly when not needed anymore .
pub unsafe fn query_interface(this: &Self, riid: REFIID, out: *mut RawComPtr) -> raw::HRESULT
    {
        match T::query_interface(&this.vtable_list, riid) {
            Ok(ptr) => {
                *out = ptr;
                Self::add_ref(this);
                raw::S_OK
            }
            Err(e) => {
                *out = std::ptr::null_mut();
                e
            }
        }
    }
pub unsafe fn query_interface ( this : & Self , riid : REFIID , out : * mut RawComPtr ) -> raw :: HRESULT { match T :: query_interface ( & this . vtable_list , riid ) { Ok ( ptr ) => { * out = ptr ; Self :: add_ref ( this ) ; raw :: S_OK } Err ( e ) => { * out = std :: ptr :: null_mut ( ) ; e } } }
Acquires a specific interface pointer.
Acquires a specific interface pointer .
this
&Self
riid
REFIID
out
*mut RawComPtr
this
&Self
riid
REFIID
out
*mut RawComPtr
safety
The `out` pointer must be valid for writing the interface pointer to.
The ` out ` pointer must be valid for writing the interface pointer to .