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.

52 lines
1.6 KiB

  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2001 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: threadpoolclassfac.h
  6. *
  7. * Content: DirectPlay Thread Pool class factory functions header file.
  8. *
  9. * History:
  10. * Date By Reason
  11. * ======== ======== =========
  12. * 11/02/01 VanceO Created.
  13. *
  14. ******************************************************************************/
  15. #ifndef __THREADPOOLCLASSFAC_H__
  16. #define __THREADPOOLCLASSFAC_H__
  17. //=============================================================================
  18. // External Functions
  19. //=============================================================================
  20. #ifdef DPNBUILD_LIBINTERFACE
  21. #if ((defined(DPNBUILD_ONLYONETHREAD)) && (! defined(DPNBUILD_MULTIPLETHREADPOOLS)))
  22. void DPTPCF_GetObject(PVOID * ppv);
  23. HRESULT DPTPCF_FreeObject(PVOID pvObject);
  24. #endif // DPNBUILD_ONLYONETHREAD and ! DPNBUILD_MULTIPLETHREADPOOLS
  25. HRESULT DPTPCF_CreateObject(PVOID * ppv);
  26. #endif // DPNBUILD_LIBINTERFACE
  27. //=============================================================================
  28. // External globals
  29. //=============================================================================
  30. #ifndef DPNBUILD_LIBINTERFACE
  31. extern IUnknownVtbl DPTP_UnknownVtbl;
  32. extern IClassFactoryVtbl DPTPCF_Vtbl;
  33. #endif // ! DPNBUILD_LIBINTERFACE
  34. #ifndef DPNBUILD_ONLYONETHREAD
  35. extern IDirectPlay8ThreadPoolVtbl DPTP_Vtbl;
  36. #endif // ! DPNBUILD_ONLYONETHREAD
  37. extern IDirectPlay8ThreadPoolWorkVtbl DPTPW_Vtbl;
  38. #endif // __THREADPOOLCLASSFAC_H__