https://bugs.winehq.org/show_bug.cgi?id=48174
--- Comment #54 from Rafał Mużyło galtgendo@o2.pl --- ,,,OK, first part is completely irrelevant, given that GetBytes produces an array of *bytes*, not characters; yet, marshaling seems the only stage where that those nulls get added on Windows - only thing that happens before the call is 'ref byte byte& = ref text[0];'