ISimilarityTraitsMapping interface (msrdc.h)
Provides methods that an RDC application can implement for creating and manipulating a file mapping object for a similarity traits table file.
This interface is used together with the ISimilarityTraitsMappedView interface to allow the application to provide the I/O services needed by the ISimilarityTraitsTable and ISimilarity interfaces. The implementation model is based on memory mapped files, but the interface is rich enough to support other models as well, such as memory-only arrays or traditional file accesses.
This interface is used to represent the file on which multiple read-only or read/write views can be created. There can be multiple overlapping read-only mapped views of the same area of a file, and one or more read-only views can overlap a read/write view, but there can be only one read/write view of a given area of a file.
Inheritance
The ISimilarityTraitsMapping interface inherits from the IUnknown interface. ISimilarityTraitsMapping also has these types of members:
Methods
The ISimilarityTraitsMapping interface has these methods.
ISimilarityTraitsMapping::CloseMapping Closes a file mapping object for a similarity traits table file. |
ISimilarityTraitsMapping::CreateView Maps a view of the file mapping for a similarity traits table file. |
ISimilarityTraitsMapping::GetFileSize Returns the size of a similarity traits table file. |
ISimilarityTraitsMapping::GetPageSize Returns the page size (disk block size) for a similarity traits table file. |
ISimilarityTraitsMapping::OpenMapping Opens the file mapping object for a similarity traits table file. |
ISimilarityTraitsMapping::ResizeMapping Resizes the file mapping object for a similarity traits table file. |
ISimilarityTraitsMapping::SetFileSize Sets the size of a similarity traits table file. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | msrdc.h |