Trait windows::Win32::Media::DirectShow::IBDA_WMDRMSession_Impl

pub trait IBDA_WMDRMSession_Impl: Sized {
    // Required methods
    fn GetStatus(
        &self,
        maxcapturetoken: *mut u32,
        maxstreamingpid: *mut u32,
        maxlicense: *mut u32,
        minsecuritylevel: *mut u32,
        revinfosequencenumber: *mut u32,
        revinfoissuedtime: *mut u64,
        revinfottl: *mut u32,
        revlistversion: *mut u32,
        ulstate: *mut u32,
    ) -> Result<()>;
    fn SetRevInfo(&self, ulrevinfolen: u32, pbrevinfo: *const u8) -> Result<()>;
    fn SetCrl(&self, ulcrllen: u32, pbcrllen: *const u8) -> Result<()>;
    fn TransactMessage(
        &self,
        ulcbrequest: u32,
        pbrequest: *const u8,
        pulcbresponse: *mut u32,
        pbresponse: *mut u8,
    ) -> Result<()>;
    fn GetLicense(
        &self,
        uuidkey: *const GUID,
        pulpackagelen: *mut u32,
        pbpackage: *mut u8,
    ) -> Result<()>;
    fn ReissueLicense(&self, uuidkey: *const GUID) -> Result<()>;
    fn RenewLicense(
        &self,
        ulinxmrlicenselen: u32,
        pbinxmrlicense: *const u8,
        ulentitlementtokenlen: u32,
        pbentitlementtoken: *const u8,
        puldescramblestatus: *mut u32,
        puloutxmrlicenselen: *mut u32,
        pboutxmrlicense: *mut u8,
    ) -> Result<()>;
    fn GetKeyInfo(
        &self,
        pulkeyinfolen: *mut u32,
        pbkeyinfo: *mut u8,
    ) -> Result<()>;
}

Required Methods§

fn GetStatus( &self, maxcapturetoken: *mut u32, maxstreamingpid: *mut u32, maxlicense: *mut u32, minsecuritylevel: *mut u32, revinfosequencenumber: *mut u32, revinfoissuedtime: *mut u64, revinfottl: *mut u32, revlistversion: *mut u32, ulstate: *mut u32, ) -> Result<()>

fn SetRevInfo(&self, ulrevinfolen: u32, pbrevinfo: *const u8) -> Result<()>

fn SetCrl(&self, ulcrllen: u32, pbcrllen: *const u8) -> Result<()>

fn TransactMessage( &self, ulcbrequest: u32, pbrequest: *const u8, pulcbresponse: *mut u32, pbresponse: *mut u8, ) -> Result<()>

fn GetLicense( &self, uuidkey: *const GUID, pulpackagelen: *mut u32, pbpackage: *mut u8, ) -> Result<()>

fn ReissueLicense(&self, uuidkey: *const GUID) -> Result<()>

fn RenewLicense( &self, ulinxmrlicenselen: u32, pbinxmrlicense: *const u8, ulentitlementtokenlen: u32, pbentitlementtoken: *const u8, puldescramblestatus: *mut u32, puloutxmrlicenselen: *mut u32, pboutxmrlicense: *mut u8, ) -> Result<()>

fn GetKeyInfo(&self, pulkeyinfolen: *mut u32, pbkeyinfo: *mut u8) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§