Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Retrieves a value (internal value-type property) from a chunk, which must have a CHUNKSTATE enumeration value of CHUNK_VALUE.
SCODE GetValue(
[out] PROPVARIANT **ppPropValue
);
[out] ppPropValue
A pointer to an output variable that receives a pointer to the PROPVARIANT structure that contains the value-type property.
This method can return one of these values.
Return code | Description |
---|---|
|
The operation was completed successfully. |
|
The GetValue method has already been called on this chunk; this value should be returned until the IFilter::GetChunk method has been called successfully and has advanced to the next chunk. |
|
The current chunk does not have a CHUNKSTATE enumeration value of CHUNK_VALUE. |
Call the GetValue method only once per chunk.
Note that the effect of producing the same value from more than one chunk is undefined. Only the last setting of the value is valid.
Allocate the PROPVARIANT structure with CoTaskMemAlloc. Some PROPVARIANT structures contain pointers, which can be freed by calling the PropVariantClear function. It is up to the caller of the GetValue method to call PropVariantClear.Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | filter.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today