pub trait IWMPContentPartnerCallback_Impl: Sized {
Show 13 methods
// Required methods
fn Notify(
&self,
type: WMPCallbackNotification,
pcontext: *const VARIANT,
) -> Result<()>;
fn BuyComplete(&self, hrresult: HRESULT, dwbuycookie: u32) -> Result<()>;
fn DownloadTrack(
&self,
cookie: u32,
bstrtrackurl: &BSTR,
dwservicetrackid: u32,
bstrdownloadparams: &BSTR,
hrdownload: HRESULT,
) -> Result<()>;
fn GetCatalogVersion(
&self,
pdwversion: *mut u32,
pdwschemaversion: *mut u32,
plcid: *mut u32,
) -> Result<()>;
fn UpdateDeviceComplete(&self, bstrdevicename: &BSTR) -> Result<()>;
fn ChangeView(
&self,
bstrtype: &BSTR,
bstrid: &BSTR,
bstrfilter: &BSTR,
) -> Result<()>;
fn AddListContents(
&self,
dwlistcookie: u32,
citems: u32,
prgitems: *const u32,
) -> Result<()>;
fn ListContentsComplete(
&self,
dwlistcookie: u32,
hrsuccess: HRESULT,
) -> Result<()>;
fn SendMessageComplete(
&self,
bstrmsg: &BSTR,
bstrparam: &BSTR,
bstrresult: &BSTR,
) -> Result<()>;
fn GetContentIDsInLibrary(
&self,
pccontentids: *mut u32,
pprgids: *mut *mut u32,
) -> Result<()>;
fn RefreshLicenseComplete(
&self,
dwcookie: u32,
contentid: u32,
hrrefresh: HRESULT,
) -> Result<()>;
fn ShowPopup(&self, lindex: i32, bstrparameters: &BSTR) -> Result<()>;
fn VerifyPermissionComplete(
&self,
bstrpermission: &BSTR,
pcontext: *const VARIANT,
hrpermission: HRESULT,
) -> Result<()>;
}
Required Methods§
fn Notify( &self, type: WMPCallbackNotification, pcontext: *const VARIANT, ) -> Result<()>
fn BuyComplete(&self, hrresult: HRESULT, dwbuycookie: u32) -> Result<()>
fn DownloadTrack( &self, cookie: u32, bstrtrackurl: &BSTR, dwservicetrackid: u32, bstrdownloadparams: &BSTR, hrdownload: HRESULT, ) -> Result<()>
fn GetCatalogVersion( &self, pdwversion: *mut u32, pdwschemaversion: *mut u32, plcid: *mut u32, ) -> Result<()>
fn UpdateDeviceComplete(&self, bstrdevicename: &BSTR) -> Result<()>
fn ChangeView( &self, bstrtype: &BSTR, bstrid: &BSTR, bstrfilter: &BSTR, ) -> Result<()>
fn AddListContents( &self, dwlistcookie: u32, citems: u32, prgitems: *const u32, ) -> Result<()>
fn ListContentsComplete( &self, dwlistcookie: u32, hrsuccess: HRESULT, ) -> Result<()>
fn SendMessageComplete( &self, bstrmsg: &BSTR, bstrparam: &BSTR, bstrresult: &BSTR, ) -> Result<()>
fn GetContentIDsInLibrary( &self, pccontentids: *mut u32, pprgids: *mut *mut u32, ) -> Result<()>
fn RefreshLicenseComplete( &self, dwcookie: u32, contentid: u32, hrrefresh: HRESULT, ) -> Result<()>
fn ShowPopup(&self, lindex: i32, bstrparameters: &BSTR) -> Result<()>
fn VerifyPermissionComplete( &self, bstrpermission: &BSTR, pcontext: *const VARIANT, hrpermission: HRESULT, ) -> Result<()>
Object Safety§
This trait is not object safe.