基本的には、秀丸マクロの文や関数 ⇒ hidemaruGlobal内の関数 と同じような変換法則となります。
namespace hidemaruCompat {
function loaddll(dllpath: string): number
function freedll(dll_id: number): number
function dllfunc(dll_id: number, func_name: string, ...optional_params: (number|string)[]): number
function dllfuncstr(dll_id: number, func_name: string, ...optional_params: (number|string)[]): string
function dllfuncw(dll_id: number, func_name: string, ...optional_params: (number|string)[]): number
function dllfuncstrw(dll_id: number, func_name: string, ...optional_params: (number|string)[]): string
function setdlldetachfunc(dll_id: number, func_name: string): number
function dllfuncexist(dll_id: number, func_name: string): number
function keepdll(dll_id: number, keep_mode: number): number
function getloaddllfile(dll_id: number): string
}