Struct windows::Security::Isolation::IsolatedWindowsEnvironment
#[repr(transparent)]pub struct IsolatedWindowsEnvironment(_);
Expand description
Required features: "Security_Isolation"
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 StartProcessSilentlyAsync(
&self,
hostexepath: &HSTRING,
arguments: &HSTRING,
activator: IsolatedWindowsEnvironmentActivator
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult>>
Required features: "Foundation"
pub fn StartProcessSilentlyWithTelemetryAsync(
&self,
hostexepath: &HSTRING,
arguments: &HSTRING,
activator: IsolatedWindowsEnvironmentActivator,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult>>
pub fn StartProcessSilentlyWithTelemetryAsync(
&self,
hostexepath: &HSTRING,
arguments: &HSTRING,
activator: IsolatedWindowsEnvironmentActivator,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentStartProcessResult>>
Required features: "Foundation"
Required features: "Foundation"
Required features: "Foundation"
pub fn LaunchFileWithUIAsync(
&self,
appexepath: &HSTRING,
argumentstemplate: &HSTRING,
filepath: &HSTRING
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult>>
pub fn LaunchFileWithUIAsync(
&self,
appexepath: &HSTRING,
argumentstemplate: &HSTRING,
filepath: &HSTRING
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult>>
Required features: "Foundation"
pub fn LaunchFileWithUIAndTelemetryAsync(
&self,
appexepath: &HSTRING,
argumentstemplate: &HSTRING,
filepath: &HSTRING,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult>>
pub fn LaunchFileWithUIAndTelemetryAsync(
&self,
appexepath: &HSTRING,
argumentstemplate: &HSTRING,
filepath: &HSTRING,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult>>
Required features: "Foundation"
pub fn TerminateAsync(&self) -> Result<IAsyncAction>
pub fn TerminateAsync(&self) -> Result<IAsyncAction>
Required features: "Foundation"
pub fn TerminateWithTelemetryAsync(
&self,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncAction>
pub fn TerminateWithTelemetryAsync(
&self,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncAction>
Required features: "Foundation"
pub fn RegisterMessageReceiver(
&self,
receiverid: GUID,
messagereceivedcallback: &MessageReceivedCallback
) -> Result<()>
pub fn RegisterMessageReceiver(
&self,
receiverid: GUID,
messagereceivedcallback: &MessageReceivedCallback
) -> Result<()>
Required features: "Foundation_Collections"
pub fn UnregisterMessageReceiver(&self, receiverid: GUID) -> Result<()>
pub fn PostMessageToReceiverAsync<P0, E0>(
&self,
receiverid: GUID,
message: P0
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult>>where
P0: TryInto<InParam<IIterable<IInspectable>>, Error = E0>,
E0: Into<Error>,
pub fn PostMessageToReceiverAsync<P0, E0>(
&self,
receiverid: GUID,
message: P0
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult>>where
P0: TryInto<InParam<IIterable<IInspectable>>, Error = E0>,
E0: Into<Error>,
Required features: "Foundation_Collections"
pub fn PostMessageToReceiverWithTelemetryAsync<P0, E0>(
&self,
receiverid: GUID,
message: P0,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult>>where
P0: TryInto<InParam<IIterable<IInspectable>>, Error = E0>,
E0: Into<Error>,
pub fn PostMessageToReceiverWithTelemetryAsync<P0, E0>(
&self,
receiverid: GUID,
message: P0,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult>>where
P0: TryInto<InParam<IIterable<IInspectable>>, Error = E0>,
E0: Into<Error>,
Required features: "Foundation_Collections"
pub fn GetUserInfo(&self) -> Result<IsolatedWindowsEnvironmentUserInfo>
Required features: "Foundation"
Required features: "Foundation"
pub fn ChangePriority(
&self,
priority: IsolatedWindowsEnvironmentCreationPriority
) -> Result<()>
pub fn CreateAsync(
options: &IsolatedWindowsEnvironmentOptions
) -> Result<IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress>>
pub fn CreateAsync(
options: &IsolatedWindowsEnvironmentOptions
) -> Result<IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress>>
Required features: "Foundation"
pub fn CreateWithTelemetryAsync(
options: &IsolatedWindowsEnvironmentOptions,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress>>
pub fn CreateWithTelemetryAsync(
options: &IsolatedWindowsEnvironmentOptions,
telemetryparameters: &IsolatedWindowsEnvironmentTelemetryParameters
) -> Result<IAsyncOperationWithProgress<IsolatedWindowsEnvironmentCreateResult, IsolatedWindowsEnvironmentCreateProgress>>
Required features: "Foundation"
pub fn GetById(environmentid: &HSTRING) -> Result<IsolatedWindowsEnvironment>
pub fn FindByOwnerId(
environmentownerid: &HSTRING
) -> Result<IVectorView<IsolatedWindowsEnvironment>>
pub fn FindByOwnerId(
environmentownerid: &HSTRING
) -> Result<IVectorView<IsolatedWindowsEnvironment>>
Required features: "Foundation_Collections"
Trait Implementations§
§impl Clone for IsolatedWindowsEnvironment
impl Clone for IsolatedWindowsEnvironment
§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 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
§impl PartialEq<IsolatedWindowsEnvironment> for IsolatedWindowsEnvironment
impl PartialEq<IsolatedWindowsEnvironment> for IsolatedWindowsEnvironment
§impl Vtable for IsolatedWindowsEnvironment
impl Vtable for IsolatedWindowsEnvironment
type Vtable = IIsolatedWindowsEnvironment_Vtbl
§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.