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.

68 lines
1.4 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. #include <htmlhelp.h>
  23. #include <afxwin.h>
  24. #include <shellapi.h>
  25. EXTERN_C BOOL WINAPI LinkWindow_RegisterClass() ;
  26. EXTERN_C BOOL WINAPI LinkWindow_UnregisterClass( HINSTANCE ) ;
  27. #ifdef _WIN64
  28. #define LRW_GWL_USERDATA GWLP_USERDATA
  29. #define LRW_DWL_MSGRESULT DWLP_MSGRESULT
  30. #define LRW_DLG_INT __int64
  31. #define LRW_LONG_PTR LONG_PTR
  32. #define LRW_GETWINDOWLONG GetWindowLongPtr
  33. #define LRW_SETWINDOWLONG SetWindowLongPtr
  34. #else
  35. #define LRW_GWL_USERDATA GWL_USERDATA
  36. #define LRW_DWL_MSGRESULT DWL_MSGRESULT
  37. #define LRW_DLG_INT INT
  38. #define LRW_LONG_PTR LONG
  39. #define LRW_GETWINDOWLONG GetWindowLong
  40. #define LRW_SETWINDOWLONG SetWindowLong
  41. #endif
  42. #include "lrwizdll.h"
  43. #include "resource.h"
  44. #include "def.h"
  45. #include "utils.h"
  46. #include "dlgproc.h"