There are a number of options, see snippet below for testing. The question is which size the API expects if it throws an error.
include \masm32\include\masm32rt.inc
STORAGE_PROPERTY_QUERY STRUCT ;DWORD
PropertyId DWORD ?
QueryType DWORD ?
AdditionalParameters BYTE ?
; manual_padding db (DWORD-1) dup(?)
STORAGE_PROPERTY_QUERY ENDS
.code
spq STORAGE_PROPERTY_QUERY <>
dummy dd ?
start: mov eax, offset dummy
sub eax, offset spq
print str$(eax), " bytes in memory", 13, 10
print str$(sizeof spq), " size of spq", 13, 10
print str$(sizeof STORAGE_PROPERTY_QUERY), " size of STORAGE_PROPERTY_QUERY", 13, 10
print str$(STORAGE_PROPERTY_QUERY), " STORAGE_PROPERTY_QUERY", 13, 10
inkey " "
exit
end start