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.

63 lines
1.5 KiB

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved.
  3. Module Name:
  4. StdAfx.h
  5. Abstract:
  6. Precompiled header starting point
  7. Author:
  8. Rohde Wakefield [rohde] 09-Oct-1997
  9. Revision History:
  10. --*/
  11. #ifndef _STDAFX_H
  12. #define _STDAFX_H
  13. #pragma once
  14. #include <afxwin.h> // MFC core and standard components
  15. #include <afxext.h> // MFC extensions
  16. #include <afxcmn.h> // MFC support for Windows Common Controls
  17. #include <setupapi.h>
  18. #include <ocmanage.h>
  19. #undef _WIN32_IE
  20. #define _WIN32_IE 0x0500
  21. #include <shlobj.h>
  22. #include <rsopt.h>
  23. #include "Wsb.h"
  24. #include "RsTrace.h"
  25. #include "Resource.h"
  26. #include "RsOptCom.h"
  27. #include "OptCom.h"
  28. #define WsbBoolAsString( boolean ) (boolean ? OLESTR("TRUE") : OLESTR("FALSE"))
  29. #define DoesFileExist( strFile ) (GetFileAttributes( strFile ) != 0xFFFFFFFF)
  30. //{{AFX_INSERT_LOCATION}}
  31. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  32. //}}AFX
  33. #define RSOPTCOM_EXPORT __declspec(dllexport) /*__cdecl*/
  34. #define RSOPTCOM_SUB_ROOT TEXT("RSTORAGE")
  35. #define RSOPTCOM_SECT_INSTALL_ROOT TEXT("RSInstall")
  36. #define RSOPTCOM_SECT_UNINSTALL_ROOT TEXT("RSUninstall")
  37. #define RSOPTCOM_SECT_INSTALL_FILTER TEXT("RSInstall.Services")
  38. #define RSOPTCOM_SECT_UNINSTALL_FILTER TEXT("RSUninstall.Services")
  39. #define RSOPTCOM_ID_ERROR (-1)
  40. #define RSOPTCOM_ID_NONE (0)
  41. #define RSOPTCOM_ID_ROOT (1)
  42. #endif