Partager via


CAtlFileMappingBase::CopyFrom

Call this method to copy from a file-mapping object.

HRESULT CopyFrom(
   CAtlFileMappingBase& orig 
) throw( );

Parameters

  • orig
    The original file-mapping object to copy from.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlfile.h

See Also

Concepts

CAtlFileMappingBase Class

CAtlFileMappingBase Members