On 28/02/2021 11:05 PM, Max Haughton wrote: > Do the windows APIs expect the length in memory rather than as a parameter? This sounds like its being sent via a user field to be passed to a callback. I.e. event loop for a window. In this sort of case you only get one parameter on the callback and it is only big enough for a pointer.