Skip to main content

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>, pub func_load_project_config: Option<extern "C" fn(project: *mut PROJECT_FILE) -> bool>, pub func_save_project_config: Option<extern "C" fn(project: *mut PROJECT_FILE) -> bool>, }
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

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

§func_load_project_config: Option<extern "C" fn(project: *mut PROJECT_FILE) -> bool>

プロジェクトファイル側から出力設定の読み込み要求時に呼ばれる関数へのポインタ (FLAG_PROJECT_CONFIGが有効の時のみ呼ばれます)

§func_save_project_config: Option<extern "C" fn(project: *mut PROJECT_FILE) -> bool>

プロジェクトファイル側への出力設定の書き込み要求時に呼ばれる関数へのポインタ (FLAG_PROJECT_CONFIGが有効の時のみ呼ばれます)

Implementations§

Source§

impl OUTPUT_PLUGIN_TABLE

Source

pub const FLAG_VIDEO: i32 = 1

画像をサポートする

Source

pub const FLAG_AUDIO: i32 = 2

音声をサポートする

Source

pub const FLAG_IMAGE: i32 = 4

静止画出力のみサポートする (OUTPUT_INFOが1フレーム出力になります) ※静止画出力では出力完了時の通知やサウンド再生をしません

Source

pub const FLAG_PROJECT_CONFIG: i32 = 8

プロジェクトファイルの設定保持をサポートする ※プロジェクトファイル側に出力設定を保持する場合に指定します

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 = !

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

fn try_from(value: U) -> Result<T, !>

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.