[1/5]msctf/test: setup test framework for ITfThreadMgrEventSink

Alexandre Julliard julliard at winehq.org
Tue Apr 21 10:47:36 CDT 2009


Aric Stewart <aric at codeweavers.com> writes:

> +static HRESULT WINAPI ThreadMgrEventSink_OnInitDocumentMgr(ITfThreadMgrEventSink *iface,
> +ITfDocumentMgr *pdim)
> +{
> +    trace("%s\n",__FUNCTION__);
> +    return S_OK;
> +}

trace() already includes the file and line, and __FUNCTION__ is not
portable, please avoid it in tests.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list