ISimilarityTraitsMapping::OpenMapping method

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

accessMode [in]

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

begin [in]

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

end [in]

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

actualEnd [out]

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

Header

MsRdc.h

IDL

MsRdc.idl

DLL

MsRdc.dll

See also

ISimilarityTraitsMapping

 

 

Show: