OUTPUT_PLUGIN_TABLE

Struct OUTPUT_PLUGIN_TABLE 

Source
#[repr(C)]
pub struct OUTPUT_PLUGIN_TABLE { pub flag: i32, pub name: LPCWSTR, pub filefilter: LPCWSTR, pub information: LPCWSTR, pub func_output: Option<extern "C" fn(oip: *mut OUTPUT_INFO) -> bool>, pub func_config: Option<extern "C" fn(hwnd: HWND, dll_hinst: HINSTANCE) -> bool>, pub func_get_config_text: Option<extern "C" fn() -> LPCWSTR>, }
Expand description

出力プラグイン構造体

Fields§

§flag: i32

フラグ ※未使用

§name: LPCWSTR

プラグインの名前

§filefilter: LPCWSTR

ファイルのフィルタ

§information: LPCWSTR

プラグインの情報

§func_output: Option<extern "C" fn(oip: *mut OUTPUT_INFO) -> bool>

出力時に呼ばれる関数へのポインタ

§func_config: Option<extern "C" fn(hwnd: HWND, dll_hinst: HINSTANCE) -> bool>

出力設定のダイアログを要求された時に呼ばれる関数へのポインタ (nullなら呼ばれません)

§func_get_config_text: Option<extern "C" fn() -> LPCWSTR>

出力設定のテキスト情報を取得する時に呼ばれる関数へのポインタ (nullなら呼ばれません)

§Returns

出力設定のテキスト情報(次に関数が呼ばれるまで内容を有効にしておく)

Implementations§

Source§

impl OUTPUT_PLUGIN_TABLE

Source

pub const FLAG_VIDEO: i32 = 1i32

画像をサポートする

Source

pub const FLAG_AUDIO: i32 = 2i32

音声をサポートする

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>,

Source§

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>,

Source§

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.