odbccp32: Add a trace message to functions

Nikolay Sivov bunglehead at gmail.com
Fri Jun 5 04:02:02 CDT 2015


> @@ -281,7 +281,7 @@ BOOL WINAPI SQLGetAvailableDriversW(LPCWSTR lpszInfFile, LPWSTR lpszBuf,
>                 WORD cbBufMax, WORD *pcbBufOut)
>  {
>      clear_errors();
> -    FIXME("\n");
> +    FIXME("%s %s %d %p\n", debugstr_w(lpszInfFile), debugstr_w(lpszBuf), cbBufMax, pcbBufOut);

This is wrong, because lpszBuf is out parameter.

> @@ -370,6 +374,9 @@ BOOL WINAPI SQLGetInstalledDrivers(LPSTR lpszBuf, WORD cbBufMax,
>      int size_wbuf = cbBufMax;
>      LPWSTR wbuf;
>      WORD size_used;
> +
> +    TRACE("%s %d %p\n", debugstr_a(lpszBuf), cbBufMax, pcbBufOut);
> +

Same here.

> @@ -397,7 +404,9 @@ int WINAPI SQLGetPrivateProfileStringW(LPCWSTR lpszSection, LPCWSTR lpszEntry,
>                 LPCWSTR lpszFilename)
>  {
>      clear_errors();
> -    FIXME("\n");
> +    FIXME("%s %s %s %p %d %s\n", debugstr_w(lpszSection), debugstr_w(lpszEntry),
> +               debugstr_w(lpszDefault), RetBuffer, cbRetBuffer,
> +               debugstr_w(lpszFilename));
>      SetLastError(ERROR_CALL_NOT_IMPLEMENTED);

And here.



More information about the wine-devel mailing list