Struct windows::Security::Isolation::IsolatedWindowsEnvironment
pub struct IsolatedWindowsEnvironment(/* private fields */);
Implementations§
§impl IsolatedWindowsEnvironment
impl IsolatedWindowsEnvironment
pub fn Id(&self) -> Result<HSTRING>
pub fn StartProcessSilentlyAsync( &self, hostexepath: &HSTRING, arguments: &HSTRING, activator: IsolatedWindowsEnvironmentActivator ) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult>>
pub fn StartProcessSilentlyWithTelemetryAsync<P0>(
&self,
hostexepath: &HSTRING,
arguments: &HSTRING,
activator: IsolatedWindowsEnvironmentActivator,
telemetryparameters: P0
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult>>where
P0: IntoParam<IsolatedWindowsEnvironmentTelemetryParameters>,
pub fn LaunchFileWithUIAsync( &self, appexepath: &HSTRING, argumentstemplate: &HSTRING, filepath: &HSTRING ) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult>>
pub fn LaunchFileWithUIAndTelemetryAsync<P0>(
&self,
appexepath: &HSTRING,
argumentstemplate: &HSTRING,
filepath: &HSTRING,
telemetryparameters: P0
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult>>where
P0: IntoParam<IsolatedWindowsEnvironmentTelemetryParameters>,
pub fn TerminateAsync(&self) -> Result<IAsyncAction>
pub fn TerminateWithTelemetryAsync<P0>(
&self,
telemetryparameters: P0
) -> Result<IAsyncAction>where
P0: IntoParam<IsolatedWindowsEnvironmentTelemetryParameters>,
pub fn RegisterMessageReceiver<P0>(
&self,
receiverid: GUID,
messagereceivedcallback: P0
) -> Result<()>where
P0: IntoParam<MessageReceivedCallback>,
pub fn UnregisterMessageReceiver(&self, receiverid: GUID) -> Result<()>
pub fn PostMessageToReceiverAsync<P0>(
&self,
receiverid: GUID,
message: P0
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult>>where
P0: IntoParam<IIterable<IInspectable>>,
pub fn PostMessageToReceiverWithTelemetryAsync<P0, P1>(
&self,
receiverid: GUID,
message: P0,
telemetryparameters: P1
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult>>where
P0: IntoParam<IIterable<IInspectable>>,
P1: IntoParam<IsolatedWindowsEnvironmentTelemetryParameters>,
pub fn GetUserInfo(&self) -> Result<IsolatedWindowsEnvironmentUserInfo>
pub fn ChangePriority( &self, priority: IsolatedWindowsEnvironmentCreationPriority ) -> Result<()>
pub fn CreateAsync<P0>(
options: P0
) -> Result<IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress>>where
P0: IntoParam<IsolatedWindowsEnvironmentOptions>,
pub fn CreateWithTelemetryAsync<P0, P1>(
options: P0,
telemetryparameters: P1
) -> Result<IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress>>where
P0: IntoParam<IsolatedWindowsEnvironmentOptions>,
P1: IntoParam<IsolatedWindowsEnvironmentTelemetryParameters>,
pub fn GetById(environmentid: &HSTRING) -> Result<IsolatedWindowsEnvironment>
pub fn FindByOwnerId( environmentownerid: &HSTRING ) -> Result<IVectorView<IsolatedWindowsEnvironment>>
Trait Implementations§
§impl Clone for IsolatedWindowsEnvironment
impl Clone for IsolatedWindowsEnvironment
§fn clone(&self) -> IsolatedWindowsEnvironment
fn clone(&self) -> IsolatedWindowsEnvironment
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 IsolatedWindowsEnvironment
impl Debug for IsolatedWindowsEnvironment
§impl From<&IsolatedWindowsEnvironment> for &IInspectable
impl From<&IsolatedWindowsEnvironment> for &IInspectable
§fn from(value: &IsolatedWindowsEnvironment) -> Self
fn from(value: &IsolatedWindowsEnvironment) -> Self
Converts to this type from the input type.
§impl From<&IsolatedWindowsEnvironment> for &IUnknown
impl From<&IsolatedWindowsEnvironment> for &IUnknown
§fn from(value: &IsolatedWindowsEnvironment) -> Self
fn from(value: &IsolatedWindowsEnvironment) -> Self
Converts to this type from the input type.
§impl From<IsolatedWindowsEnvironment> for IInspectable
impl From<IsolatedWindowsEnvironment> for IInspectable
§fn from(value: IsolatedWindowsEnvironment) -> Self
fn from(value: IsolatedWindowsEnvironment) -> Self
Converts to this type from the input type.
§impl From<IsolatedWindowsEnvironment> for IUnknown
impl From<IsolatedWindowsEnvironment> for IUnknown
§fn from(value: IsolatedWindowsEnvironment) -> Self
fn from(value: IsolatedWindowsEnvironment) -> Self
Converts to this type from the input type.
§impl Interface for IsolatedWindowsEnvironment
impl Interface for IsolatedWindowsEnvironment
§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 IsolatedWindowsEnvironment
impl PartialEq for IsolatedWindowsEnvironment
§fn eq(&self, other: &IsolatedWindowsEnvironment) -> bool
fn eq(&self, other: &IsolatedWindowsEnvironment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IsolatedWindowsEnvironment
impl Send for IsolatedWindowsEnvironment
impl StructuralPartialEq for IsolatedWindowsEnvironment
impl Sync for IsolatedWindowsEnvironment
Auto Trait Implementations§
impl RefUnwindSafe for IsolatedWindowsEnvironment
impl Unpin for IsolatedWindowsEnvironment
impl UnwindSafe for IsolatedWindowsEnvironment
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