Trait windows::Win32::Media::DirectShow::IResourceManager_Impl

pub trait IResourceManager_Impl: Sized {
    // Required methods
    fn Register(&self, pname: &PCWSTR, cresource: i32) -> Result<i32>;
    fn RegisterGroup(
        &self,
        pname: &PCWSTR,
        cresource: i32,
        paltokens: *const i32,
    ) -> Result<i32>;
    fn RequestResource(
        &self,
        idresource: i32,
        pfocusobject: Option<&IUnknown>,
        pconsumer: Option<&IResourceConsumer>,
    ) -> Result<()>;
    fn NotifyAcquire(
        &self,
        idresource: i32,
        pconsumer: Option<&IResourceConsumer>,
        hr: HRESULT,
    ) -> Result<()>;
    fn NotifyRelease(
        &self,
        idresource: i32,
        pconsumer: Option<&IResourceConsumer>,
        bstillwant: BOOL,
    ) -> Result<()>;
    fn CancelRequest(
        &self,
        idresource: i32,
        pconsumer: Option<&IResourceConsumer>,
    ) -> Result<()>;
    fn SetFocus(&self, pfocusobject: Option<&IUnknown>) -> Result<()>;
    fn ReleaseFocus(&self, pfocusobject: Option<&IUnknown>) -> Result<()>;
}

Required Methods§

fn Register(&self, pname: &PCWSTR, cresource: i32) -> Result<i32>

fn RegisterGroup( &self, pname: &PCWSTR, cresource: i32, paltokens: *const i32, ) -> Result<i32>

fn RequestResource( &self, idresource: i32, pfocusobject: Option<&IUnknown>, pconsumer: Option<&IResourceConsumer>, ) -> Result<()>

fn NotifyAcquire( &self, idresource: i32, pconsumer: Option<&IResourceConsumer>, hr: HRESULT, ) -> Result<()>

fn NotifyRelease( &self, idresource: i32, pconsumer: Option<&IResourceConsumer>, bstillwant: BOOL, ) -> Result<()>

fn CancelRequest( &self, idresource: i32, pconsumer: Option<&IResourceConsumer>, ) -> Result<()>

fn SetFocus(&self, pfocusobject: Option<&IUnknown>) -> Result<()>

fn ReleaseFocus(&self, pfocusobject: Option<&IUnknown>) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§