I have tested the STORAGE_PROPERTY_QUERY structure here his:
STORAGE_PROPERTY_QUERY STRUCT
PropertyId DWORD ?
QueryType DWORD ?
AdditionalParameters BYTE 1 dup (?)
STORAGE_PROPERTY_QUERY ENDS
For each individual part of the structure the c++ agree with the size
stock = sizeof(STORAGE_PROPERTY_QUERY); 12
stock = sizeof(mesure.PropertyId); 4
stock = sizeof(mesure.QueryType); 4
stock = sizeof(mesure.AdditionalParameters); 1
4+4+1=12 ???
I suppose that an alignment or a round is made for the byte.
How to do the same thing with masm ??????