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.

23 lines
579 B

  1. // killApps.h : This file contains the
  2. // Created: Feb '98
  3. // Author : a-rakeba
  4. // History:
  5. // Copyright (C) 1998 Microsoft Corporation
  6. // All rights reserved.
  7. // Microsoft Confidential
  8. #if defined(__cplusplus)
  9. extern "C" {
  10. #endif
  11. typedef enum { TO_CLEANUP, TO_ENUM } ENUM_PURPOSE;
  12. void EnumSessionProcesses( LUID, void fPtr ( HANDLE, DWORD, LPWSTR ), ENUM_PURPOSE );
  13. BOOL EnableDebugPriv( VOID );
  14. BOOL GetAuthenticationId( HANDLE hToken, LUID* pId );
  15. BOOL KillProcs( LUID id );
  16. #if defined(__cplusplus)
  17. }
  18. #endif
  19. #define MAX_PROCESSES_IN_SYSTEM 1000