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.

35 lines
845 B

  1. #pragma once
  2. #define STRICT
  3. #ifndef _WIN32_WINNT
  4. #define _WIN32_WINNT 0x0400
  5. #endif
  6. #pragma warning(disable : 4786)
  7. #ifdef _DEBUG
  8. //#define _CRTDBG_MAP_ALLOC
  9. #include <stdlib.h>
  10. #define DEBUG_NEW new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
  11. //#define _ATL_DEBUG_INTERFACES
  12. #endif
  13. #include <windows.h>
  14. #include <winnls.h>
  15. #include <ole2.h>
  16. #include <tchar.h>
  17. #include <crtdbg.h>
  18. #import <MsPwdMig.tlb> no_namespace no_implementation
  19. #import <ADMTScript.tlb> no_namespace no_implementation
  20. #define countof(a) (sizeof(a) / sizeof(a[0]))
  21. int __cdecl My_fwprintf ( const TCHAR *format, ... );
  22. int __cdecl My_vfwprintf( const TCHAR *format, va_list argptr );
  23. void __cdecl ThrowError(_com_error ce, UINT uId, ...);
  24. void __cdecl ThrowError(_com_error ce, LPCTSTR pszFormat = NULL, ...);
  25. //{{AFX_INSERT_LOCATION}}