aboutsummaryrefslogtreecommitdiff
path: root/RadTerminal.h
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2021-10-04 11:59:26 -0400
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2021-10-04 11:59:26 -0400
commit7fe31126d121e810dd93641ae6582e9ab1dac16e (patch)
treeb41b7b7de464d23d803d7a89b2250c3327545524 /RadTerminal.h
parent7f2c8e1885f8e0cc74a3de206c8cf564b7b54124 (diff)
downloadRadTerminal-7fe31126d121e810dd93641ae6582e9ab1dac16e.tar.gz
RadTerminal-7fe31126d121e810dd93641ae6582e9ab1dac16e.zip
Added ability to specify a working directory on opening a terminal. Released memory on calls using the ANSI creation function.
Diffstat (limited to 'RadTerminal.h')
-rw-r--r--RadTerminal.h4
1 files changed, 2 insertions, 2 deletions
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