shell32: Add a stub for RegenerateUserEnvironment.
version: Handle NULL puLen parameter for VerQueryValueA/W.
server: Add a missing socket protocol attribution.

The new socket has to inherit the information just like family and type.
server: Store the time of the socket connection.

Based on a patch by Erich Hoover.
ddraw/tests: Rename modes and rectangles in test_coop_level_mode_set.
ddraw/tests: Ddraw restores the mode settings from the registry.
d3d/tests: Test fog interpolation.
d3d9/tests: Allow passing a resolution to reset_device in d3d9ex.
server: Set the security descriptor of named pipe objects.
odbc32: Add a version resource.
avifil32: Simplify comparing two unsigned ints (PVS-Studio).
gameux: Simplify the check for an empty string (PVS-Studio).
mciwave: Simplify the check for an empty string (PVS-Studio).
crypt32/tests: Remove an unused assignment (PVS-Studio).