Trait IPackageDebugSettings_Impl
pub trait IPackageDebugSettings_Impl: IUnknownImpl {
Show 15 methods
// Required methods
fn EnableDebugging(
&self,
packagefullname: &PCWSTR,
debuggercommandline: &PCWSTR,
environment: &PCWSTR,
) -> Result<()>;
fn DisableDebugging(&self, packagefullname: &PCWSTR) -> Result<()>;
fn Suspend(&self, packagefullname: &PCWSTR) -> Result<()>;
fn Resume(&self, packagefullname: &PCWSTR) -> Result<()>;
fn TerminateAllProcesses(&self, packagefullname: &PCWSTR) -> Result<()>;
fn SetTargetSessionId(&self, sessionid: u32) -> Result<()>;
fn EnumerateBackgroundTasks(
&self,
packagefullname: &PCWSTR,
taskcount: *mut u32,
taskids: *mut *mut GUID,
tasknames: *mut *mut PCWSTR,
) -> Result<()>;
fn ActivateBackgroundTask(&self, taskid: *const GUID) -> Result<()>;
fn StartServicing(&self, packagefullname: &PCWSTR) -> Result<()>;
fn StopServicing(&self, packagefullname: &PCWSTR) -> Result<()>;
fn StartSessionRedirection(
&self,
packagefullname: &PCWSTR,
sessionid: u32,
) -> Result<()>;
fn StopSessionRedirection(&self, packagefullname: &PCWSTR) -> Result<()>;
fn GetPackageExecutionState(
&self,
packagefullname: &PCWSTR,
) -> Result<PACKAGE_EXECUTION_STATE>;
fn RegisterForPackageStateChanges(
&self,
packagefullname: &PCWSTR,
ppackageexecutionstatechangenotification: Ref<'_, IPackageExecutionStateChangeNotification>,
) -> Result<u32>;
fn UnregisterForPackageStateChanges(&self, dwcookie: u32) -> Result<()>;
}
Required Methods§
fn EnableDebugging( &self, packagefullname: &PCWSTR, debuggercommandline: &PCWSTR, environment: &PCWSTR, ) -> Result<()>
fn DisableDebugging(&self, packagefullname: &PCWSTR) -> Result<()>
fn Suspend(&self, packagefullname: &PCWSTR) -> Result<()>
fn Resume(&self, packagefullname: &PCWSTR) -> Result<()>
fn TerminateAllProcesses(&self, packagefullname: &PCWSTR) -> Result<()>
fn SetTargetSessionId(&self, sessionid: u32) -> Result<()>
fn EnumerateBackgroundTasks( &self, packagefullname: &PCWSTR, taskcount: *mut u32, taskids: *mut *mut GUID, tasknames: *mut *mut PCWSTR, ) -> Result<()>
fn ActivateBackgroundTask(&self, taskid: *const GUID) -> Result<()>
fn StartServicing(&self, packagefullname: &PCWSTR) -> Result<()>
fn StopServicing(&self, packagefullname: &PCWSTR) -> Result<()>
fn StartSessionRedirection( &self, packagefullname: &PCWSTR, sessionid: u32, ) -> Result<()>
fn StopSessionRedirection(&self, packagefullname: &PCWSTR) -> Result<()>
fn GetPackageExecutionState( &self, packagefullname: &PCWSTR, ) -> Result<PACKAGE_EXECUTION_STATE>
fn RegisterForPackageStateChanges( &self, packagefullname: &PCWSTR, ppackageexecutionstatechangenotification: Ref<'_, IPackageExecutionStateChangeNotification>, ) -> Result<u32>
fn UnregisterForPackageStateChanges(&self, dwcookie: u32) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.