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.

43 lines
1.4 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 2001-2002 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dpnmodemextern.h
  6. * Content: DirectPlay Modem Library external functions to be called
  7. * by other DirectPlay components.
  8. *
  9. * History:
  10. * Date By Reason
  11. * ==== == ======
  12. * 09/25/2001 masonb Created
  13. *
  14. ***************************************************************************/
  15. BOOL DNModemInit(HANDLE hModule);
  16. void DNModemDeInit();
  17. #ifndef DPNBUILD_NOCOMREGISTER
  18. BOOL DNModemRegister(LPCWSTR wszDLLName);
  19. BOOL DNModemUnRegister();
  20. #endif // ! DPNBUILD_NOCOMREGISTER
  21. HRESULT CreateModemInterface(
  22. #ifdef DPNBUILD_PREALLOCATEDMEMORYMODEL
  23. const XDP8CREATE_PARAMS * const pDP8CreateParams,
  24. #endif // DPNBUILD_PREALLOCATEDMEMORYMODEL
  25. IDP8ServiceProvider **const ppiDP8SP
  26. );
  27. HRESULT CreateSerialInterface(
  28. #ifdef DPNBUILD_PREALLOCATEDMEMORYMODEL
  29. const XDP8CREATE_PARAMS * const pDP8CreateParams,
  30. #endif // DPNBUILD_PREALLOCATEDMEMORYMODEL
  31. IDP8ServiceProvider **const ppiDP8SP
  32. );
  33. #ifndef DPNBUILD_LIBINTERFACE
  34. DWORD DNModemGetRemainingObjectCount();
  35. extern IClassFactoryVtbl ModemClassFactoryVtbl;
  36. extern IClassFactoryVtbl SerialClassFactoryVtbl;
  37. #endif // ! DPNBUILD_LIBINTERFACE