Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Indicates the type of message passed in the COPYFILE2_MESSAGE structure to the CopyFile2ProgressRoutine callback function.
Syntax
typedef enum _COPYFILE2_MESSAGE_TYPE {
COPYFILE2_CALLBACK_NONE = 0,
COPYFILE2_CALLBACK_CHUNK_STARTED,
COPYFILE2_CALLBACK_CHUNK_FINISHED,
COPYFILE2_CALLBACK_STREAM_STARTED,
COPYFILE2_CALLBACK_STREAM_FINISHED,
COPYFILE2_CALLBACK_POLL_CONTINUE,
COPYFILE2_CALLBACK_ERROR,
COPYFILE2_CALLBACK_MAX
} COPYFILE2_MESSAGE_TYPE;
Constants
COPYFILE2_CALLBACK_NONEValue: 0 Not a valid value. |
COPYFILE2_CALLBACK_CHUNK_STARTEDIndicates a single chunk of a stream has started to be copied. |
COPYFILE2_CALLBACK_CHUNK_FINISHEDIndicates the copy of a single chunk of a stream has completed. |
COPYFILE2_CALLBACK_STREAM_STARTEDIndicates both source and destination handles for a stream have been opened and the copy of the stream is about to be started. |
COPYFILE2_CALLBACK_STREAM_FINISHEDIndicates the copy operation for a stream have started to be completed. |
COPYFILE2_CALLBACK_POLL_CONTINUEMay be sent periodically. |
COPYFILE2_CALLBACK_ERROR |
COPYFILE2_CALLBACK_MAXAn error was encountered during the copy operation. |
Remarks
To compile an application that uses this enumeration, define the _WIN32_WINNT macro as 0x0601 or later. For more information, see Using the Windows Headers.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Header | winbase.h (include Windows.h) |