https://bugs.winehq.org/show_bug.cgi?id=41350
--- Comment #3 from winetest@luukku.com --- According to msdn page
lpcbSecurityDescriptor [out, optional]
A pointer to a variable that receives the size of the key's security descriptor, in bytes. This parameter can be NULL.
Can you compile wine yourself?