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.

94 lines
1.9 KiB

  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2001 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dpnthreadpooli.h
  6. *
  7. * Content: DirectPlay Thread Pool master internal header file.
  8. *
  9. * History:
  10. * Date By Reason
  11. * ======== ======== =========
  12. * 10/31/01 VanceO Created.
  13. *
  14. ******************************************************************************/
  15. #ifndef __DPNTHREADPOOLI_H__
  16. #define __DPNTHREADPOOLI_H__
  17. //
  18. // Build configuration include
  19. //
  20. #include "dpnbuild.h"
  21. //
  22. // In order to get waitable timers on Win98+, define _WIN32_WINDOWS > 0x0400 as
  23. // indicated by <winbase.h>
  24. //
  25. #ifdef WIN95
  26. #ifdef _WIN32_WINDOWS
  27. #if (_WIN32_WINDOWS <= 0x0400)
  28. #undef _WIN32_WINDOWS
  29. #endif // _WIN32_WINDOWS <= 0x0400
  30. #endif // _WIN32_WINDOWS
  31. #ifndef _WIN32_WINDOWS
  32. #define _WIN32_WINDOWS 0x0401
  33. #endif // ! _WIN32_WINDOWS
  34. #endif // WIN95
  35. //
  36. // Public includes
  37. //
  38. #if ((defined(_XBOX)) && (! defined(XBOX_ON_DESKTOP)))
  39. #include <xtl.h>
  40. #else // ! _XBOX or XBOX_ON_DESKTOP
  41. #include <windows.h>
  42. #include <mmsystem.h> // NT BUILD requires this for timeGetTime
  43. #endif // ! _XBOX or XBOX_ON_DESKTOP
  44. #include <tchar.h>
  45. #ifndef _XBOX
  46. #include <wincrypt.h>
  47. #endif
  48. //
  49. // DirectPlay public includes
  50. //
  51. #include "dplay8.h"
  52. //
  53. // DirectPlay private includes
  54. //
  55. #include "dndbg.h"
  56. #include "osind.h"
  57. #include "creg.h"
  58. #include "fixedpool.h"
  59. #include "classfactory.h"
  60. #include "dnslist.h"
  61. #include "dnnbqueue.h"
  62. //
  63. // DirectPlay Thread Pool private includes
  64. //
  65. #undef DPF_SUBCOMP
  66. #define DPF_SUBCOMP DN_SUBCOMP_THREADPOOL
  67. #include "work.h"
  68. #include "timers.h"
  69. #include "io.h"
  70. #include "threadpoolapi.h"
  71. #include "threadpooldllmain.h"
  72. #include "threadpoolclassfac.h"
  73. #include "threadpoolparamval.h"
  74. #endif // __DPNTHREADPOOLI_H__