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.
 
 
 
 
 
 

22 lines
604 B

#pragma once
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#include <windows.h>
#include <tchar.h>
extern HINSTANCE g_hinst;
UINT SetupIISUDDIMetabase( int AppPoolIdentityType, LPCTSTR szUserName, LPCTSTR szPwd );
bool SetFolderAclRecurse( PTCHAR szDirName, PTCHAR szfileName, DWORD dwAccessMask = GENERIC_READ );
UINT RemoveIISUDDIMetabase( void );
UINT RecycleApplicationPool( void );
bool SetUDDIFolderDacls( TCHAR *szUserName );
bool SetWindowsTempDacls( TCHAR* szUserName );
TCHAR* GetSystemTemp();