|
@@ -8,12 +8,12 @@ foreign kernel32 {
|
|
@(link_name="CreateProcessA") create_process_a :: proc(application_name, command_line: cstring,
|
|
@(link_name="CreateProcessA") create_process_a :: proc(application_name, command_line: cstring,
|
|
process_attributes, thread_attributes: ^Security_Attributes,
|
|
process_attributes, thread_attributes: ^Security_Attributes,
|
|
inherit_handle: Bool, creation_flags: u32, environment: rawptr,
|
|
inherit_handle: Bool, creation_flags: u32, environment: rawptr,
|
|
- current_direcotry: cstring, startup_info: ^Startup_Info,
|
|
|
|
|
|
+ current_directory: cstring, startup_info: ^Startup_Info,
|
|
process_information: ^Process_Information) -> Bool ---;
|
|
process_information: ^Process_Information) -> Bool ---;
|
|
@(link_name="CreateProcessW") create_process_w :: proc(application_name, command_line: Wstring,
|
|
@(link_name="CreateProcessW") create_process_w :: proc(application_name, command_line: Wstring,
|
|
process_attributes, thread_attributes: ^Security_Attributes,
|
|
process_attributes, thread_attributes: ^Security_Attributes,
|
|
inherit_handle: Bool, creation_flags: u32, environment: rawptr,
|
|
inherit_handle: Bool, creation_flags: u32, environment: rawptr,
|
|
- current_direcotry: Wstring, startup_info: ^Startup_Info,
|
|
|
|
|
|
+ current_directory: Wstring, startup_info: ^Startup_Info,
|
|
process_information: ^Process_Information) -> Bool ---;
|
|
process_information: ^Process_Information) -> Bool ---;
|
|
@(link_name="GetExitCodeProcess") get_exit_code_process :: proc(process: Handle, exit: ^u32) -> Bool ---;
|
|
@(link_name="GetExitCodeProcess") get_exit_code_process :: proc(process: Handle, exit: ^u32) -> Bool ---;
|
|
@(link_name="ExitProcess") exit_process :: proc(exit_code: u32) ---;
|
|
@(link_name="ExitProcess") exit_process :: proc(exit_code: u32) ---;
|