Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The types of operations that can be performed on placeholder files and directories.
Also see Cloud Mirror sample.
Syntax
typedef enum CF_OPERATION_TYPE {
CF_OPERATION_TYPE_TRANSFER_DATA,
CF_OPERATION_TYPE_RETRIEVE_DATA,
CF_OPERATION_TYPE_ACK_DATA,
CF_OPERATION_TYPE_RESTART_HYDRATION,
CF_OPERATION_TYPE_TRANSFER_PLACEHOLDERS,
CF_OPERATION_TYPE_ACK_DEHYDRATE,
CF_OPERATION_TYPE_ACK_DELETE,
CF_OPERATION_TYPE_ACK_RENAME
} ;
Constants
CF_OPERATION_TYPE_TRANSFER_DATAA sync provider performs TRANSFER_DATA to hydrate a placeholder file. This operation can be performed as a response to a FETCH_DATA callback, a VALIDATE_DATA callback, or as part of a preemptive background hydration effort outside of any callback context. |
CF_OPERATION_TYPE_RETRIEVE_DATAA sync provider performs a RETRIEVE_DATA operation as part of the placeholder hydration in order to validate the integrity of the data that was previously transferred to the placeholder. This operation can be performed as a response to a FETCH_DATA callback, a VALIDATE_DATA callback, or as part of a preemptive background hydration effort outside of any callback context. |
CF_OPERATION_TYPE_ACK_DATAA sync provider performs a ACK_DATA operation as part of the placeholder hydration after validating the integrity of the data that was previously transferred to the platform. This operation can be performed as a response to a FETCH_DATA callback, a VALIDATE_DATA callback, or as part of a preemptive background hydration effort outside of any callback context |
CF_OPERATION_TYPE_RESTART_HYDRATIONA sync provider performs a RESTART_HYDRATION operation to restart an ongoing hydration. This operation can be performed as a response to a FETCH_DATA callback, a VALIDATE_DATA callback, or as part of a preemptive background hydration effort outside of any callback context. |
CF_OPERATION_TYPE_TRANSFER_PLACEHOLDERSTransfers placeholders. The sync provider must transfer all placeholders matching the pattern but not necessarily in one-shot, as a minimum requirement. The sync provider may additionally choose to transfer placeholders not matching the pattern. |
CF_OPERATION_TYPE_ACK_DEHYDRATEAcknowledge and dehydrate a placeholder. |
CF_OPERATION_TYPE_ACK_DELETEAcknowledge and delete a placeholder. |
CF_OPERATION_TYPE_ACK_RENAMEAcknowledge and rename a placeholder. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1709 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Header | cfapi.h |