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.

41 lines
1.0 KiB

  1. #if _MSC_VER > 1000
  2. #pragma once
  3. #endif // _MSC_VER > 1000
  4. #define STRICT
  5. #ifndef _WIN32_WINNT
  6. #define _WIN32_WINNT 0x0501 // 0x0400
  7. #endif
  8. #define _ATL_APARTMENT_THREADED
  9. #include <atlbase.h>
  10. //You may derive a class from CComModule and use it if you want to override
  11. //something, but do not change the name of _Module
  12. extern CComModule _Module;
  13. #include <atlcom.h>
  14. #include <atlwin.h>
  15. #include <dlgs.h>
  16. #include <atldlgs.h>
  17. #include <atlctrls.h>
  18. #include <string>
  19. #include <vector>
  20. #include <list>
  21. // Define tstring
  22. typedef std::basic_string<TCHAR> tstring;
  23. #define TSTRING tstring
  24. #include "resource.h"
  25. #include <mmc.h>
  26. #include <streamio.h>
  27. #include <commctrl.h>
  28. HRESULT LoadImages(IImageList* pImageList);
  29. tstring StrLoadString(UINT uID);
  30. void StrGetEditText( HWND hWndParent, UINT uID, tstring& strRet );
  31. void DisplayError(HWND hWnd, LPCTSTR pszMessage, LPCTSTR pszTitle, HRESULT hrErr );
  32. BOOL Prefix_EnableWindow( HWND hDlg, UINT uCtrlID, BOOL bEnable );
  33. BOOL IsAdmin();