ISimilarityTraitsMapping::CreateView method (msrdc.h)

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

Syntax

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

Parameters

[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.

Remarks

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

Requirements

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

See also

ISimilarityTraitsMapping