Copies or moves a substorage or stream from this storage object to another
| const wchar_t pwcsName,
||//Name of the element to be moved
| IStorage * pstgDest,
||//Points to destination storage object
| LPWSTR pwcsNewName,
||//Points to new name of element in destination
| DWORD grfFlags
||//Specifies a copy or a move
[in]Specifies the name of the element in this storage object to be moved or
[in]Points to the destination storage object.
[in]Points to the new name for the element in its new storage object.
[in]Specifies whether the operation should be a move (STGMOVE_MOVE) or a copy
(STGMOVE_COPY). See the STGMOVE
The storage object was successfully copied or moved.
The destination storage object is a child of the source storage object.
The element with the specified name does not exist.
The specified file already exists.
The copy or move was not completed due to a lack of memory.
The value for the grfFlags
parameter is not valid.
Invalid value for pwcsName
The pointer specified for the storage object was invalid.
One of the parameters was invalid.
The object has been invalidated by a revert operation above it in the
The copy or move was not completed because there are too many open files.
method is typically the same as invoking the IStorage::CopyTo
method on the indicated element and then removing the source element. In this
case, the MoveElementTo
method uses only the publicly available functions of the destination storage
object to carry out the move.
If the source and destination storage objects have special knowledge about
each other's implementation (for example, they could be different instances of the
implementation), this operation can be implemented efficiently.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database