[][src]Struct openvr_sys::VR_IVRApplications_FnTable

#[repr(C)]pub struct VR_IVRApplications_FnTable {
    pub AddApplicationManifest: Option<unsafe extern "C" fn(pchApplicationManifestFullPath: *mut c_char, bTemporary: bool) -> EVRApplicationError>,
    pub RemoveApplicationManifest: Option<unsafe extern "C" fn(pchApplicationManifestFullPath: *mut c_char) -> EVRApplicationError>,
    pub IsApplicationInstalled: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> bool>,
    pub GetApplicationCount: Option<unsafe extern "C" fn() -> u32>,
    pub GetApplicationKeyByIndex: Option<unsafe extern "C" fn(unApplicationIndex: u32, pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> EVRApplicationError>,
    pub GetApplicationKeyByProcessId: Option<unsafe extern "C" fn(unProcessId: u32, pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> EVRApplicationError>,
    pub LaunchApplication: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> EVRApplicationError>,
    pub LaunchTemplateApplication: Option<unsafe extern "C" fn(pchTemplateAppKey: *mut c_char, pchNewAppKey: *mut c_char, pKeys: *mut AppOverrideKeys_t, unKeys: u32) -> EVRApplicationError>,
    pub LaunchApplicationFromMimeType: Option<unsafe extern "C" fn(pchMimeType: *mut c_char, pchArgs: *mut c_char) -> EVRApplicationError>,
    pub LaunchDashboardOverlay: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> EVRApplicationError>,
    pub CancelApplicationLaunch: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> bool>,
    pub IdentifyApplication: Option<unsafe extern "C" fn(unProcessId: u32, pchAppKey: *mut c_char) -> EVRApplicationError>,
    pub GetApplicationProcessId: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> u32>,
    pub GetApplicationsErrorNameFromEnum: Option<unsafe extern "C" fn(error: EVRApplicationError) -> *mut c_char>,
    pub GetApplicationPropertyString: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, eProperty: EVRApplicationProperty, pchPropertyValueBuffer: *mut c_char, unPropertyValueBufferLen: u32, peError: *mut EVRApplicationError) -> u32>,
    pub GetApplicationPropertyBool: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, eProperty: EVRApplicationProperty, peError: *mut EVRApplicationError) -> bool>,
    pub GetApplicationPropertyUint64: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, eProperty: EVRApplicationProperty, peError: *mut EVRApplicationError) -> u64>,
    pub SetApplicationAutoLaunch: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, bAutoLaunch: bool) -> EVRApplicationError>,
    pub GetApplicationAutoLaunch: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> bool>,
    pub SetDefaultApplicationForMimeType: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, pchMimeType: *mut c_char) -> EVRApplicationError>,
    pub GetDefaultApplicationForMimeType: Option<unsafe extern "C" fn(pchMimeType: *mut c_char, pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> bool>,
    pub GetApplicationSupportedMimeTypes: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, pchMimeTypesBuffer: *mut c_char, unMimeTypesBuffer: u32) -> bool>,
    pub GetApplicationsThatSupportMimeType: Option<unsafe extern "C" fn(pchMimeType: *mut c_char, pchAppKeysThatSupportBuffer: *mut c_char, unAppKeysThatSupportBuffer: u32) -> u32>,
    pub GetApplicationLaunchArguments: Option<unsafe extern "C" fn(unHandle: u32, pchArgs: *mut c_char, unArgs: u32) -> u32>,
    pub GetStartingApplication: Option<unsafe extern "C" fn(pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> EVRApplicationError>,
    pub GetTransitionState: Option<unsafe extern "C" fn() -> EVRApplicationTransitionState>,
    pub PerformApplicationPrelaunchCheck: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> EVRApplicationError>,
    pub GetApplicationsTransitionStateNameFromEnum: Option<unsafe extern "C" fn(state: EVRApplicationTransitionState) -> *mut c_char>,
    pub IsQuitUserPromptRequested: Option<unsafe extern "C" fn() -> bool>,
    pub LaunchInternalProcess: Option<unsafe extern "C" fn(pchBinaryPath: *mut c_char, pchArguments: *mut c_char, pchWorkingDirectory: *mut c_char) -> EVRApplicationError>,
    pub GetCurrentSceneProcessId: Option<unsafe extern "C" fn() -> u32>,
}

Fields

AddApplicationManifest: Option<unsafe extern "C" fn(pchApplicationManifestFullPath: *mut c_char, bTemporary: bool) -> EVRApplicationError>RemoveApplicationManifest: Option<unsafe extern "C" fn(pchApplicationManifestFullPath: *mut c_char) -> EVRApplicationError>IsApplicationInstalled: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> bool>GetApplicationCount: Option<unsafe extern "C" fn() -> u32>GetApplicationKeyByIndex: Option<unsafe extern "C" fn(unApplicationIndex: u32, pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> EVRApplicationError>GetApplicationKeyByProcessId: Option<unsafe extern "C" fn(unProcessId: u32, pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> EVRApplicationError>LaunchApplication: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> EVRApplicationError>LaunchTemplateApplication: Option<unsafe extern "C" fn(pchTemplateAppKey: *mut c_char, pchNewAppKey: *mut c_char, pKeys: *mut AppOverrideKeys_t, unKeys: u32) -> EVRApplicationError>LaunchApplicationFromMimeType: Option<unsafe extern "C" fn(pchMimeType: *mut c_char, pchArgs: *mut c_char) -> EVRApplicationError>LaunchDashboardOverlay: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> EVRApplicationError>CancelApplicationLaunch: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> bool>IdentifyApplication: Option<unsafe extern "C" fn(unProcessId: u32, pchAppKey: *mut c_char) -> EVRApplicationError>GetApplicationProcessId: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> u32>GetApplicationsErrorNameFromEnum: Option<unsafe extern "C" fn(error: EVRApplicationError) -> *mut c_char>GetApplicationPropertyString: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, eProperty: EVRApplicationProperty, pchPropertyValueBuffer: *mut c_char, unPropertyValueBufferLen: u32, peError: *mut EVRApplicationError) -> u32>GetApplicationPropertyBool: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, eProperty: EVRApplicationProperty, peError: *mut EVRApplicationError) -> bool>GetApplicationPropertyUint64: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, eProperty: EVRApplicationProperty, peError: *mut EVRApplicationError) -> u64>SetApplicationAutoLaunch: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, bAutoLaunch: bool) -> EVRApplicationError>GetApplicationAutoLaunch: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> bool>SetDefaultApplicationForMimeType: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, pchMimeType: *mut c_char) -> EVRApplicationError>GetDefaultApplicationForMimeType: Option<unsafe extern "C" fn(pchMimeType: *mut c_char, pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> bool>GetApplicationSupportedMimeTypes: Option<unsafe extern "C" fn(pchAppKey: *mut c_char, pchMimeTypesBuffer: *mut c_char, unMimeTypesBuffer: u32) -> bool>GetApplicationsThatSupportMimeType: Option<unsafe extern "C" fn(pchMimeType: *mut c_char, pchAppKeysThatSupportBuffer: *mut c_char, unAppKeysThatSupportBuffer: u32) -> u32>GetApplicationLaunchArguments: Option<unsafe extern "C" fn(unHandle: u32, pchArgs: *mut c_char, unArgs: u32) -> u32>GetStartingApplication: Option<unsafe extern "C" fn(pchAppKeyBuffer: *mut c_char, unAppKeyBufferLen: u32) -> EVRApplicationError>GetTransitionState: Option<unsafe extern "C" fn() -> EVRApplicationTransitionState>PerformApplicationPrelaunchCheck: Option<unsafe extern "C" fn(pchAppKey: *mut c_char) -> EVRApplicationError>GetApplicationsTransitionStateNameFromEnum: Option<unsafe extern "C" fn(state: EVRApplicationTransitionState) -> *mut c_char>IsQuitUserPromptRequested: Option<unsafe extern "C" fn() -> bool>LaunchInternalProcess: Option<unsafe extern "C" fn(pchBinaryPath: *mut c_char, pchArguments: *mut c_char, pchWorkingDirectory: *mut c_char) -> EVRApplicationError>GetCurrentSceneProcessId: Option<unsafe extern "C" fn() -> u32>

Trait Implementations

impl Clone for VR_IVRApplications_FnTable[src]

impl Copy for VR_IVRApplications_FnTable[src]

impl Debug for VR_IVRApplications_FnTable[src]

Auto Trait Implementations

impl RefUnwindSafe for VR_IVRApplications_FnTable

impl Send for VR_IVRApplications_FnTable

impl Sync for VR_IVRApplications_FnTable

impl Unpin for VR_IVRApplications_FnTable

impl UnwindSafe for VR_IVRApplications_FnTable

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.