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

/******************************************************************************
*
* Copyright (C) 2001 Microsoft Corporation. All Rights Reserved.
*
* File: threadpoolclassfac.h
*
* Content: DirectPlay Thread Pool class factory functions header file.
*
* History:
* Date By Reason
* ======== ======== =========
* 11/02/01 VanceO Created.
*
******************************************************************************/
#ifndef __THREADPOOLCLASSFAC_H__
#define __THREADPOOLCLASSFAC_H__
//=============================================================================
// External Functions
//=============================================================================
#ifdef DPNBUILD_LIBINTERFACE
#if ((defined(DPNBUILD_ONLYONETHREAD)) && (! defined(DPNBUILD_MULTIPLETHREADPOOLS)))
void DPTPCF_GetObject(PVOID * ppv);
HRESULT DPTPCF_FreeObject(PVOID pvObject);
#endif // DPNBUILD_ONLYONETHREAD and ! DPNBUILD_MULTIPLETHREADPOOLS
HRESULT DPTPCF_CreateObject(PVOID * ppv);
#endif // DPNBUILD_LIBINTERFACE
//=============================================================================
// External globals
//=============================================================================
#ifndef DPNBUILD_LIBINTERFACE
extern IUnknownVtbl DPTP_UnknownVtbl;
extern IClassFactoryVtbl DPTPCF_Vtbl;
#endif // ! DPNBUILD_LIBINTERFACE
#ifndef DPNBUILD_ONLYONETHREAD
extern IDirectPlay8ThreadPoolVtbl DPTP_Vtbl;
#endif // ! DPNBUILD_ONLYONETHREAD
extern IDirectPlay8ThreadPoolWorkVtbl DPTPW_Vtbl;
#endif // __THREADPOOLCLASSFAC_H__