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

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: winsta.hxx
  7. //
  8. // Contents: winstation caching declarations
  9. //
  10. //--------------------------------------------------------------------------
  11. // Lock for LogonUser cache.
  12. extern CRITICAL_SECTION gTokenCS;
  13. extern HRESULT RunAsGetTokenElem(HANDLE *pToken,
  14. void **ppvElemHandle);
  15. extern void RunAsSetWinstaDesktop(void *pvElemHandle, WCHAR *pwszWinstaDesktop);
  16. extern void RunAsRelease(void *pvElemHandle);
  17. extern void RunAsInvalidateAndRelease(void *pvElemHandle);
  18. extern void InitRunAsCache();