bunnytaur

Untitled

Apr 9th, 2010
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. The most important parameter here is SectionHandle. If this parameter is
  2. NULL, the kernel will fork the current process. Otherwise, this parameter
  3. must
  4. be a handle of the SEC_IMAGE section object created on the EXE file before
  5. calling ZwCreateProcess().
  6.  
  7. NTSYSAPI
  8. NTSTATUS
  9. NTAPI
  10. ZwCreateProcess(
  11. OUT PHANDLE ProcessHandle,
  12. IN ACCESS_MASK DesiredAccess,
  13. IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
  14. IN HANDLE ParentProcess,
  15. IN BOOLEAN InheritObjectTable,
  16. IN HANDLE SectionHandle OPTIONAL,
  17. IN HANDLE DebugPort OPTIONAL,
  18. IN HANDLE ExceptionPort OPTIONAL
  19. );
Add Comment
Please, Sign In to add comment