pub struct IPMDeploymentManager(/* private fields */);

Implementations§

§

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

§

fn clone(&self) -> IPMDeploymentManager

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for IPMDeploymentManager

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl From<&IPMDeploymentManager> for &IUnknown

§

fn from(value: &IPMDeploymentManager) -> Self

Converts to this type from the input type.
§

impl From<IPMDeploymentManager> for IUnknown

§

fn from(value: IPMDeploymentManager) -> Self

Converts to this type from the input type.
§

impl Interface for IPMDeploymentManager

§

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

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

impl PartialEq for IPMDeploymentManager

§

fn eq(&self, other: &IPMDeploymentManager) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for IPMDeploymentManager

§

impl StructuralPartialEq for IPMDeploymentManager

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.