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.

33 lines
1.1 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2001-2002 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dpnaddrextern.h
  6. * Content: DirectPlay Address Library external functions to be called
  7. * by other DirectPlay components.
  8. *
  9. * History:
  10. * Date By Reason
  11. * ==== == ======
  12. * 07/20/2001 masonb Created
  13. *
  14. ***************************************************************************/
  15. BOOL DNAddressInit(HANDLE hModule);
  16. void DNAddressDeInit();
  17. #ifndef DPNBUILD_NOCOMREGISTER
  18. BOOL DNAddressRegister(LPCWSTR wszDLLName);
  19. BOOL DNAddressUnRegister();
  20. #endif // !DPNBUILD_NOCOMREGISTER
  21. #ifdef DPNBUILD_LIBINTERFACE
  22. STDMETHODIMP DP8ACF_CreateInstance(DPNAREFIID riid, LPVOID *ppv);
  23. #ifdef DPNBUILD_PREALLOCATEDMEMORYMODEL
  24. HRESULT DNAddress_PreallocateInterfaces( const DWORD dwNumInterfaces );
  25. #endif // DPNBUILD_PREALLOCATEDMEMORYMODEL
  26. #else // ! DPNBUILD_LIBINTERFACE
  27. DWORD DNAddressGetRemainingObjectCount();
  28. extern IClassFactoryVtbl DP8ACF_Vtbl;
  29. #endif // ! DPNBUILD_LIBINTERFACE