ISimilarityTraitsMapping::OpenMapping method (msrdc.h)

Opens the file mapping object for a similarity traits table file.

Syntax

HRESULT OpenMapping(
  [in]  RdcMappingAccessMode accessMode,
  [in]  unsigned __int64     begin,
  [in]  unsigned __int64     end,
  [out] unsigned __int64     *actualEnd
);

Parameters

[in] accessMode

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

[in] begin

File offset, in bytes, where the file mapping is to begin.

[in] end

File offset, in bytes, where the file mapping is to end.

[out] actualEnd

Pointer to a location that receives the file offset, in bytes, of the actual end of the file mapping, rounded up to the nearest block size.

Return value

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

Requirements

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

See also

ISimilarityTraitsMapping