On 2020-01-29 15:32, ToddAndMargo via perl6-users wrote:
`DWORD cbData`
cbData is a 32 bit unsigned integer. It follows all the rules for unsigned integers. You do not terminate it. WinAPI knows it is 32 bits long. lpData (Long Pointer Data) is where you put the 0x0000 at the end, if you are using it as a string. lpData is an array of bytes of your chosen length.