excel_api_sys/
functions.rs1use core::ffi::c_int;
2
3use crate::{LPXLOPER12, XLOPER12};
4
5pub type Excel12Fn =
7 unsafe extern "C" fn(xlfn: c_int, operRes: LPXLOPER12, count: c_int, ...) -> c_int;
8
9pub type Excel12vFn = unsafe extern "system" fn(
11 xlfn: c_int,
12 operRes: LPXLOPER12,
13 count: c_int,
14 opers: *mut LPXLOPER12,
15) -> c_int;
16
17pub type Excel12EntryPtFn = unsafe extern "system" fn(
20 xlfn: c_int,
21 coper: c_int,
22 rgpxloper12: *mut LPXLOPER12,
23 xloper12Res: LPXLOPER12,
24) -> c_int;
25
26pub type SetExcel12EntryPtFn = unsafe extern "system" fn(callback: Excel12EntryPtFn);
28
29pub type XLCallVerFn = unsafe extern "system" fn() -> c_int;
31
32pub type PXL_HPC_ASYNC_CALLBACK =
34 unsafe extern "system" fn(operAsyncHandle: LPXLOPER12, operReturn: LPXLOPER12) -> c_int;
35
36pub type XlAutoOpenFn = unsafe extern "system" fn() -> c_int;
38pub type XlAutoCloseFn = unsafe extern "system" fn() -> c_int;
40pub type XlAutoAddFn = unsafe extern "system" fn() -> c_int;
42pub type XlAutoRemoveFn = unsafe extern "system" fn() -> c_int;
44pub type XlAddInManagerInfo12Fn = unsafe extern "system" fn(action: LPXLOPER12) -> LPXLOPER12;
46pub type XlAutoRegister12Fn = unsafe extern "system" fn(name: LPXLOPER12) -> LPXLOPER12;
48pub type XlAutoFree12Fn = unsafe extern "system" fn(value: LPXLOPER12);
50
51const _: Option<LPXLOPER12> = None::<*mut XLOPER12>;