Struct windows::System::Launcher

pub struct Launcher;

Implementations§

§

impl Launcher

pub fn LaunchFileAsync<P0>(file: P0) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<IStorageFile>,

pub fn LaunchFileWithOptionsAsync<P0, P1>( file: P0, options: P1 ) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<IStorageFile>, P1: IntoParam<LauncherOptions>,

pub fn LaunchUriAsync<P0>(uri: P0) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<Uri>,

pub fn LaunchUriWithOptionsAsync<P0, P1>( uri: P0, options: P1 ) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<Uri>, P1: IntoParam<LauncherOptions>,

pub fn LaunchUriForResultsAsync<P0, P1>( uri: P0, options: P1 ) -> Result<IAsyncOperation<LaunchUriResult>>
where P0: IntoParam<Uri>, P1: IntoParam<LauncherOptions>,

pub fn LaunchUriForResultsWithDataAsync<P0, P1, P2>( uri: P0, options: P1, inputdata: P2 ) -> Result<IAsyncOperation<LaunchUriResult>>
where P0: IntoParam<Uri>, P1: IntoParam<LauncherOptions>, P2: IntoParam<ValueSet>,

pub fn LaunchUriWithDataAsync<P0, P1, P2>( uri: P0, options: P1, inputdata: P2 ) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<Uri>, P1: IntoParam<LauncherOptions>, P2: IntoParam<ValueSet>,

pub fn QueryUriSupportAsync<P0>( uri: P0, launchquerysupporttype: LaunchQuerySupportType ) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>
where P0: IntoParam<Uri>,

pub fn QueryUriSupportWithPackageFamilyNameAsync<P0>( uri: P0, launchquerysupporttype: LaunchQuerySupportType, packagefamilyname: &HSTRING ) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>
where P0: IntoParam<Uri>,

pub fn QueryFileSupportAsync<P0>( file: P0 ) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>
where P0: IntoParam<StorageFile>,

pub fn QueryFileSupportWithPackageFamilyNameAsync<P0>( file: P0, packagefamilyname: &HSTRING ) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>
where P0: IntoParam<StorageFile>,

pub fn FindUriSchemeHandlersAsync( scheme: &HSTRING ) -> Result<IAsyncOperation<IVectorView<AppInfo>>>

pub fn FindUriSchemeHandlersWithLaunchUriTypeAsync( scheme: &HSTRING, launchquerysupporttype: LaunchQuerySupportType ) -> Result<IAsyncOperation<IVectorView<AppInfo>>>

pub fn FindFileHandlersAsync( extension: &HSTRING ) -> Result<IAsyncOperation<IVectorView<AppInfo>>>

pub fn LaunchFolderAsync<P0>(folder: P0) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<IStorageFolder>,

pub fn LaunchFolderWithOptionsAsync<P0, P1>( folder: P0, options: P1 ) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<IStorageFolder>, P1: IntoParam<FolderLauncherOptions>,

pub fn QueryAppUriSupportAsync<P0>( uri: P0 ) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>
where P0: IntoParam<Uri>,

pub fn QueryAppUriSupportWithPackageFamilyNameAsync<P0>( uri: P0, packagefamilyname: &HSTRING ) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>
where P0: IntoParam<Uri>,

pub fn FindAppUriHandlersAsync<P0>( uri: P0 ) -> Result<IAsyncOperation<IVectorView<AppInfo>>>
where P0: IntoParam<Uri>,

pub fn LaunchUriForUserAsync<P0, P1>( user: P0, uri: P1 ) -> Result<IAsyncOperation<LaunchUriStatus>>
where P0: IntoParam<User>, P1: IntoParam<Uri>,

pub fn LaunchUriWithOptionsForUserAsync<P0, P1, P2>( user: P0, uri: P1, options: P2 ) -> Result<IAsyncOperation<LaunchUriStatus>>
where P0: IntoParam<User>, P1: IntoParam<Uri>, P2: IntoParam<LauncherOptions>,

pub fn LaunchUriWithDataForUserAsync<P0, P1, P2, P3>( user: P0, uri: P1, options: P2, inputdata: P3 ) -> Result<IAsyncOperation<LaunchUriStatus>>
where P0: IntoParam<User>, P1: IntoParam<Uri>, P2: IntoParam<LauncherOptions>, P3: IntoParam<ValueSet>,

pub fn LaunchUriForResultsForUserAsync<P0, P1, P2>( user: P0, uri: P1, options: P2 ) -> Result<IAsyncOperation<LaunchUriResult>>
where P0: IntoParam<User>, P1: IntoParam<Uri>, P2: IntoParam<LauncherOptions>,

pub fn LaunchUriForResultsWithDataForUserAsync<P0, P1, P2, P3>( user: P0, uri: P1, options: P2, inputdata: P3 ) -> Result<IAsyncOperation<LaunchUriResult>>
where P0: IntoParam<User>, P1: IntoParam<Uri>, P2: IntoParam<LauncherOptions>, P3: IntoParam<ValueSet>,

pub fn LaunchFolderPathAsync(path: &HSTRING) -> Result<IAsyncOperation<bool>>

pub fn LaunchFolderPathWithOptionsAsync<P0>( path: &HSTRING, options: P0 ) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<FolderLauncherOptions>,

pub fn LaunchFolderPathForUserAsync<P0>( user: P0, path: &HSTRING ) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<User>,

pub fn LaunchFolderPathWithOptionsForUserAsync<P0, P1>( user: P0, path: &HSTRING, options: P1 ) -> Result<IAsyncOperation<bool>>
where P0: IntoParam<User>, P1: IntoParam<FolderLauncherOptions>,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.