pub struct IPackageDebugSettings(/* private fields */);
Implementations§
Source§impl IPackageDebugSettings
impl IPackageDebugSettings
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<()>
Trait Implementations§
Source§impl Clone for IPackageDebugSettings
impl Clone for IPackageDebugSettings
Source§fn clone(&self) -> IPackageDebugSettings
fn clone(&self) -> IPackageDebugSettings
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 IPackageDebugSettings
impl Debug for IPackageDebugSettings
Source§impl From<&IPackageDebugSettings> for IUnknown
impl From<&IPackageDebugSettings> for IUnknown
Source§fn from(value: &IPackageDebugSettings) -> Self
fn from(value: &IPackageDebugSettings) -> 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<IPackageDebugSettings> for IUnknown
impl From<IPackageDebugSettings> for IUnknown
Source§fn from(value: IPackageDebugSettings) -> Self
fn from(value: IPackageDebugSettings) -> 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 Interface for IPackageDebugSettings
impl Interface for IPackageDebugSettings
const IID: Guid
type Vtable = IPackageDebugSettings_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 IPackageDebugSettings
impl PartialEq for IPackageDebugSettings
impl Eq for IPackageDebugSettings
impl StructuralPartialEq for IPackageDebugSettings
Auto Trait Implementations§
impl Freeze for IPackageDebugSettings
impl RefUnwindSafe for IPackageDebugSettings
impl !Send for IPackageDebugSettings
impl !Sync for IPackageDebugSettings
impl Unpin for IPackageDebugSettings
impl UnwindSafe for IPackageDebugSettings
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