Struct windows::Media::Capture::IAppBroadcastState_Vtbl

#[repr(C)]
pub struct IAppBroadcastState_Vtbl {
Show 36 fields pub base__: IInspectable_Vtbl, pub IsCaptureTargetRunning: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub ViewerCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub ShouldCaptureMicrophone: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetShouldCaptureMicrophone: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub RestartMicrophoneCapture: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub ShouldCaptureCamera: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetShouldCaptureCamera: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub RestartCameraCapture: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub EncodedVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut Size) -> HRESULT, pub MicrophoneCaptureState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastMicrophoneCaptureState) -> HRESULT, pub MicrophoneCaptureError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub CameraCaptureState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastCameraCaptureState) -> HRESULT, pub CameraCaptureError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub StreamState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastStreamState) -> HRESULT, pub PlugInState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastPlugInState) -> HRESULT, pub OAuthRequestUri: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub OAuthCallbackUri: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub AuthenticationResult: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetAuthenticationResult: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetSignInState: unsafe extern "system" fn(_: *mut c_void, _: AppBroadcastSignInState) -> HRESULT, pub SignInState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastSignInState) -> HRESULT, pub TerminationReason: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastTerminationReason) -> HRESULT, pub TerminationReasonPlugInSpecific: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub ViewerCountChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveViewerCountChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub MicrophoneCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveMicrophoneCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub CameraCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveCameraCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PlugInStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePlugInStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub StreamStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveStreamStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub CaptureTargetClosed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveCaptureTargetClosed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§IsCaptureTargetRunning: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§ViewerCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§ShouldCaptureMicrophone: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetShouldCaptureMicrophone: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§RestartMicrophoneCapture: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§ShouldCaptureCamera: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetShouldCaptureCamera: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§RestartCameraCapture: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§EncodedVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut Size) -> HRESULT§MicrophoneCaptureState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastMicrophoneCaptureState) -> HRESULT§MicrophoneCaptureError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§CameraCaptureState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastCameraCaptureState) -> HRESULT§CameraCaptureError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§StreamState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastStreamState) -> HRESULT§PlugInState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastPlugInState) -> HRESULT§OAuthRequestUri: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§OAuthCallbackUri: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§AuthenticationResult: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetAuthenticationResult: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetSignInState: unsafe extern "system" fn(_: *mut c_void, _: AppBroadcastSignInState) -> HRESULT§SignInState: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastSignInState) -> HRESULT§TerminationReason: unsafe extern "system" fn(_: *mut c_void, _: *mut AppBroadcastTerminationReason) -> HRESULT§TerminationReasonPlugInSpecific: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§ViewerCountChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveViewerCountChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§MicrophoneCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveMicrophoneCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§CameraCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveCameraCaptureStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PlugInStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePlugInStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§StreamStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveStreamStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§CaptureTargetClosed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveCaptureTargetClosed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT

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.