ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • createprocess
    Language & DB 2019. 10. 10. 03:05
    반응형

    https://stackoverflow.com/questions/14308836/process-arguments-in-createprocess


    CreateProcess("test.exe", "test", IntPtr.Zero, IntPtr.Zero, false, 0, IntPtr.Zero, null, ref si, out pi);
    각 인자별 역할 서술하기
    private static extern bool CreateProcess(
    string lpApplicationName,

    string lpCommandLine,

    IntPtr lpProcessAttributes,
    IntPtr lpThreadAttributes,
    bool bInheritHandles,
    uint dwCreationFlags,
    IntPtr lpEnvironment,
    string lpCurrentDirectory,
    ref STARTUPINFO lpStartupInfo,
    out PROCESS_INFORMATION lpProcessInformation);


    반응형
Designed by Tistory.