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.

71 lines
1.5 KiB

  1. /*************************************************************************
  2. *
  3. * muext.c
  4. *
  5. * HYDRA EXPLORER Multi-User extensions
  6. *
  7. * copyright notice: Copyright 1997, Microsoft
  8. *
  9. *
  10. *************************************************************************/
  11. /*
  12. * Includes
  13. */
  14. #include "cabinet.h"
  15. #include "rcids.h"
  16. #include "startmnu.h"
  17. #ifdef WINNT // this file is hydra specific
  18. #include <winsta.h>
  19. /*=============================================================================
  20. == defines
  21. =============================================================================*/
  22. /*=============================================================================
  23. == Global data
  24. =============================================================================*/
  25. //****************************************
  26. BOOL
  27. InitWinStationFunctionsPtrs()
  28. {
  29. return TRUE;
  30. }
  31. /*****************************************************************************
  32. *
  33. * MuSecurity
  34. *
  35. * Invoke security dialogue box
  36. *
  37. * ENTRY:
  38. * nothing
  39. *
  40. * EXIT:
  41. * nothing
  42. *
  43. ****************************************************************************/
  44. VOID
  45. MuSecurity( VOID )
  46. {
  47. //
  48. // Do nothing on the console
  49. //
  50. if (SHGetMachineInfo(GMI_TSCLIENT))
  51. {
  52. WinStationSetInformation( SERVERNAME_CURRENT,
  53. LOGONID_CURRENT,
  54. WinStationNtSecurity,
  55. NULL, 0 );
  56. }
  57. }
  58. #endif // WINNT