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<P0>(
&self,
packagepath: P0,
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<()>where
P0: IntoParam<BSTR>,
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<P0>(
&self,
productid: GUID,
xmlpath: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
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<P0>(
&self,
productid: GUID,
publishername: P0
) -> Result<BOOL>where
P0: IntoParam<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: IntoParam<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<P0>(
&self,
packagefamilyname: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn AddLicenseForAppx( &self, productid: GUID, pblicense: &[u8], pbplayreadyheader: Option<&[u8]> ) -> Result<()>
pub unsafe fn FixJunctionsForAppsOnSDCard(&self) -> Result<()>
Trait Implementations§
§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.
§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§impl PartialEq for IPMDeploymentManager
impl PartialEq for IPMDeploymentManager
§fn eq(&self, other: &IPMDeploymentManager) -> bool
fn eq(&self, other: &IPMDeploymentManager) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IPMDeploymentManager
impl StructuralPartialEq for IPMDeploymentManager
Auto Trait Implementations§
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