AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
AJA_STATUS

Defines return code status. Successful return codes are greater than 0. More...

Enumerations

enum  AJAStatus {
  AJA_STATUS_TRUE = 1, AJA_STATUS_SUCCESS = 0, AJA_STATUS_FAIL =-1, AJA_STATUS_UNKNOWN =-2,
  AJA_STATUS_TIMEOUT =-3, AJA_STATUS_RANGE =-4, AJA_STATUS_INITIALIZE =-5, AJA_STATUS_NULL =-6,
  AJA_STATUS_OPEN =-7, AJA_STATUS_IO =-8, AJA_STATUS_DISABLED =-9, AJA_STATUS_BUSY =-10,
  AJA_STATUS_BAD_PARAM =-11, AJA_STATUS_FEATURE =-12, AJA_STATUS_UNSUPPORTED =-13, AJA_STATUS_READONLY =-14,
  AJA_STATUS_WRITEONLY =-15, AJA_STATUS_MEMORY =-16, AJA_STATUS_ALIGN =-17, AJA_STATUS_FLUSH =-18,
  AJA_STATUS_NOINPUT =-19, AJA_STATUS_SURPRISE_REMOVAL =-20, AJA_STATUS_NOT_FOUND =-21, AJA_STATUS_NOBUFFER =-100,
  AJA_STATUS_INVALID_TIME =-101, AJA_STATUS_NOSTREAM =-102, AJA_STATUS_TIMEEXPIRED =-103, AJA_STATUS_BADBUFFERCOUNT =-104,
  AJA_STATUS_BADBUFFERSIZE =-105, AJA_STATUS_STREAMCONFLICT =-106, AJA_STATUS_NOTINITIALIZED =-107, AJA_STATUS_STREAMRUNNING =-108,
  AJA_STATUS_REBOOT = -109, AJA_STATUS_POWER_CYCLE = -110
}
 

Detailed Description

Defines return code status. Successful return codes are greater than 0.

Enumeration Type Documentation

◆ AJAStatus

enum AJAStatus
Enumerator
AJA_STATUS_TRUE 

Result was true

AJA_STATUS_SUCCESS 

Function succeeded

AJA_STATUS_FAIL 

Function failed

AJA_STATUS_UNKNOWN 

Unknown status

AJA_STATUS_TIMEOUT 

A wait timed out

AJA_STATUS_RANGE 

A parameter was out of range

AJA_STATUS_INITIALIZE 

The object has not been initialized

AJA_STATUS_NULL 

A pointer parameter was NULL

AJA_STATUS_OPEN 

Something failed to open

AJA_STATUS_IO 

An IO operation failed

AJA_STATUS_DISABLED 

Device is disabled

AJA_STATUS_BUSY 

Device is busy

AJA_STATUS_BAD_PARAM 

Bad parameter value

AJA_STATUS_FEATURE 

A required device feature does not exist

AJA_STATUS_UNSUPPORTED 

Parameters are valid but not supported

AJA_STATUS_READONLY 

Write is not supported

AJA_STATUS_WRITEONLY 

Read is not supported

AJA_STATUS_MEMORY 

Memory allocation failed

AJA_STATUS_ALIGN 

Parameter not properly aligned

AJA_STATUS_FLUSH 

Something has been flushed

AJA_STATUS_NOINPUT 

No input detected

AJA_STATUS_SURPRISE_REMOVAL 

Hardware communication failed

AJA_STATUS_NOT_FOUND 

Something wasn't found

AJA_STATUS_NOBUFFER 

No free buffers, all are scheduled or in use

AJA_STATUS_INVALID_TIME 

Invalid schedule time

AJA_STATUS_NOSTREAM 

No stream found

AJA_STATUS_TIMEEXPIRED 

Scheduled time is too late

AJA_STATUS_BADBUFFERCOUNT 

Buffer count out of bounds

AJA_STATUS_BADBUFFERSIZE 

Buffer size out of bounds

AJA_STATUS_STREAMCONFLICT 

Another stream is using resources

AJA_STATUS_NOTINITIALIZED 

Streams not initialized

AJA_STATUS_STREAMRUNNING 

Streams is running, should be stopped

AJA_STATUS_REBOOT 

Device requires reboot

AJA_STATUS_POWER_CYCLE 

Device requires a machine power-cycle

Definition at line 378 of file types.h.