1 | /* $Id: VBoxNetFltMp-win.h 21333 2009-07-07 14:39:32Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxNetFlt - Network Filter Driver (Host), Windows Specific Code. Miniport edge of ndis filter driver
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2008 Sun Microsystems, Inc.
|
---|
8 | *
|
---|
9 | * Sun Microsystems, Inc. confidential
|
---|
10 | * All rights reserved
|
---|
11 | */
|
---|
12 | /*
|
---|
13 | * Based in part on Microsoft DDK sample code for Ndis Intermediate Miniport passthru driver sample.
|
---|
14 | * Copyright (c) 1993-1999, Microsoft Corporation
|
---|
15 | */
|
---|
16 |
|
---|
17 | #ifndef ___VBoxNetFltMp_win_h___
|
---|
18 | #define ___VBoxNetFltMp_win_h___
|
---|
19 |
|
---|
20 | #ifdef VBOX_NETFLT_ONDEMAND_BIND
|
---|
21 | # error "unsupported (VBOX_NETFLT_ONDEMAND_BIND)"
|
---|
22 | #else
|
---|
23 |
|
---|
24 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpRegister(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath);
|
---|
25 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDeregister();
|
---|
26 | DECLHIDDEN(NDIS_HANDLE) vboxNetFltWinMpGetHandle();
|
---|
27 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpInitializeDevideInstance(PADAPT pAdapt);
|
---|
28 | DECLHIDDEN(VOID) vboxNetFltWinMpReturnPacket(IN NDIS_HANDLE MiniportAdapterContext, IN PNDIS_PACKET Packet);
|
---|
29 | DECLHIDDEN(bool) vboxNetFltWinMpDeInitializeDevideInstance(PADAPT pAdapt, PNDIS_STATUS pStatus);
|
---|
30 | DECLHIDDEN(VOID) vboxNetFltWinMpQueryPNPCapabilities(IN OUT PADAPT pAdapt, OUT PNDIS_STATUS pStatus);
|
---|
31 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpReferenceControlDevice();
|
---|
32 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDereferenceControlDevice();
|
---|
33 |
|
---|
34 | #ifdef VBOXNETADP
|
---|
35 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDoInitialization(PADAPT pAdapt, NDIS_HANDLE hMiniportAdapter, NDIS_HANDLE hWrapperConfigurationContext);
|
---|
36 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDoDeinitialization(PADAPT pAdapt);
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #endif
|
---|
40 |
|
---|
41 | #endif
|
---|