ClusterRegBatchReadCommand function (clusapi.h)

Reads a command from a batch notification.

Syntax

LONG ClusterRegBatchReadCommand(
  [in]  HREGBATCHNOTIFICATION hBatchNotification,
  [out] CLUSTER_BATCH_COMMAND *pBatchCommand
);

Parameters

[in] hBatchNotification

A handle to the batch notification.

[out] pBatchCommand

Pointer to a CLUSTER_BATCH_COMMAND structure that will be filled with information about the command on successful return.

Return value

The function returns one of the following system error codes.

Remarks

The PCLUSTER_REG_GET_BATCH_NOTIFICATION type defines a pointer to this function.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

See also

CLUSTER_BATCH_COMMAND

Cluster Registry Access Functions