6.2 Return Values

Code Name

Description

NCS_SUCCESS

Successful completion.

NCS_ERROR_INVALID_HANDLE

An invalid handle was supplied.

NCS_ERROR_INVALID_PARAMETER

An invalid parameter was supplied.

NCS_FAILURE

General error.

NCS_BUSY

Retry the MAPI (NCS_ResourceControl only).

NCS_ERROR_TOO_MANY_HANDLES

Attempt was made to open too many sessions.

NCS_UNKNOWN

Cluster configuration library errors.

NCS_BAD_PARAMETER

Bad parameter, probably NULL.

NCS_ALLOC_ERROR

Failed to allocate memory. Memory leak or reboot the server.

NCS_NODE_NOT_FOUND

The node is not defined in the cluster.

NCS_IP_DUPLICATE

The IP address is already used in another cluster resource or node.

NCS_RESOURCE_ONLINE

The resource is online. It must be offline for modification.

NCS_RESOURCE_NOT_FOUND

The resource is not found in the cluster container.

NCS_RESOURCE_FOUND

The resource is found in the cluster container.

NCS_NOT_CLUSTER_MEMBER

The node is not a cluster member.

NCS_NO_RESOURCES

Insufficient resources available.

NCS_TRYLOCK_HELD

NCS_TryLock failed; the lock is held.

NCS_JOIN_LEAVE_PENDING

Join or leave already pending (for NCSJoinLeaveDown).

NCS_JOIN_LEAVE_ALREADY_IN

Already a member of the cluster.

NCS_JOIN_LEAVE_NOT_IN

Not a member of the cluster (for NCSJoinLeaveDown).

NCS_JOIN_LEAVE_NO_GIPC

GIPC is required but not present (for NCSJoinLeaveDown).

NCS_JOIN_LEAVE_GIPC_ERROR

GIPC encountered an error (for NCSJoinLeaveDown).

NCS_JOIN_LEAVE_SBD_ERROR

SBD encountered an error (for NCSJoinLeaveDown).

NCS_JOIN_LEAVE_TIMED_OUT

Timed out join or leave wait (for NCSJoinLeaveDown).

NCS_JOIN_LEAVE_EVENT_EXIT

The event thread was shut down (either GIPC deregistered or the NLM unloaded) (for NCSJoinLeaveDown).

NCS_NOT_SUPPORTED

Used by functions not supported by NetWare® 5.1.

NCS_SUCCESS

Successful completion.