ISimilarityTraitsMapping::CreateView method (msrdc.h)

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

Syntax

HRESULT CreateView(
  DWORD                       minimumMappedPages,
  RdcMappingAccessMode        accessMode,
  ISimilarityTraitsMappedView **mappedView
);

Parameters

minimumMappedPages

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

accessMode

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

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