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
687 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2001.
  5. //
  6. // tscompat.h
  7. //
  8. // Exported prototypes and definitions for module tscompat.cpp
  9. //
  10. // 10/11/2001 annah Created
  11. //
  12. //----------------------------------------------------------------------------
  13. // this is a private NT function that doesn't appear to be defined anywhere public
  14. extern "C"
  15. {
  16. HANDLE GetCurrentUserToken_for_Win2KW( WCHAR Winsta[], DWORD DesiredAccess);
  17. }
  18. BOOL WINAPI _WTSQueryUserToken(/* in */ ULONG SessionId, /* out */ PHANDLE phToken);
  19. BOOL _IsTerminalServiceRunning (VOID);