[PATCH] fltlib: Add fixme stub for FilterSendMessage.

Zhiyi Zhang zzhang at codeweavers.com
Sat Jul 30 23:01:05 CDT 2022



On 7/21/22 17:13, Chao Long wrote:
> Signed-off-by: Chao Long <longchao at uniontech.com>
> ---
>  dlls/fltlib/fltlib.c    | 11 +++++++++++
>  dlls/fltlib/fltlib.spec |  2 +-
>  2 files changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/dlls/fltlib/fltlib.c b/dlls/fltlib/fltlib.c
> index a6cf060b3d1..a322e7559de 100644
> --- a/dlls/fltlib/fltlib.c
> +++ b/dlls/fltlib/fltlib.c
> @@ -80,3 +80,14 @@ HRESULT WINAPI FilterUnload(LPCWSTR filtername)
>  
>      return S_OK;
>  }
> +
> +/**********************************************************************
> + *      FilterSendMessage            (FLTLIB.@)
> + */
> +HRESULT WINAPI FilterSendMessage(HANDLE port, LPVOID in_buffer, DWORD in_size, LPVOID  out_buffer,
> +  DWORD out_size, LPDWORD returned)
> +{
> +    FIXME("(%p, %p, %d, %p, %d, %p) stub\n", port,in_buffer,in_size,out_buffer,out_size,returned);

Please use %ld to print DWORD. %d generates warnings.

> +
> +    return S_OK;
> +}
> \ No newline at end of file

Please keep a new line.

Also, do you have a real world application that needs this stub?

Thanks,
Zhiyi

> diff --git a/dlls/fltlib/fltlib.spec b/dlls/fltlib/fltlib.spec
> index 226a61519d1..48caa505a28 100644
> --- a/dlls/fltlib/fltlib.spec
> +++ b/dlls/fltlib/fltlib.spec
> @@ -18,7 +18,7 @@
>  @ stub FilterInstanceGetInformation
>  @ stdcall FilterLoad(wstr)
>  @ stub FilterReplyMessage
> -@ stub FilterSendMessage
> +@ stdcall FilterSendMessage(ptr ptr long ptr long ptr)
>  @ stdcall FilterUnload(wstr)
>  @ stub FilterVolumeClose
>  @ stub FilterVolumeFindClose




More information about the wine-devel mailing list