mirror of https://github.com/tongzx/nt5src
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
71 lines
1.5 KiB
|
|
/*************************************************************************
|
|
*
|
|
* muext.c
|
|
*
|
|
* HYDRA EXPLORER Multi-User extensions
|
|
*
|
|
* copyright notice: Copyright 1997, Microsoft
|
|
*
|
|
*
|
|
*************************************************************************/
|
|
|
|
/*
|
|
* Includes
|
|
*/
|
|
#include "cabinet.h"
|
|
#include "rcids.h"
|
|
#include "startmnu.h"
|
|
|
|
#ifdef WINNT // this file is hydra specific
|
|
|
|
#include <winsta.h>
|
|
|
|
/*=============================================================================
|
|
== defines
|
|
=============================================================================*/
|
|
|
|
/*=============================================================================
|
|
== Global data
|
|
=============================================================================*/
|
|
|
|
//****************************************
|
|
|
|
BOOL
|
|
InitWinStationFunctionsPtrs()
|
|
|
|
{
|
|
return TRUE;
|
|
}
|
|
|
|
/*****************************************************************************
|
|
*
|
|
* MuSecurity
|
|
*
|
|
* Invoke security dialogue box
|
|
*
|
|
* ENTRY:
|
|
* nothing
|
|
*
|
|
* EXIT:
|
|
* nothing
|
|
*
|
|
****************************************************************************/
|
|
|
|
VOID
|
|
MuSecurity( VOID )
|
|
{
|
|
//
|
|
// Do nothing on the console
|
|
//
|
|
|
|
if (SHGetMachineInfo(GMI_TSCLIENT))
|
|
{
|
|
WinStationSetInformation( SERVERNAME_CURRENT,
|
|
LOGONID_CURRENT,
|
|
WinStationNtSecurity,
|
|
NULL, 0 );
|
|
}
|
|
}
|
|
|
|
#endif // WINNT
|