Struct IPMDeploymentManager
pub struct IPMDeploymentManager(/* private fields */);
Implementations§
§impl IPMDeploymentManager
impl IPMDeploymentManager
pub unsafe fn ReportDownloadBegin(&self, productid: GUID) -> Result<()>
pub unsafe fn ReportDownloadProgress( &self, productid: GUID, usprogress: u16, ) -> Result<()>
pub unsafe fn ReportDownloadComplete( &self, productid: GUID, hrresult: HRESULT, ) -> Result<()>
pub unsafe fn BeginInstall( &self, pinstallinfo: *const PM_INSTALLINFO, ) -> Result<()>
pub unsafe fn BeginUpdate( &self, pupdateinfo: *const PM_UPDATEINFO, ) -> Result<()>
pub unsafe fn BeginDeployPackage( &self, pinstallinfo: *const PM_INSTALLINFO, ) -> Result<()>
pub unsafe fn BeginUpdateDeployedPackageLegacy( &self, pupdateinfo: *const PM_UPDATEINFO_LEGACY, ) -> Result<()>
pub unsafe fn BeginUninstall(&self, productid: GUID) -> Result<()>
pub unsafe fn BeginEnterpriseAppInstall( &self, pinstallinfo: *const PM_INSTALLINFO, ) -> Result<()>
pub unsafe fn BeginEnterpriseAppUpdate( &self, pupdateinfo: *const PM_UPDATEINFO, ) -> Result<()>
pub unsafe fn BeginUpdateLicense( &self, productid: GUID, offerid: GUID, pblicense: &[u8], ) -> Result<()>
pub unsafe fn GetLicenseChallenge( &self, packagepath: &BSTR, ppbchallenge: *mut *mut u8, pcbchallenge: *mut u32, ppbkid: Option<*mut *mut u8>, pcbkid: Option<*mut u32>, ppbdeviceid: Option<*mut *mut u8>, pcbdeviceid: Option<*mut u32>, ppbsaltvalue: Option<*mut *mut u8>, pcbsaltvalue: Option<*mut u32>, ppbkgvvalue: Option<*mut *mut u8>, pcbkgvvalue: Option<*mut u32>, ) -> Result<()>
pub unsafe fn GetLicenseChallengeByProductID( &self, productid: GUID, ppbchallenge: *mut *mut u8, pcblicense: *mut u32, ) -> Result<()>
pub unsafe fn GetLicenseChallengeByProductID2( &self, productid: GUID, ppbchallenge: *mut *mut u8, pcblicense: *mut u32, ppbkid: Option<*mut *mut u8>, pcbkid: Option<*mut u32>, ppbdeviceid: Option<*mut *mut u8>, pcbdeviceid: Option<*mut u32>, ppbsaltvalue: Option<*mut *mut u8>, pcbsaltvalue: Option<*mut u32>, ppbkgvvalue: Option<*mut *mut u8>, pcbkgvvalue: Option<*mut u32>, ) -> Result<()>
pub unsafe fn RevokeLicense(&self, productid: GUID) -> Result<()>
pub unsafe fn RebindMdilBinaries( &self, productid: GUID, filenames: *const SAFEARRAY, ) -> Result<()>
pub unsafe fn RebindAllMdilBinaries( &self, productid: GUID, instanceid: GUID, ) -> Result<()>
pub unsafe fn RegenerateXbf( &self, productid: GUID, assemblypaths: *const SAFEARRAY, ) -> Result<()>
pub unsafe fn GenerateXbfForCurrentLocale(&self, productid: GUID) -> Result<()>
pub unsafe fn BeginProvision( &self, productid: GUID, xmlpath: &BSTR, ) -> Result<()>
pub unsafe fn BeginDeprovision(&self, productid: GUID) -> Result<()>
pub unsafe fn ReindexSQLCEDatabases(&self, productid: GUID) -> Result<()>
pub unsafe fn SetApplicationsNeedMaintenance( &self, requiredmaintenanceoperations: u32, ) -> Result<u32>
pub unsafe fn UpdateChamberProfile(&self, productid: GUID) -> Result<()>
pub unsafe fn EnterprisePolicyIsApplicationAllowed<P1>(
&self,
productid: GUID,
publishername: P1,
) -> Result<BOOL>where
P1: Param<PCWSTR>,
pub unsafe fn BeginUpdateDeployedPackage( &self, pupdateinfo: *const PM_UPDATEINFO, ) -> Result<()>
pub unsafe fn ReportRestoreCancelled(&self, productid: GUID) -> Result<()>
pub unsafe fn ResolveResourceString<P0>(
&self,
resourcestring: P0,
presolvedresourcestring: *mut BSTR,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn UpdateCapabilitiesForModernApps(&self) -> Result<()>
pub unsafe fn ReportDownloadStatusUpdate(&self, productid: GUID) -> Result<()>
pub unsafe fn BeginUninstallWithOptions( &self, productid: GUID, removaloptions: u32, ) -> Result<()>
pub unsafe fn BindDeferredMdilBinaries(&self) -> Result<()>
pub unsafe fn GenerateXamlLightupXbfForCurrentLocale( &self, packagefamilyname: &BSTR, ) -> Result<()>
pub unsafe fn AddLicenseForAppx( &self, productid: GUID, pblicense: &[u8], pbplayreadyheader: Option<&[u8]>, ) -> Result<()>
pub unsafe fn FixJunctionsForAppsOnSDCard(&self) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IPMDeploymentManager
impl CanInto<IUnknown> for IPMDeploymentManager
§impl Clone for IPMDeploymentManager
impl Clone for IPMDeploymentManager
§fn clone(&self) -> IPMDeploymentManager
fn clone(&self) -> IPMDeploymentManager
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 IPMDeploymentManager
impl Debug for IPMDeploymentManager
§impl From<&IPMDeploymentManager> for &IUnknown
impl From<&IPMDeploymentManager> for &IUnknown
§fn from(value: &IPMDeploymentManager) -> Self
fn from(value: &IPMDeploymentManager) -> Self
Converts to this type from the input type.
§impl From<IPMDeploymentManager> for IUnknown
impl From<IPMDeploymentManager> for IUnknown
§fn from(value: IPMDeploymentManager) -> Self
fn from(value: IPMDeploymentManager) -> Self
Converts to this type from the input type.
§impl Interface for IPMDeploymentManager
impl Interface for IPMDeploymentManager
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IPMDeploymentManager
impl PartialEq for IPMDeploymentManager
impl Eq for IPMDeploymentManager
impl StructuralPartialEq for IPMDeploymentManager
Auto Trait Implementations§
impl Freeze for IPMDeploymentManager
impl RefUnwindSafe for IPMDeploymentManager
impl !Send for IPMDeploymentManager
impl !Sync for IPMDeploymentManager
impl Unpin for IPMDeploymentManager
impl UnwindSafe for IPMDeploymentManager
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