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.

57 lines
1.6 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1994-1995 **
  4. //*********************************************************************
  5. //
  6. // CALLOUT.C - Functions to call out to external components to install
  7. // devices
  8. //
  9. // HISTORY:
  10. //
  11. // 96/05/22 markdu Created (from inetcfg.dll)
  12. //
  13. #include "pch.hpp"
  14. /*******************************************************************
  15. NAME: InstallTCPIP
  16. SYNOPSIS: Installs MS TCP/IP
  17. EXIT: ERROR_SUCCESS if successful, or a standard error code
  18. NOTES: calls through thunk layer to 16-bit side which calls
  19. Device Manager
  20. ********************************************************************/
  21. UINT InstallTCPIP(HWND hwndParent)
  22. {
  23. WAITCURSOR WaitCursor; // waitcursor object for hourglassing
  24. // call down to 16-bit dll to do this
  25. return InstallComponent(hwndParent,IC_TCPIP,0);
  26. }
  27. /*******************************************************************
  28. NAME: InstallPPPMAC
  29. SYNOPSIS: Installs PPPMAC (PPP driver)
  30. EXIT: ERROR_SUCCESS if successful, or a standard error code
  31. NOTES: calls through thunk layer to 16-bit side which calls
  32. Device Manager
  33. ********************************************************************/
  34. UINT InstallPPPMAC(HWND hwndParent)
  35. {
  36. WAITCURSOR WaitCursor; // waitcursor object for hourglassing
  37. // call down to 16-bit dll to do this
  38. return InstallComponent(hwndParent,IC_PPPMAC,0);
  39. }