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

  1. #pragma once
  2. #ifndef WIN32_LEAN_AND_MEAN
  3. #define WIN32_LEAN_AND_MEAN
  4. #endif
  5. #ifndef _WIN32_WINNT
  6. #define _WIN32_WINNT 0x0500
  7. #endif
  8. #include <windows.h>
  9. #include <tchar.h>
  10. extern HINSTANCE g_hinst;
  11. UINT SetupIISUDDIMetabase( int AppPoolIdentityType, LPCTSTR szUserName, LPCTSTR szPwd );
  12. bool SetFolderAclRecurse( PTCHAR szDirName, PTCHAR szfileName, DWORD dwAccessMask = GENERIC_READ );
  13. UINT RemoveIISUDDIMetabase( void );
  14. UINT RecycleApplicationPool( void );
  15. bool SetUDDIFolderDacls( TCHAR *szUserName );
  16. bool SetWindowsTempDacls( TCHAR* szUserName );
  17. TCHAR* GetSystemTemp();