Hi all COM guru's ;)

Does someone have the asm version of the "PROPSPEC" & "PROPVARIANT" structures ???
I've just read random thread but......... ;)

tx for your help....
Posted on 2003-04-29 09:17:49 by PhoBos
I'm not a COM guru but I'll try
PROPSPEC STRUCT

ulKind DD ?
UNION
propid DD ?
lpwstr DD ?
ENDS
PROPSPEC ENDS
PROPVARIANT is rather big to convert :rolleyes: so... :)

I suggest you play this on C using
printf("%d", sizeof(X));
where X is the data type. And don't forget pointers(*) are always DD, Float is REAL4 or DD, Double is Real8 or DQ....
PROPVARIANT STRUCT

vt DW ?
wReserved1 DW ?
wReserved2 DW ?
wReserved3 DW ?
UNION
cVal DB ?
bVal DB ?
iVal DW ?
uiVal DW ?
lVal DD ?
intVal DW ?
ulVal DW ?
uintVal DW ?
hVal LARGE_INTEGER<>
;uhVal ULARGE_INTEGER<>
fltVal REAL4 ?
dblVal REAL8 ?
;cyVal CY<>
;date DATE<>
bstrVal DD ?
boolVal DW ?
scode DD ?
filetime FILETIME<>
pszVal DD ?
pwszVal DD ?

ENDS
PROPVARIANT ENDS
here's my incomplete version, it's rather long but I have other things to do. :)
Posted on 2003-04-29 22:49:38 by arkane
a big thank you tu you arkane !! :alright:
i will end this up !
Posted on 2003-04-30 07:10:14 by PhoBos