ISimilarityTraitsMapping::CreateView method (msrdc.h)

Maps a view of the file mapping for a similarity traits table file.


HRESULT CreateView(
  [in]  DWORD                       minimumMappedPages,
  [in]  RdcMappingAccessMode        accessMode,
  [out] ISimilarityTraitsMappedView **mappedView


[in] minimumMappedPages

Minimum number of pages of the file mapping to map to the view.

[in] accessMode

RdcMappingAccessMode enumeration value that specifies the desired access to the file mapping object.

[out] mappedView

Pointer to a location that will receive the returned ISimilarityTraitsMappedView interface pointer. Callers must release the interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


Data accessed through read-only views will never be modified.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header msrdc.h
DLL MsRdc.dll

See also