STGMOVE enumeration (wtypes.h)

The STGMOVE enumeration values indicate whether a storage element is to be moved or copied. They are used in the IStorage::MoveElementTo method.

Syntax

typedef enum tagSTGMOVE {
  STGMOVE_MOVE = 0,
  STGMOVE_COPY = 1,
  STGMOVE_SHALLOWCOPY = 2
} STGMOVE;

Constants

 
STGMOVE_MOVE
Value: 0
Indicates that the method should move the data from the source to the destination.
STGMOVE_COPY
Value: 1
Indicates that the method should copy the data from the source to the destination. A copy is the same as a move except that the source element is not removed after copying the element to the destination. Copying an element on top of itself is undefined.
STGMOVE_SHALLOWCOPY
Value: 2
Not implemented.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wtypes.h

See also

IStorage::MoveElementTo