The CLUSCTL_RESOURCE_STORAGE_IS_PATH_VALID control code is used to verify a path to a storage class resource.
Type: | External |
Access: | CLUS_ACCESS_READ |
Input: | Null-terminated Unicode string |
Output: | None |
Global: | CLUS_NOT_GLOBAL |
Modify: | CLUS_NO_MODIFY |
Code: | CLCTL_STORAGE_IS_PATH_VALID |
Pass in the contents of the lpInBuffer parameter to ClusterResourceControl a directory path that excludes the file name.
Support the CLUSCTL_RESOURCE_STORAGE_IS_PATH_VALID control code if your resources are storage class resources by returning ERROR_SUCCESS if the path specified as input is valid.