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.
 
 
 
 
 
 

26 lines
720 B

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997.
//
// File: winsta.hxx
//
// Contents: winstation caching declarations
//
//--------------------------------------------------------------------------
// Lock for LogonUser cache.
extern CRITICAL_SECTION gTokenCS;
extern HRESULT RunAsGetTokenElem(HANDLE *pToken,
void **ppvElemHandle);
extern void RunAsSetWinstaDesktop(void *pvElemHandle, WCHAR *pwszWinstaDesktop);
extern void RunAsRelease(void *pvElemHandle);
extern void RunAsInvalidateAndRelease(void *pvElemHandle);
extern void InitRunAsCache();