Windows Dev Center

ClusterRegBatchReadCommand function

Reads a command from a batch notification.

Syntax


LONG WINAPI ClusterRegBatchReadCommand(
  _In_  HREGBATCHNOTIFICATION hBatchNotification,
  _Out_ CLUSTER_BATCH_COMMAND *pBatchCommand
);

Parameters

hBatchNotification [in]

A handle to the batch notification.

pBatchCommand [out]

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.

Return code/valueDescription
ERROR_SUCCESS
0

The operation was successful. This error returns if the command is properly filled.

ERROR_INVALID_HANDLE
6

The handle is not valid. This error is returned if the hBatchNotification parameter is NULL.

ERROR_NO_MORE_ITEMS
259 (0x103)

No more data is available. This error is returned if there is no more information for the notification.

 

Remarks

The PCLUSTER_REG_GET_BATCH_NOTIFICATION type defines a pointer to this function.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

Cluster Registry Access Functions
CLUSTER_BATCH_COMMAND

 

 

Show:
© 2015 Microsoft