Process.h 1011 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "il2cpp-object-internals.h"
  3. namespace il2cpp
  4. {
  5. namespace icalls
  6. {
  7. namespace System
  8. {
  9. namespace System
  10. {
  11. namespace Diagnostics
  12. {
  13. struct ProcInfo;
  14. class LIBIL2CPP_CODEGEN_API Process
  15. {
  16. public:
  17. static bool CreateProcess_internal(Il2CppObject* startInfo, intptr_t _stdin, intptr_t _stdout, intptr_t _stderr, ProcInfo* procInfo);
  18. static bool ShellExecuteEx_internal(Il2CppObject* startInfo, ProcInfo* procInfo);
  19. static Il2CppArray* GetModules_icall(Il2CppObject* thisPtr, intptr_t handle);
  20. static Il2CppArray* GetProcesses_internal();
  21. static int64_t GetProcessData(int32_t pid, int32_t data_type, int32_t* error);
  22. static intptr_t GetProcess_internal(int32_t pid);
  23. static Il2CppString* ProcessName_icall(intptr_t handle);
  24. static intptr_t MainWindowHandle_icall(int32_t pid);
  25. };
  26. } /* namespace Diagnostics */
  27. } /* namespace System */
  28. } /* namespace System */
  29. } /* namespace icalls */
  30. } /* namespace il2cpp */