Would it be possible that windows somewhat fix them automagically? H.
-----Message d'origine----- De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Colin Finck Envoyé : mardi 30 juin 2015 18:18 À : ros-dev@reactos.org Objet : Re: [ros-dev] [ros-diffs] [cfinck] 68253: [SPOOLSS] Halfplement and document the undocumented but exported MarshallDownStructure API. Information about this API was exclusively gained by writing a custom XML file for rohita...
Am 30.06.2015 um 15:17 schrieb Alex Ionescu:
Well, you may at least want to validate that your dwOffsets are within cbSize?
I had my tests under Windows and I was able to put all kinds of bogus values into cbSize, cbPerElementSize and cbStructureSize, without any visible effect on the function output. So I wanted to leave it that way for compatibility.
Cheers,
Colin