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.

75 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1998, Microsoft Corporation.
  4. //
  5. // File: stdafx.h
  6. //
  7. // Contents: include file for standard system include files,
  8. // or project specific include files that are used frequently,
  9. // but are changed infrequently
  10. //
  11. // History: 12-10-97 mohamedn created
  12. //
  13. //----------------------------------------------------------------------------
  14. #pragma once
  15. #ifndef STRICT
  16. #define STRICT
  17. #endif
  18. #define _ATL_FREE_THREADED
  19. //
  20. // debug AddRef/Release - remove when done.
  21. //
  22. #define _ATL_DEBUG_REFCOUNT
  23. // #define _ATL_DEBUG_QI
  24. #include <atlbase.h>
  25. //You may derive a class from CComModule and use it if you want to override
  26. //something, but do not change the name of _Module
  27. extern CComModule _Module;
  28. #define _ATL_DEBUG_REFCOUNT
  29. #include <atlcom.h>
  30. #include <atlctl.h>
  31. //{{AFX_INSERT_LOCATION}}
  32. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  33. #include <comdef.h>
  34. #include <shlobj.h>
  35. #include <shlguid.h>
  36. #include <catalog.hxx>
  37. #include <catadmin.hxx>
  38. #include "resource.h"
  39. #include <cisem.hxx>
  40. #include "ciodmerr.hxx"
  41. #include "initguid.h"
  42. #include "ciodm.h"
  43. #include "MacAdmin.hxx"
  44. #include "CatAdm.hxx"
  45. #include "scopeadm.hxx"
  46. DECLARE_DEBUG( odm );
  47. #if DBG == 1
  48. #define odmDebugOut( x ) odmInlineDebugOut x
  49. #else
  50. #define odmDebugOut( x )
  51. #endif // DBG
  52. //
  53. // Utility routines
  54. //
  55. inline void ValidateInputParam(BSTR bstr)
  56. {
  57. if ( 0 == bstr )
  58. THROW( CException(E_INVALIDARG) );
  59. }