ISimilarityTraitsMapping::ResizeMapping method

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

Syntax

HRESULT ResizeMapping(
  RdcMappingAccessMode accessMode,
  unsigned __int64     begin,
  unsigned __int64     end,
  unsigned __int64     *actualEnd
);

Parameters

accessMode

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

begin

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

end

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

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header msrdc.h
DLL MsRdc.dll

See Also

ISimilarityTraitsMapping