1 
2 // These are here so we can get the decorated export functions.
3 // With autogenerated stubs we'll lose the decoration
4 // See:
5 // https://jira.reactos.org/browse/CORE-8462
6 // https://jira.reactos.org/browse/CORE-15665
7 
8 #include <config.h>
9 #include "iphlpapi_private.h"
10 #include <fltdefs.h>
11 
12 WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
13 
14 DWORD
15 WINAPI
PfAddFiltersToInterface(INTERFACE_HANDLE ih,DWORD cInFilters,PPF_FILTER_DESCRIPTOR pfiltIn,DWORD cOutFilters,PPF_FILTER_DESCRIPTOR pfiltOut,PFILTER_HANDLE pfHandle)16 PfAddFiltersToInterface(
17     INTERFACE_HANDLE ih,
18     DWORD cInFilters,
19     PPF_FILTER_DESCRIPTOR pfiltIn,
20     DWORD cOutFilters,
21     PPF_FILTER_DESCRIPTOR pfiltOut,
22     PFILTER_HANDLE pfHandle)
23 {
24     UNIMPLEMENTED;
25     return ERROR_CALL_NOT_IMPLEMENTED;
26 }
27 
28 DWORD
29 PFEXPORT
30 WINAPI
PfAddGlobalFilterToInterface(INTERFACE_HANDLE pInterface,GLOBAL_FILTER gfFilter)31 PfAddGlobalFilterToInterface(
32     INTERFACE_HANDLE pInterface,
33     GLOBAL_FILTER gfFilter)
34 {
35     UNIMPLEMENTED;
36     return ERROR_CALL_NOT_IMPLEMENTED;
37 }
38 
39 PFAPIENTRY
PfBindInterfaceToIPAddress(INTERFACE_HANDLE pInterface,PFADDRESSTYPE pfatType,PBYTE IPAddress)40 PfBindInterfaceToIPAddress(
41     INTERFACE_HANDLE pInterface,
42     PFADDRESSTYPE pfatType,
43     PBYTE IPAddress)
44 {
45     UNIMPLEMENTED;
46     return ERROR_CALL_NOT_IMPLEMENTED;
47 }
48 
49 PFAPIENTRY
PfBindInterfaceToIndex(INTERFACE_HANDLE pInterface,DWORD dwIndex,PFADDRESSTYPE pfatLinkType,PBYTE LinkIPAddress)50 PfBindInterfaceToIndex(
51     INTERFACE_HANDLE pInterface,
52     DWORD dwIndex,
53     PFADDRESSTYPE pfatLinkType,
54     PBYTE LinkIPAddress)
55 {
56     UNIMPLEMENTED;
57     return ERROR_CALL_NOT_IMPLEMENTED;
58 }
59 
60 PFAPIENTRY
PfCreateInterface(DWORD dwName,PFFORWARD_ACTION inAction,PFFORWARD_ACTION outAction,BOOL bUseLog,BOOL bMustBeUnique,INTERFACE_HANDLE * ppInterface)61 PfCreateInterface(
62     DWORD dwName,
63     PFFORWARD_ACTION inAction,
64     PFFORWARD_ACTION outAction,
65     BOOL bUseLog,
66     BOOL bMustBeUnique,
67     INTERFACE_HANDLE* ppInterface)
68 {
69     UNIMPLEMENTED;
70     return ERROR_CALL_NOT_IMPLEMENTED;
71 }
72 
73 PFAPIENTRY
PfDeleteInterface(INTERFACE_HANDLE pInterface)74 PfDeleteInterface(
75     INTERFACE_HANDLE pInterface)
76 {
77     UNIMPLEMENTED;
78     return ERROR_CALL_NOT_IMPLEMENTED;
79 }
80 
81 PFAPIENTRY
PfDeleteLog(VOID)82 PfDeleteLog(
83     VOID)
84 {
85     UNIMPLEMENTED;
86     return ERROR_CALL_NOT_IMPLEMENTED;
87 }
88 
89 PFAPIENTRY
PfGetInterfaceStatistics(INTERFACE_HANDLE pInterface,PPF_INTERFACE_STATS ppfStats,PDWORD pdwBufferSize,BOOL fResetCounters)90 PfGetInterfaceStatistics(
91     INTERFACE_HANDLE pInterface,
92     PPF_INTERFACE_STATS ppfStats,
93     PDWORD pdwBufferSize,
94     BOOL fResetCounters)
95 {
96     UNIMPLEMENTED;
97     return ERROR_CALL_NOT_IMPLEMENTED;
98 }
99 
100 PFAPIENTRY
PfMakeLog(HANDLE hEvent)101 PfMakeLog(
102     HANDLE hEvent)
103 {
104     UNIMPLEMENTED;
105     return ERROR_CALL_NOT_IMPLEMENTED;
106 }
107 
108 PFAPIENTRY
PfRebindFilters(INTERFACE_HANDLE pInterface,PPF_LATEBIND_INFO pLateBindInfo)109 PfRebindFilters(
110     INTERFACE_HANDLE pInterface,
111     PPF_LATEBIND_INFO pLateBindInfo)
112 {
113     UNIMPLEMENTED;
114     return ERROR_CALL_NOT_IMPLEMENTED;
115 }
116 
117 PFAPIENTRY
PfRemoveFilterHandles(INTERFACE_HANDLE pInterface,DWORD cFilters,PFILTER_HANDLE pvHandles)118 PfRemoveFilterHandles(
119     INTERFACE_HANDLE pInterface,
120     DWORD cFilters,
121     PFILTER_HANDLE pvHandles)
122 {
123     UNIMPLEMENTED;
124     return ERROR_CALL_NOT_IMPLEMENTED;
125 }
126 
127 PFAPIENTRY
PfRemoveFiltersFromInterface(INTERFACE_HANDLE ih,DWORD cInFilters,PPF_FILTER_DESCRIPTOR pfiltIn,DWORD cOutFilters,PPF_FILTER_DESCRIPTOR pfiltOut)128 PfRemoveFiltersFromInterface(
129     INTERFACE_HANDLE ih,
130     DWORD cInFilters,
131     PPF_FILTER_DESCRIPTOR pfiltIn,
132     DWORD cOutFilters,
133     PPF_FILTER_DESCRIPTOR pfiltOut)
134 {
135     UNIMPLEMENTED;
136     return ERROR_CALL_NOT_IMPLEMENTED;
137 }
138 
139 PFAPIENTRY
PfRemoveGlobalFilterFromInterface(INTERFACE_HANDLE pInterface,GLOBAL_FILTER gfFilter)140 PfRemoveGlobalFilterFromInterface(
141     INTERFACE_HANDLE pInterface,
142     GLOBAL_FILTER gfFilter)
143 {
144     UNIMPLEMENTED;
145     return ERROR_CALL_NOT_IMPLEMENTED;
146 }
147 
148 PFAPIENTRY
PfSetLogBuffer(PBYTE pbBuffer,DWORD dwSize,DWORD dwThreshold,DWORD dwEntries,PDWORD pdwLoggedEntries,PDWORD pdwLostEntries,PDWORD pdwSizeUsed)149 PfSetLogBuffer(
150     PBYTE pbBuffer,
151     DWORD dwSize,
152     DWORD dwThreshold,
153     DWORD dwEntries,
154     PDWORD pdwLoggedEntries,
155     PDWORD pdwLostEntries,
156     PDWORD pdwSizeUsed)
157 {
158     UNIMPLEMENTED;
159     return ERROR_CALL_NOT_IMPLEMENTED;
160 }
161 
162 PFAPIENTRY
PfTestPacket(INTERFACE_HANDLE pInInterface OPTIONAL,INTERFACE_HANDLE pOutInterface OPTIONAL,DWORD cBytes,PBYTE pbPacket,PPFFORWARD_ACTION ppAction)163 PfTestPacket(
164     INTERFACE_HANDLE pInInterface  OPTIONAL,
165     INTERFACE_HANDLE pOutInterface OPTIONAL,
166     DWORD cBytes,
167     PBYTE pbPacket,
168     PPFFORWARD_ACTION ppAction)
169 {
170     UNIMPLEMENTED;
171     return ERROR_CALL_NOT_IMPLEMENTED;
172 }
173 
174 PFAPIENTRY
PfUnBindInterface(INTERFACE_HANDLE pInterface)175 PfUnBindInterface(
176     INTERFACE_HANDLE pInterface)
177 {
178     UNIMPLEMENTED;
179     return ERROR_CALL_NOT_IMPLEMENTED;
180 }
181