Error codes

Defines

#define TC_SUCCESS   (TC_STATUS)0x00000000
 The call was successful.
#define TC_SUCCESS_REBOOT_REQUIRED   (TC_STATUS)0x00000001
 The call was successful but a reboot is required for the operation to be effective.
#define TC_ERROR_NO_PORT   (TC_STATUS)0x20000001
 The port does not exist.
#define TC_ERROR_UNKNOWN   (TC_STATUS)0x20000002
 An unknown error occurred.
#define TC_ERROR_NOT_IMPLEMENTED   (TC_STATUS)0x20000003
 This feature has not been implemented yet.
#define TC_ERROR_INVALID_REQUEST   (TC_STATUS)0x20000004
 The request is invalid.
#define TC_ERROR_NOT_AVAILABLE   (TC_STATUS)0x20000005
 The requested counter in a statistics object is not available.
#define TC_ERROR_NO_MEMORY   (TC_STATUS)0x20000006
 Not enough memory available on the system to complete the operation.
#define TC_ERROR_END_OF_BUFFER   (TC_STATUS)0x20000007
 The end of a packets buffer has been reached while reading packets from it.
#define TC_ERROR_INCONSISTENT_BUFFER   (TC_STATUS)0x20000008
 The data inside a packets buffer are inconsistent (e.g. the buffer is truncated or the values in the packet headers are not consistent).
#define TC_ERROR_BUFFER_FULL   (TC_STATUS)0x20000009
 The packets buffer is full and cannot hold the packet passed as parameter to the function.
#define TC_INVALID_PACKET   (TC_STATUS)0x2000000A
 The packet header has some invalid parameters.
#define TC_ERROR_INVALID_PARAMETER   (TC_STATUS)0x2000000B
 A parameter passed to the function has an invalid value.
#define TC_ERROR_CANNOT_CREATE_EVENT   (TC_STATUS)0x2000000C
 Impossible to allocate an event used by the object.
#define TC_ERROR_IO_DEVICE_ERROR   (TC_STATUS)0x2000000D
 I/O error while accessing a kernel device.
#define TC_ERROR_CALLBACK_ALREADY_REGISTERED   (TC_STATUS)0x2000000E
 The event handler has been already registered on the object.
#define TC_ERROR_BUFFER_TOO_SMALL   (TC_STATUS)0x2000000F
 The buffer passed to the function is too small to return the result of the operation.
#define TC_ERROR_REG_PARAMETER_NOT_FOUND   (TC_STATUS)0x20000010
 The required information cannot be found in the registry.

Define Documentation

#define TC_SUCCESS   (TC_STATUS)0x00000000

The call was successful.

#define TC_SUCCESS_REBOOT_REQUIRED   (TC_STATUS)0x00000001

The call was successful but a reboot is required for the operation to be effective.

#define TC_ERROR_NO_PORT   (TC_STATUS)0x20000001

The port does not exist.

#define TC_ERROR_UNKNOWN   (TC_STATUS)0x20000002

An unknown error occurred.

#define TC_ERROR_NOT_IMPLEMENTED   (TC_STATUS)0x20000003

This feature has not been implemented yet.

#define TC_ERROR_INVALID_REQUEST   (TC_STATUS)0x20000004

The request is invalid.

#define TC_ERROR_NOT_AVAILABLE   (TC_STATUS)0x20000005

The requested counter in a statistics object is not available.

#define TC_ERROR_NO_MEMORY   (TC_STATUS)0x20000006

Not enough memory available on the system to complete the operation.

#define TC_ERROR_END_OF_BUFFER   (TC_STATUS)0x20000007

The end of a packets buffer has been reached while reading packets from it.

#define TC_ERROR_INCONSISTENT_BUFFER   (TC_STATUS)0x20000008

The data inside a packets buffer are inconsistent (e.g. the buffer is truncated or the values in the packet headers are not consistent).

#define TC_ERROR_BUFFER_FULL   (TC_STATUS)0x20000009

The packets buffer is full and cannot hold the packet passed as parameter to the function.

#define TC_INVALID_PACKET   (TC_STATUS)0x2000000A

The packet header has some invalid parameters.

#define TC_ERROR_INVALID_PARAMETER   (TC_STATUS)0x2000000B

A parameter passed to the function has an invalid value.

#define TC_ERROR_CANNOT_CREATE_EVENT   (TC_STATUS)0x2000000C

Impossible to allocate an event used by the object.

#define TC_ERROR_IO_DEVICE_ERROR   (TC_STATUS)0x2000000D

I/O error while accessing a kernel device.

#define TC_ERROR_CALLBACK_ALREADY_REGISTERED   (TC_STATUS)0x2000000E

The event handler has been already registered on the object.

#define TC_ERROR_BUFFER_TOO_SMALL   (TC_STATUS)0x2000000F

The buffer passed to the function is too small to return the result of the operation.

#define TC_ERROR_REG_PARAMETER_NOT_FOUND   (TC_STATUS)0x20000010

The required information cannot be found in the registry.


TurboCap API documentation. Copyright (c) 2007-2008 CACE Technologies. All rights reserved.