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

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 2001.
//
// tscompat.h
//
// Exported prototypes and definitions for module tscompat.cpp
//
// 10/11/2001 annah Created
//
//----------------------------------------------------------------------------
// this is a private NT function that doesn't appear to be defined anywhere public
extern "C"
{
HANDLE GetCurrentUserToken_for_Win2KW( WCHAR Winsta[], DWORD DesiredAccess);
}
BOOL WINAPI _WTSQueryUserToken(/* in */ ULONG SessionId, /* out */ PHANDLE phToken);
BOOL _IsTerminalServiceRunning (VOID);