haskell/win32 — pull request #6 by simon-nicholls (2012-07-24 07:03:23+00:00)
Title: regSetStringValue should account for null terminator in value string

Shouldn't regSetStringValue account for the NULL terminator in the value string?

MSDN indicates that "REG_SZ specifies a null-terminated Unicode string", and for the corresponding cbData "This parameter must include the size of the terminating null character".

http://msdn.microsoft.com/en-us/library/aa916717.aspx