Lines Matching refs:value
38 static inline HRESULT SetPropStrFromBin(const char *s, unsigned size, PROPVARIANT *value)
40 if ((value->bstrVal = ::SysAllocStringByteLen(s, size)) != NULL)
41 value->vt = VT_BSTR;
45 static inline HRESULT SetPropGUID(const GUID &guid, PROPVARIANT *value)
47 return SetPropStrFromBin((const char *)&guid, sizeof(guid), value);
94 STDAPI GetHandlerProperty2(UInt32 formatIndex, PROPID propID, PROPVARIANT *value);
95 STDAPI GetHandlerProperty2(UInt32 formatIndex, PROPID propID, PROPVARIANT *value)
98 NWindows::NCOM::PropVariant_Clear(value);
110 return SetPropGUID(clsId, value);
125 return SetPropStrFromBin((const char *)arc.Signature, arc.SignatureSize, value);
129 return SetPropStrFromBin((const char *)arc.Signature, arc.SignatureSize, value);
132 prop.Detach(value);
137 STDAPI GetHandlerProperty(PROPID propID, PROPVARIANT *value);
138 STDAPI GetHandlerProperty(PROPID propID, PROPVARIANT *value)
140 return GetHandlerProperty2(g_DefaultArcIndex, propID, value);