VirtualBox

Ignore:
Timestamp:
Aug 29, 2008 12:47:44 PM (16 years ago)
Author:
vboxsync
Message:

Initial commit of the NetFlt driver for Windows

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r11752 r11814  
    186186#
    187187SUPR0IdcClient_TEMPLATE = VBOXR0DRV
    188 SUPR0IdcClient_DEFS = IN_RT_R0 IN_SUP_R0
     188SUPR0IdcClient_DEFS = IN_RT_R0 IN_SUP_R0 IN_SUP_STATIC
    189189SUPR0IdcClient_SDKS.win = W2K3DDK WINPSDKINCS
    190190SUPR0IdcClient_SOURCES.$(KBUILD_TARGET) = \
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r10731 r11814  
    137137                    pDrvObj->MajorFunction[IRP_MJ_CLOSE]                    = VBoxDrvNtClose;
    138138                    pDrvObj->MajorFunction[IRP_MJ_DEVICE_CONTROL]           = VBoxDrvNtDeviceControl;
    139 #if 0 /** @todo test IDC on windows. */
     139//#if 0 /** @todo test IDC on windows. */
    140140                    pDrvObj->MajorFunction[IRP_MJ_INTERNAL_DEVICE_CONTROL]  = VBoxDrvNtInternalDeviceControl;
    141 #endif
     141//#endif
    142142                    pDrvObj->MajorFunction[IRP_MJ_READ]                     = VBoxDrvNtNotSupportedStub;
    143143                    pDrvObj->MajorFunction[IRP_MJ_WRITE]                    = VBoxDrvNtNotSupportedStub;
     
    232232    pFileObj->FsContext = NULL;
    233233    PSUPDRVSESSION pSession;
    234 #if 0 /** @todo check if this works, consider OBJ_KERNEL_HANDLE too. */
     234//#if 0 /** @todo check if this works, consider OBJ_KERNEL_HANDLE too. */
    235235    bool fUser = pIrp->RequestorMode != KernelMode;
    236 #else
    237     bool fUser = true;
    238 #endif
     236//#else
     237 //   bool fUser = true;
     238//#endif
    239239    int rc = supdrvCreateSession(pDevExt, fUser, &pSession);
    240240    if (!rc)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette