Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
752 B

  1. /*++
  2. Copyright(c) 1995 Microsoft Corporation
  3. MODULE NAME
  4. process.h
  5. ABSTRACT
  6. Header file for NT process routines.
  7. AUTHOR
  8. Anthony Discolo (adiscolo) 12-Aug-1995
  9. REVISION HISTORY
  10. --*/
  11. PSYSTEM_PROCESS_INFORMATION
  12. GetSystemProcessInfo();
  13. PSYSTEM_PROCESS_INFORMATION
  14. FindProcessByName(
  15. IN PSYSTEM_PROCESS_INFORMATION pProcessInfo,
  16. IN LPTSTR lpExeName
  17. );
  18. PSYSTEM_PROCESS_INFORMATION
  19. FindProcessByNameList(
  20. IN PSYSTEM_PROCESS_INFORMATION pProcessInfo,
  21. IN LPTSTR *lpExeNameArray,
  22. IN DWORD dwcExeNameArray,
  23. IN DWORD dwPid,
  24. IN BOOL fRequireSessionMatch,
  25. IN DWORD dwSessionId
  26. );
  27. VOID
  28. FreeSystemProcessInfo(
  29. IN PSYSTEM_PROCESS_INFORMATION pProcessInfo
  30. );