diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h index ad510a6..b69aa61 100644 --- a/include/ntapi/nt_process.h +++ b/include/ntapi/nt_process.h @@ -311,6 +311,28 @@ typedef struct _nt_process_device_map_information { } nt_process_device_map_information; +typedef struct _nt_process_startup_info { + uint32_t size; + wchar16_t * reserved; + wchar16_t * desktop; + wchar16_t * title; + uint32_t dwx; + uint32_t dwy; + uint32_t dwxsize; + uint32_t dwysize; + uint32_t dwxcntchars; + uint32_t dwycntchars; + uint32_t dwfileattr; + uint32_t dwflags; + uint16_t wndshow; + uint16_t pad; + uint8_t * unknown; + void * hstdin; + void * hstdout; + void * hstderr; +} nt_process_startup_info; + + typedef struct _nt_debug_buffer { void * hsection; void * section_base; @@ -633,6 +655,7 @@ typedef struct _nt_spawn_process_params { __in void * hready; __in nt_timeout * timeout; __in int fsuspended; + __in nt_process_startup_info * startupinfo; } nt_spawn_process_params;