Source code of Windows XP (NT5)
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

//*********************************************************************
//* Microsoft Windows **
//* Copyright (c) 1994-1998 Microsoft Corporation
//*********************************************************************
//
// CALLOUT.C - Functions to call out to external components to install
// devices
//
// HISTORY:
//
// 96/05/22 markdu Created (from inetcfg.dll)
//
#include "pch.hpp"
/*******************************************************************
NAME: InstallTCPIP
SYNOPSIS: Installs MS TCP/IP
EXIT: ERROR_SUCCESS if successful, or a standard error code
NOTES: calls through thunk layer to 16-bit side which calls
Device Manager
********************************************************************/
UINT InstallTCPIP(HWND hwndParent)
{
WAITCURSOR WaitCursor; // waitcursor object for hourglassing
// call down to 16-bit dll to do this
return InstallComponent(hwndParent,IC_TCPIP,0);
}
/*******************************************************************
NAME: InstallPPPMAC
SYNOPSIS: Installs PPPMAC (PPP driver)
EXIT: ERROR_SUCCESS if successful, or a standard error code
NOTES: calls through thunk layer to 16-bit side which calls
Device Manager
********************************************************************/
UINT InstallPPPMAC(HWND hwndParent)
{
WAITCURSOR WaitCursor; // waitcursor object for hourglassing
// call down to 16-bit dll to do this
return InstallComponent(hwndParent,IC_PPPMAC,0);
}