From 7fe31126d121e810dd93641ae6582e9ab1dac16e Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Mon, 4 Oct 2021 11:59:26 -0400 Subject: Added ability to specify a working directory on opening a terminal. Released memory on calls using the ANSI creation function. --- RadTerminal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'RadTerminal.h') diff --git a/RadTerminal.h b/RadTerminal.h index 382871b..a70c315 100644 --- a/RadTerminal.h +++ b/RadTerminal.h @@ -8,8 +8,8 @@ #ifndef BUILD_AS_DLL #ifdef RADTERM_DLL -__declspec(dllimport) HWND WINAPI CreateTerminalWindowExW(HINSTANCE hInstance, HWND hParent, LPWSTR fontFace, int fontSize, BOOL darkMode); -__declspec(dllimport) HWND WINAPI CreateTerminalWindowExA(HINSTANCE hInstance, HWND hParent, LPCSTR fontFace, int fontSize, BOOL darkMode); +__declspec(dllimport) HWND WINAPI CreateTerminalWindowExW(HINSTANCE hInstance, HWND hParent, LPWSTR command, LPWSTR working_directory, LPWSTR fontFace, int fontSize, BOOL darkMode); +__declspec(dllimport) HWND WINAPI CreateTerminalWindowExA(HINSTANCE hInstance, HWND hParent, LPCSTR command, LPCSTR working_directory, LPCSTR fontFace, int fontSize, BOOL darkMode); __declspec(dllimport) HWND WINAPI CreateTerminalWindow(HINSTANCE hInstance, HWND hParent, BOOL darkMode); #endif -- cgit v1.2.3