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.

46 lines
972 B

  1. /******************************************************************************\
  2. * This is a part of the Microsoft Source Code Samples.
  3. * Copyright (C) 1994-1998 Microsoft Corporation.
  4. * All rights reserved.
  5. * This source code is only intended as a supplement to
  6. * Microsoft Development Tools and/or WinHelp documentation.
  7. * See these sources for detailed information regarding the
  8. * Microsoft samples programs.
  9. \******************************************************************************/
  10. #if defined(__cplusplus)
  11. extern "C" {
  12. #endif
  13. //
  14. // Function prototypes
  15. //
  16. HRESULT
  17. KillTask(
  18. LPTSTR pName,
  19. LPSTR pszMandatoryModule
  20. );
  21. BOOL
  22. EnableDebugPrivNT(
  23. VOID
  24. );
  25. HRESULT
  26. KillProcess(
  27. DWORD dwPid
  28. );
  29. VOID
  30. GetPidFromTitle(
  31. LPDWORD pdwPid,
  32. HWND* phwnd,
  33. LPCTSTR pExeName
  34. );
  35. #if defined(__cplusplus)
  36. }
  37. #endif