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.

60 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. Abstract:
  6. Precompiled header file
  7. Author:
  8. Revision History:
  9. --*/
  10. #pragma warning (disable: 4514) /* Unreferenced inline function removed */
  11. #pragma warning (disable: 4201) /* Nameless union/struct */
  12. #pragma warning (disable: 4706) /* Assignment within conditional expression */
  13. #include <afx.h>
  14. #include <stdio.h>
  15. #include <stdlib.h>
  16. #include <string.h>
  17. #define INC_OLE2
  18. //#include <windows.h>
  19. #include <windowsx.h>
  20. #include <prsht.h>
  21. #include <tchar.h>
  22. #ifdef _WIN64
  23. #define LRW_GWL_USERDATA GWLP_USERDATA
  24. #define LRW_DWL_MSGRESULT DWLP_MSGRESULT
  25. #define LRW_DLG_INT __int64
  26. #define LRW_LONG_PTR LONG_PTR
  27. #define LRW_GETWINDOWLONG GetWindowLongPtr
  28. #define LRW_SETWINDOWLONG SetWindowLongPtr
  29. #else
  30. #define LRW_GWL_USERDATA GWL_USERDATA
  31. #define LRW_DWL_MSGRESULT DWL_MSGRESULT
  32. #define LRW_DLG_INT INT
  33. #define LRW_LONG_PTR LONG
  34. #define LRW_GETWINDOWLONG GetWindowLong
  35. #define LRW_SETWINDOWLONG SetWindowLong
  36. #endif
  37. #include "lrwizdll.h"
  38. #include "resource.h"
  39. #include "def.h"
  40. #include "utils.h"
  41. #include "dlgproc.h"