CMFCFilterChunkValueImpl Class
This is a class which simplifies both chunk and property value pair logic.
class CMFCFilterChunkValueImpl : public ATL::IFilterChunkValue;
Members
Public Constructors
Name |
Description |
---|---|
Destructs the object. |
|
Constructs the object. |
Public Methods
Name |
Description |
---|---|
Clears the ChunkValue. |
|
Copies this chunk to a structure describing the characteristics of a chunk. |
|
Initializes this chunk value from the other value. |
|
Retrieves the chunk GUID. |
|
Retrieves the chunk PID (property ID). |
|
Gets chunk type. |
|
Retrieves the the string value. |
|
Retrieves the value as an allocated propvariant. |
|
Returns non-allocated (internal value) value. |
|
Checks whether this property value is valid or not. |
|
Overloaded. Sets the property by key to a Boolean. |
|
Sets the property by key to a DWORD. |
|
Sets the property by key to a filetime. |
|
Sets the property by key to an int64. |
|
Sets the property by key to an int. |
|
Sets the property by key to a LONG. |
|
Sets the property by key to a SystemTime. |
|
Sets the property by key to a Unicode string. |
Protected Methods
Name |
Description |
---|---|
A helper function that sets the chunk's common properties. |
Remarks
To use, you simply create a CMFCFilterChunkValueImpl class of the right kind
Example:
CMFCFilterChunkValueImpl chunk;
hr = chunk.SetBoolValue(PKEY_IsAttachment, true);
or
hr = chunk.SetFileTimeValue(PKEY_ItemDate, ftLastModified);
Inheritance Hierarchy
Requirements
Header: afxwin.h