dllmain.cpp revision 78a072e1b56619e3230735ae073668311232ec94
/*++
Copyright (c) 1989-1999 Microsoft Corporation
Module Name:
Abstract:
This module implements the initialization routines for network
provider interface
Notes:
This module has been built and tested only in UNICODE environment
--*/
#include <windows.h>
#include <process.h>
#include "vboxmrxp.h"
// NOTE:
//
// Function: DllMain
//
// Return: TRUE => Success
// FALSE => Failure
{
switch (fdwReason) {
case DLL_PROCESS_ATTACH:
RTR3Init();
VbglR3Init();
LogRel(("VBOXNP: DLL loaded.\n"));
break;
case DLL_PROCESS_DETACH:
LogRel(("VBOXNP: DLL unloaded.\n"));
VbglR3Term();
/// @todo RTR3Term();
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
default:
break;
}
return(bStatus);
}