From 570f446f8c19a9b56b7d26773390d7b426852c9b Mon Sep 17 00:00:00 2001 From: Austin English Date: Sat, 19 Mar 2011 16:59:47 -0500 Subject: [PATCH] traffic: Add a stub for TcDeregisterClient. --- dlls/traffic/traffic.spec | 2 +- dlls/traffic/traffic_main.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/traffic/traffic.spec b/dlls/traffic/traffic.spec index 4638af31b01..ad4bce09dad 100644 --- a/dlls/traffic/traffic.spec +++ b/dlls/traffic/traffic.spec @@ -4,7 +4,7 @@ @ stub TcCloseInterface @ stub TcDeleteFilter @ stub TcDeleteFlow -@ stub TcDeregisterClient +@ stdcall TcDeregisterClient(ptr) @ stub TcEnumerateFlows @ stub TcEnumerateInterfaces @ stub TcGetFlowNameA diff --git a/dlls/traffic/traffic_main.c b/dlls/traffic/traffic_main.c index 6efea899dda..6b8a9751e19 100644 --- a/dlls/traffic/traffic_main.c +++ b/dlls/traffic/traffic_main.c @@ -54,3 +54,12 @@ ULONG WINAPI TcRegisterClient(ULONG version, HANDLE context, if(buffer) *buffer = INVALID_HANDLE_VALUE; return ERROR_CALL_NOT_IMPLEMENTED; } + +/***************************************************************************** + * TcDeregisterClient [TRAFFIC.@] + */ +ULONG WINAPI TcDeregisterClient(HANDLE ClientHandle) +{ + FIXME("%p: stub\n", ClientHandle); + return ERROR_CALL_NOT_IMPLEMENTED; +}