kaz Posted June 19, 2019 Share Posted June 19, 2019 Hello from france. I want to create a structure to be use by DllStructCreate. The structure look like this. typedef struct tagPROPVARIANT { union { typedef struct { VARTYPE vt; PROPVAR_PAD1 wReserved1; PROPVAR_PAD2 wReserved2; PROPVAR_PAD3 wReserved3; union { CHAR cVal; UCHAR bVal; SHORT iVal; USHORT uiVal; LONG lVal; ULONG ulVal; INT intVal; UINT uintVal; LARGE_INTEGER hVal; ULARGE_INTEGER uhVal; FLOAT fltVal; DOUBLE dblVal; VARIANT_BOOL boolVal; SCODE scode; CY cyVal; DATE date; FILETIME filetime; CLSID *puuid; CLIPDATA *pclipdata; BSTR bstrVal; BSTRBLOB bstrblobVal; BLOB blob; LPSTR pszVal; LPWSTR pwszVal; IUnknown *punkVal; IDispatch *pdispVal; IStream *pStream; IStorage *pStorage; LPVERSIONEDSTREAM pVersionedStream; LPSAFEARRAY parray; CAC cac; CAUB caub; CAI cai; CAUI caui; CAL cal; CAUL caul; CAH cah; CAUH cauh; CAFLT caflt; CADBL cadbl; CABOOL cabool; CASCODE cascode; CACY cacy; CADATE cadate; CAFILETIME cafiletime; CACLSID cauuid; CACLIPDATA caclipdata; CABSTR cabstr; CABSTRBLOB cabstrblob; CALPSTR calpstr; CALPWSTR calpwstr; CAPROPVARIANT capropvar; CHAR *pcVal; UCHAR *pbVal; SHORT *piVal; USHORT *puiVal; LONG *plVal; ULONG *pulVal; INT *pintVal; UINT *puintVal; FLOAT *pfltVal; DOUBLE *pdblVal; VARIANT_BOOL *pboolVal; DECIMAL *pdecVal; SCODE *pscode; CY *pcyVal; DATE *pdate; BSTR *pbstrVal; IUnknown **ppunkVal; IDispatch **ppdispVal; LPSAFEARRAY *pparray; PROPVARIANT *pvarVal; }; } tag_inner_PROPVARIANT, PROPVARIANT, *LPPROPVARIANT; DECIMAL decVal; }; } PROPVARIANT, *LPPROPVARIANT; This structure will be use to modify a lnk file. My knowledge about structure isn't very well (like my english...). Could someone help me? Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted June 19, 2019 Developers Share Posted June 19, 2019 (edited) Is this different from your previous thread as that is also about tagPROPVARIANT? Search on tagPROPVARIANT also returns several topic with that structure. Jos Edited June 19, 2019 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
kaz Posted June 19, 2019 Author Share Posted June 19, 2019 Hello, it's the first part of the same goal. I try to divide the job to progress a litle. Sorry if it's not a good idea. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 19, 2019 Developers Share Posted June 19, 2019 2 minutes ago, kaz said: Sorry if it's not a good idea. What do you think? Anyway: What about the previous posted threads I mentioned that have the structure defined in them? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
kaz Posted June 19, 2019 Author Share Posted June 19, 2019 I could complete the previous thread, if i'll find the solution, pehaps i could help another one. But if you want, you can clean it. Sorry again. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 19, 2019 Developers Share Posted June 19, 2019 (edited) 7 minutes ago, Jos said: Anyway: What about the previous posted threads I mentioned that have the structure defined in them? Third time I am asking this question! Edited June 19, 2019 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
kaz Posted June 19, 2019 Author Share Posted June 19, 2019 Sorry, i'm french, i don't really understand what you mean. My english is so basic. I hadn't obtain a answer on the previous thread, so i divide the question. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 19, 2019 Developers Share Posted June 19, 2019 23 minutes ago, Jos said: Search on tagPROPVARIANT also returns several topic with that structure. This really is pretty straightforward right? ... so put tagPROPVARIANT in the search box at the right top and hit Enter. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
kaz Posted June 19, 2019 Author Share Posted June 19, 2019 You spoke about this. I searched and spent some time. Every structure i found in this forum and on the web are the same and seem to be simplified versions. They arn't contain all the data. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now