Jump to content

DM DRAGERROR

From EDM2
Revision as of 22:31, 20 April 2025 by Martini (talk | contribs) (Created page with "This message is sent to the caller of DrgDragFiles or DrgAcceptDroppedFiles when an error occurs during a move or copy operation for a file. ==Syntax== <PRE> param1 USHORT usError; Error code.: USHORT usOperation; Flag.: param2 HSTR hstr; HSTR of file contributing to the error.: </PRE> ==Parameters== ;usError (USHORT) - Input : Returned from DosCopy, DosMove, or DosDelete. ;usOperation (USHORT) - Input : Flag indicating the o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent to the caller of DrgDragFiles or DrgAcceptDroppedFiles when an error occurs during a move or copy operation for a file.

Syntax

param1
USHORT usError;     /* Error code. */
USHORT usOperation; /* Flag. */

param2
HSTR hstr;          /* HSTR of file contributing to the error. */

Parameters

usError (USHORT) - Input
Returned from DosCopy, DosMove, or DosDelete.
usOperation (USHORT) - Input
Flag indicating the operation that failed.
DFF_MOVE: DosMove failed.
DFF_COPY: DosCopy failed.
DFF_DELETE: DosDelete failed.
hstr (HSTR) - Input
HSTR of file contributing to the error.

Returns

hstrAction (HSTR) - returns
Action indicator.
DME_IGNORECONTINUE: Do not retry the operation, but continue with the rest of the files.
DME_IGNOREABORT: Do not retry the operation, and do not try any other files.
DME_RETRY: Retry the operation.
DME_REPLACE: Replace the file at the destination. Used if is not specified.
Other: HSTR of new file name to use for retry.

Remarks

The receiver of this message should return the action that the sender should take.

Default Processing

The WinDefWindowProc function does not expect to receive this message and takes no action other than to return FALSE.