The CLUSCTL_RESOURCE_GET_REGISTRY_CHECKPOINTS control code is used to request a list of all set checkpoints for a resource.
Type: | External |
Access: | CLUS_ACCESS_READ |
Input: | None |
Output: | Array of null-terminated Unicode strings |
Global: | CLUS_NOT_GLOBAL |
Modify: | CLUS_NO_MODIFY |
Code: | CLCTL_GET_REGISTRY_CHECKPOINTS |
ClusterResourceControl returns in the lpOutBuffer parameter a pointer to a list of registry keys. Each key is one of the REG_MULTI_SZ registry keys that has previously been added to the resource's list of checkpoints with the CLUSCTL_RESOURCE_ADD_REGISTRY_CHECKPOINT control code.
If your resource DLL needs to replicate a portion of the system registry, you must support the CLUSCTL_RESOURCE_GET_REGISTRY_CHECKPOINTS control code. Otherwise, allow the Resource Monitor to handle it by returning ERROR_INVALID_FUNCTION from your ResourceControl entry point function.