Source code of Windows XP (NT5)
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.
|
|
/*===================================================================
Microsoft IIS
Microsoft Confidential. Copyright 1996-1997 Microsoft Corporation. All Rights Reserved.
Component: Server object
File: NTSec.h
Owner: AndrewS
This file contains includes related to NT security on WinSta's and Desktops ===================================================================*/
#ifndef __NTSec_h
#define __NTSec_h
// Local Defines
// Note: These names are deliberately obscure so no one will guess them
#define SZ_IIS_WINSTA "__X78B95_89_IW"
#define SZ_IIS_DESKTOP "__A8D9S1_42_ID"
#define DESKTOP_ALL (DESKTOP_READOBJECTS | DESKTOP_CREATEWINDOW | \
DESKTOP_CREATEMENU | DESKTOP_HOOKCONTROL | \ DESKTOP_JOURNALRECORD | DESKTOP_JOURNALPLAYBACK | \ DESKTOP_ENUMERATE | DESKTOP_WRITEOBJECTS | \ DESKTOP_SWITCHDESKTOP | STANDARD_RIGHTS_REQUIRED)
#define WINSTA_ALL (WINSTA_ENUMDESKTOPS | WINSTA_READATTRIBUTES | \
WINSTA_ACCESSCLIPBOARD | WINSTA_CREATEDESKTOP | \ WINSTA_WRITEATTRIBUTES | WINSTA_ACCESSGLOBALATOMS | \ WINSTA_EXITWINDOWS | WINSTA_ENUMERATE | \ WINSTA_READSCREEN | \ STANDARD_RIGHTS_REQUIRED)
HRESULT InitDesktopWinsta(BOOL); VOID UnInitDesktopWinsta(); HRESULT SetDesktop(BOOL); HRESULT AddUserSecurity(HANDLE hImpersonate);
#endif //__NTSec_h
|