Home
last modified time | relevance | path

Searched refs:propvar (Results 1 – 13 of 13) sorted by relevance

/reactos/modules/rostests/winetests/propsys/
H A Dpropsys.c488 ok(propvar.vt == VT_LPWSTR, "%d) propvar.vt = %d\n", i, propvar.vt); in test_InitPropVariantFromGUIDAsString()
516 ok(propvar.vt == (VT_VECTOR|VT_UI1), "propvar.vt = %d\n", propvar.vt); in test_InitPropVariantFromBuffer()
522 ok(propvar.vt == (VT_VECTOR|VT_UI1), "propvar.vt = %d\n", propvar.vt); in test_InitPropVariantFromBuffer()
861 propvar.vt = VT_I8; in test_intconversions()
864 propvar.vt = VT_I8; in test_intconversions()
913 propvar.vt = VT_I8; in test_intconversions()
944 propvar.vt = VT_I4; in test_intconversions()
958 propvar.vt = VT_I2; in test_intconversions()
1014 propvar.vt = VT_I4; in test_PropVariantToBoolean()
1319 memset(&propvar, 0, sizeof(propvar)); in test_InitPropVariantFromCLSID()
[all …]
H A Dpropstore.c53 PROPVARIANT propvar; in test_inmemorystore() local
86 memset(&propvar, 0, sizeof(propvar)); in test_inmemorystore()
87 propvar.vt = VT_I4; in test_inmemorystore()
117 memset(&propvar, 0, sizeof(propvar)); in test_inmemorystore()
131 ok(propvar.vt == VT_I4, "expected VT_I4, got %d\n", propvar.vt); in test_inmemorystore()
181 memset(&propvar, 0, sizeof(propvar)); in test_inmemorystore()
185 ok(propvar.vt == VT_I4, "expected VT_I4, got %d\n", propvar.vt); in test_inmemorystore()
186 ok(propvar.u.lVal == 12346, "expected 12346, got %d\n", propvar.vt); in test_inmemorystore()
198 memset(&propvar, 0, sizeof(propvar)); in test_inmemorystore()
202 ok(propvar.vt == VT_I4, "expected VT_I4, got %d\n", propvar.vt); in test_inmemorystore()
[all …]
/reactos/modules/rostests/winetests/ole32/
H A Dpropvariant.c190 memset(&propvar, 0x55, sizeof(propvar)); in test_validtypes()
193 ok(propvar.vt == 0, "expected 0, got %d\n", propvar.vt); in test_validtypes()
195 U(propvar).uhVal.u.LowPart, U(propvar).uhVal.u.HighPart); in test_validtypes()
201 memset(&propvar, 0x55, sizeof(propvar)); in test_validtypes()
203 memset(&propvar, 0, sizeof(propvar)); in test_validtypes()
229 ok(propvar.vt == 0, "expected 0, got %d\n", propvar.vt); in test_validtypes()
233 memset(&propvar, 0x55, sizeof(propvar)); in test_validtypes()
252 ok(propvar.vt == 0, "expected 0, got %d\n", propvar.vt); in test_validtypes()
256 memset(&propvar, 0x55, sizeof(propvar)); in test_validtypes()
280 memset(&propvar, 0x55, sizeof(propvar)); in test_validtypes()
[all …]
/reactos/modules/rostests/winetests/msi/
H A Dsuminfo.c306 PROPVARIANT propvar[10]; in test_create_database_binary() local
347 propvar[0].vt = VT_LPSTR; in test_create_database_binary()
352 propvar[1].vt = VT_LPSTR; in test_create_database_binary()
357 propvar[2].vt = VT_LPSTR; in test_create_database_binary()
362 propvar[3].vt = VT_LPSTR; in test_create_database_binary()
367 propvar[4].vt = VT_LPSTR; in test_create_database_binary()
372 propvar[5].vt = VT_I4; in test_create_database_binary()
373 propvar[5].lVal = 100; in test_create_database_binary()
377 propvar[6].vt = VT_I4; in test_create_database_binary()
378 propvar[6].lVal = 0; in test_create_database_binary()
[all …]
/reactos/dll/win32/propsys/
H A Dpropstore.c43 PROPVARIANT propvar; member
105 PropVariantClear(&cursor->propvar); in destroy_format()
286 hr = PropVariantCopy(pv, &value->propvar); in PropertyStore_GetValue()
299 REFPROPERTYKEY key, REFPROPVARIANT propvar) in PropertyStore_SetValue() argument
306 TRACE("%p,%p,%p\n", iface, key, propvar); in PropertyStore_SetValue()
313 hr = PropVariantCopy(&temp, propvar); in PropertyStore_SetValue()
317 PropVariantClear(&value->propvar); in PropertyStore_SetValue()
318 value->propvar = temp; in PropertyStore_SetValue()
370 hr = PropVariantCopy(ppropvar, &value->propvar); in PropertyStore_GetValueAndState()
426 PropVariantClear(&value->propvar); in PropertyStore_SetValueAndState()
[all …]
H A Dpropvar.c793 static BOOL isemptyornull(const PROPVARIANT *propvar) in isemptyornull() argument
795 if (propvar->vt == VT_EMPTY || propvar->vt == VT_NULL) in isemptyornull()
797 if ((propvar->vt & VT_ARRAY) == VT_ARRAY) in isemptyornull()
800 for (i=0; i<propvar->u.parray->cDims; i++) in isemptyornull()
802 if (propvar->u.parray->rgsabound[i].cElements != 0) in isemptyornull()
805 return i == propvar->u.parray->cDims; in isemptyornull()
807 if (propvar->vt == VT_CLSID) in isemptyornull()
808 return !propvar->u.puuid; in isemptyornull()
H A Dpropsys_main.c194 REFPROPERTYKEY key, REFPROPVARIANT propvar, PROPDESC_FORMAT_FLAGS flags, in propsys_FormatForDisplay() argument
197 FIXME("%p %p %x %p %d: stub\n", key, propvar, flags, dest, destlen); in propsys_FormatForDisplay()
202 REFPROPERTYKEY key, REFPROPVARIANT propvar, PROPDESC_FORMAT_FLAGS flags, in propsys_FormatForDisplayAlloc() argument
205 FIXME("%p %p %x %p: stub\n", key, propvar, flags, text); in propsys_FormatForDisplayAlloc()
H A DCMakeLists.txt9 propvar.c
/reactos/sdk/include/psdk/
H A Dpropsys.idl84 [in] REFPROPVARIANT propvar
104 [in] REFPROPVARIANT propvar
505 [in,out] PROPVARIANT *propvar
508 [in] REFPROPVARIANT propvar,
512 [in] REFPROPVARIANT propvar,
517 [in] REFPROPVARIANT propvar
529 [in] REFPROPVARIANT propvar,
646 [in] REFPROPVARIANT propvar,
653 [in] REFPROPVARIANT propvar,
H A Dshobjidl.idl944 [in] REFPROPVARIANT propvar);
949 [out] PROPVARIANT *propvar);
/reactos/dll/win32/ole32/
H A Dstg_prop.c132 const PROPVARIANT *propvar, LCID targetCP, LCID srcCP);
439 const PROPVARIANT *propvar, LCID targetCP, LCID srcCP) in PropertyStorage_PropVariantCopy() argument
444 assert(propvar); in PropertyStorage_PropVariantCopy()
445 if (propvar->vt == VT_LPSTR) in PropertyStorage_PropVariantCopy()
447 hr = PropertyStorage_StringCopy(propvar->u.pszVal, srcCP, in PropertyStorage_PropVariantCopy()
453 PropVariantCopy(prop, propvar); in PropertyStorage_PropVariantCopy()
465 PROPID propid, const PROPVARIANT *propvar, LCID lcid) in PropertyStorage_StorePropWithId() argument
470 assert(propvar); in PropertyStorage_StorePropWithId()
471 if (propvar->vt & VT_BYREF || propvar->vt & VT_ARRAY) in PropertyStorage_StorePropWithId()
473 switch (propvar->vt) in PropertyStorage_StorePropWithId()
[all …]
/reactos/sdk/lib/rtl/
H A DCMakeLists.txt64 propvar.c
/reactos/modules/rostests/winetests/windowscodecs/
H A Dmetadata.c40 #define expect_blob(propvar, data, length) do { \ argument
41 ok((propvar).vt == VT_BLOB, "unexpected vt: %i\n", (propvar).vt); \
42 if ((propvar).vt == VT_BLOB) { \
43 …ok(U(propvar).blob.cbSize == (length), "expected size %u, got %u\n", (ULONG)(length), U(propvar).b…
44 if (U(propvar).blob.cbSize == (length)) { \
45 ok(!memcmp(U(propvar).blob.pBlobData, (data), (length)), "unexpected data\n"); \