advapi32: Add stub for GetTraceLoggerHandle.
winemenubuilder: Use boolean return values in boolean functions.
oleaut32: Properly free record name (Valgrind).
wined3d: Simplify the driver version info lookup in init_driver_info().
wined3d: Introduce a separate function to calculate the pitch for a given format and width.
ddraw: Validate the pitch for user memory surfaces against the unaligned minimum pitch.

User memory surfaces have a different minimum alignment from regular surfaces.
This fixes a regression introduced by commit
9c138d772c692d44103a6641c32f3b74dc83303e.
wined3d: Implement support for per-stage texture stage constants.

This patch is loosely based on an earlier patch by Christian Costa.
wined3d: Get rid of surface_set_texture_target().
wined3d: Add NVIDIA Geforce GTX 780 Ti to supported device list.
uxtheme/tests: No need to check last error when error code is explicitly returned.
vbscript: Return proper error on invalid argument in Chr.