pub struct IPackageDebugSettings2(/* private fields */);
Implementations§
Source§impl IPackageDebugSettings2
impl IPackageDebugSettings2
pub unsafe fn EnableDebugging<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, debuggercommandline: impl IntoParam<'a, PWSTR>, environment: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn DisableDebugging<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn Suspend<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn Resume<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn TerminateAllProcesses<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetTargetSessionId(&self, sessionid: u32) -> Result<()>
pub unsafe fn EnumerateBackgroundTasks<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, taskcount: *mut u32, taskids: *mut *mut Guid, tasknames: *mut *mut PWSTR, ) -> Result<()>
pub unsafe fn ActivateBackgroundTask(&self, taskid: *const Guid) -> Result<()>
pub unsafe fn StartServicing<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn StopServicing<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn StartSessionRedirection<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, sessionid: u32, ) -> Result<()>
pub unsafe fn StopSessionRedirection<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetPackageExecutionState<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ) -> Result<PACKAGE_EXECUTION_STATE>
pub unsafe fn RegisterForPackageStateChanges<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, ppackageexecutionstatechangenotification: impl IntoParam<'a, IPackageExecutionStateChangeNotification>, ) -> Result<u32>
pub unsafe fn UnregisterForPackageStateChanges( &self, dwcookie: u32, ) -> Result<()>
pub unsafe fn EnumerateApps<'a>( &self, packagefullname: impl IntoParam<'a, PWSTR>, appcount: *mut u32, appusermodelids: *mut *mut PWSTR, appdisplaynames: *mut *mut PWSTR, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IPackageDebugSettings2
impl Clone for IPackageDebugSettings2
Source§fn clone(&self) -> IPackageDebugSettings2
fn clone(&self) -> IPackageDebugSettings2
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 moreSource§impl Debug for IPackageDebugSettings2
impl Debug for IPackageDebugSettings2
Source§impl From<&IPackageDebugSettings2> for IPackageDebugSettings
impl From<&IPackageDebugSettings2> for IPackageDebugSettings
Source§fn from(value: &IPackageDebugSettings2) -> Self
fn from(value: &IPackageDebugSettings2) -> Self
Converts to this type from the input type.
Source§impl From<&IPackageDebugSettings2> for IUnknown
impl From<&IPackageDebugSettings2> for IUnknown
Source§fn from(value: &IPackageDebugSettings2) -> Self
fn from(value: &IPackageDebugSettings2) -> Self
Converts to this type from the input type.
Source§impl From<IPackageDebugSettings2> for IPackageDebugSettings
impl From<IPackageDebugSettings2> for IPackageDebugSettings
Source§fn from(value: IPackageDebugSettings2) -> Self
fn from(value: IPackageDebugSettings2) -> Self
Converts to this type from the input type.
Source§impl From<IPackageDebugSettings2> for IUnknown
impl From<IPackageDebugSettings2> for IUnknown
Source§fn from(value: IPackageDebugSettings2) -> Self
fn from(value: IPackageDebugSettings2) -> Self
Converts to this type from the input type.
Source§impl Interface for IPackageDebugSettings2
impl Interface for IPackageDebugSettings2
const IID: Guid
type Vtable = IPackageDebugSettings2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IPackageDebugSettings2
impl PartialEq for IPackageDebugSettings2
impl Eq for IPackageDebugSettings2
impl StructuralPartialEq for IPackageDebugSettings2
Auto Trait Implementations§
impl Freeze for IPackageDebugSettings2
impl RefUnwindSafe for IPackageDebugSettings2
impl !Send for IPackageDebugSettings2
impl !Sync for IPackageDebugSettings2
impl Unpin for IPackageDebugSettings2
impl UnwindSafe for IPackageDebugSettings2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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