ClusterRegReadBatchAddCommand function (clusapi.h)
Adds a read command to a batch that executes on a cluster registry key.
LONG ClusterRegReadBatchAddCommand( [in] HREGREADBATCH hRegReadBatch, [in, optional] LPCWSTR wzSubkeyName, [in, optional] LPCWSTR wzValueName );
The handle of the read batch to which a command will be added. Create a batch by calling the ClusterRegCreateReadBatch function.
[in, optional] wzSubkeyName
The name of the key relative to the cluster registry key. If this name is NULL, the read is performed on the cluster registry key represented in the hRegReadBatch parameter.
[in, optional] wzValueName
The name of the registry value to be read. If this name is NULL, the content of the default value is returned.
The function returns one of the following system error codes.
||The operation was successful.|
||Not enough storage is available to complete this operation.|
||hRegReadBatch is NULL or not valid.|
Additional calls to the ClusterRegReadBatchAddCommand function add additional read commands to the batch.
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2012|