#[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>§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
impl OUTPUT_PLUGIN_TABLE
Sourcepub const FLAG_VIDEO: i32 = 1
pub const FLAG_VIDEO: i32 = 1
画像をサポートする
Sourcepub const FLAG_AUDIO: i32 = 2
pub const FLAG_AUDIO: i32 = 2
音声をサポートする
Sourcepub const FLAG_IMAGE: i32 = 4
pub const FLAG_IMAGE: i32 = 4
静止画出力のみサポートする (OUTPUT_INFOが1フレーム出力になります) ※静止画出力では出力完了時の通知やサウンド再生をしません
Sourcepub const FLAG_PROJECT_CONFIG: i32 = 8
pub const FLAG_PROJECT_CONFIG: i32 = 8
プロジェクトファイルの設定保持をサポートする ※プロジェクトファイル側に出力設定を保持する場合に指定します
Auto Trait Implementations§
impl !Send for OUTPUT_PLUGIN_TABLE
impl !Sync for OUTPUT_PLUGIN_TABLE
impl Freeze for OUTPUT_PLUGIN_TABLE
impl RefUnwindSafe for OUTPUT_PLUGIN_TABLE
impl Unpin for OUTPUT_PLUGIN_TABLE
impl UnsafeUnpin for OUTPUT_PLUGIN_TABLE
impl UnwindSafe for OUTPUT_PLUGIN_TABLE
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more