1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00
This commit is contained in:
Bryan Roe
2019-04-23 16:32:53 -07:00
parent 43858fe9ec
commit 4fb189fa87
2 changed files with 7 additions and 0 deletions

View File

@@ -108,6 +108,12 @@ int main(int argc, char **argv)
int retCode = 0;
int capabilities = 0;
STARTUPINFOEX si;
printf("sizeof(STARTUPINFOEX) = %u\n", sizeof(STARTUPINFOEX));
printf("si.StartupInfo.cb = %u\n", (char*)&si.StartupInfo.cb - (char*)&si);
printf("si.lpAttributeList = %u\n", (char*)&si.lpAttributeList - (char*)&si);
#if defined (_POSIX)
#ifndef _NOILIBSTACKDEBUG
char* crashMemory = ILib_POSIX_InstallCrashHandler(argv[0]);

View File

@@ -28,6 +28,7 @@ function windows_terminal()
this._kernel32 = GM.CreateNativeProxy('Kernel32.dll');
this._kernel32.CreateMethod('CreatePipe');
this._kernel32.CreateMethod('CreatePseudoConsole');
this._kernel32.CreateMethod('InitializeProcThreadAttributeList');
this._kernel32.CreateMethod('ReadFile');
this._kernel32.CreateMethod('WriteFile');