Creates a batch that will execute commands on a cluster registry key. These commands will be added to the batch by the ClusterRegBatchAddCommand function and either executed or ignored by the ClusterRegCloseBatch function.
LONG ClusterRegCreateBatch( __in_opt HKEY hKey, __out HREGBATCH *pHREGBATCH );
- hKey [in, optional]
The handle of the opened cluster registry key. All the operations on the batch are relative to this cluster registry key.
- pHREGBATCH [out]
The pointer to the handle of the created batch.
The function returns one of the following system error codes.
The operation was successful.
Not enough storage is available to complete this operation.
A device attached to the system is not functioning.
The parameter is incorrect. This value will be returned if the hKey parameter is NULL.
The key should not be closed until the batch has been submitted for execution.
The PCLUSTER_REG_CREATE_BATCH type defines a pointer to this function.
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2008 Datacenter Edition, Windows Server 2008 Enterprise Edition|
Build date: 2/9/2009