reactos/dll/win32/iphlpapi/iphlpapi_fakestubs.c
2019-09-08 16:23:46 +02:00

180 lines
3.3 KiB
C

// These are here so we can get the decorated export functions.
// With autogenerated stubs we'll lose the decoration
// See:
// https://jira.reactos.org/browse/CORE-8462
// https://jira.reactos.org/browse/CORE-15665
#include <config.h>
#include "iphlpapi_private.h"
#include <fltdefs.h>
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
DWORD
WINAPI
PfAddFiltersToInterface(
INTERFACE_HANDLE ih,
DWORD cInFilters,
PPF_FILTER_DESCRIPTOR pfiltIn,
DWORD cOutFilters,
PPF_FILTER_DESCRIPTOR pfiltOut,
PFILTER_HANDLE pfHandle)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
DWORD
PFEXPORT
WINAPI
PfAddGlobalFilterToInterface(
INTERFACE_HANDLE pInterface,
GLOBAL_FILTER gfFilter)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfBindInterfaceToIPAddress(
INTERFACE_HANDLE pInterface,
PFADDRESSTYPE pfatType,
PBYTE IPAddress)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfBindInterfaceToIndex(
INTERFACE_HANDLE pInterface,
DWORD dwIndex,
PFADDRESSTYPE pfatLinkType,
PBYTE LinkIPAddress)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfCreateInterface(
DWORD dwName,
PFFORWARD_ACTION inAction,
PFFORWARD_ACTION outAction,
BOOL bUseLog,
BOOL bMustBeUnique,
INTERFACE_HANDLE* ppInterface)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfDeleteInterface(
INTERFACE_HANDLE pInterface)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfDeleteLog(
VOID)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfGetInterfaceStatistics(
INTERFACE_HANDLE pInterface,
PPF_INTERFACE_STATS ppfStats,
PDWORD pdwBufferSize,
BOOL fResetCounters)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfMakeLog(
HANDLE hEvent)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfRebindFilters(
INTERFACE_HANDLE pInterface,
PPF_LATEBIND_INFO pLateBindInfo)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfRemoveFilterHandles(
INTERFACE_HANDLE pInterface,
DWORD cFilters,
PFILTER_HANDLE pvHandles)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfRemoveFiltersFromInterface(
INTERFACE_HANDLE ih,
DWORD cInFilters,
PPF_FILTER_DESCRIPTOR pfiltIn,
DWORD cOutFilters,
PPF_FILTER_DESCRIPTOR pfiltOut)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfRemoveGlobalFilterFromInterface(
INTERFACE_HANDLE pInterface,
GLOBAL_FILTER gfFilter)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfSetLogBuffer(
PBYTE pbBuffer,
DWORD dwSize,
DWORD dwThreshold,
DWORD dwEntries,
PDWORD pdwLoggedEntries,
PDWORD pdwLostEntries,
PDWORD pdwSizeUsed)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfTestPacket(
INTERFACE_HANDLE pInInterface OPTIONAL,
INTERFACE_HANDLE pOutInterface OPTIONAL,
DWORD cBytes,
PBYTE pbPacket,
PPFFORWARD_ACTION ppAction)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}
PFAPIENTRY
PfUnBindInterface(
INTERFACE_HANDLE pInterface)
{
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
}