"Mikolaj Zalewski" mikolajz@google.com writes:
/***********************************************************************
X11DRV_WTInfoA (X11DRV.@)
- NOTES
- If cchOnlyCountString is not NULL and the data is a string then no
- data is stored in the output buffer but only the string length is
- returned in *cchOnlyCountString (and is >= 1 as contains at least a NUL
- character). It have no effect on non-string data.
- Apart from the cchOnlyCountString parameter this function differs from the
- WTInfo[AW] as for nIndex == 0 it returns the number of items in the
- category. It's wintab32.dll that concatenates the data
- It is valid to call WTInfoA with lpOutput == NULL, as per standard.
- lpOutput == NULL signifies the user only wishes to find the size of
*/
- the data.
-UINT X11DRV_WTInfoA(UINT wCategory, UINT nIndex, LPVOID lpOutput) +UINT X11DRV_WTInfoA(UINT wCategory, UINT nIndex, LPVOID lpOutput, DWORD *cchOnlyCountString)
You shouldn't change the prototype. Driver functions should follow the signature of the corresponding APIs as far as possible.