WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
Loading...
Searching...
No Matches
Result Codes

Enumerations

enum  WSCIResult {
  WSCI_OK = 0 , WSCI_ERROR_NOT_INIT = -200 , WSCI_ERROR_INVALID_PARAM = -201 , WSCI_ERROR_MF_FAIL = -202 ,
  WSCI_ERROR_INVALID_ID = -203 , WSCI_ERROR_NOT_ACTIVE = -204 , WSCI_ERROR_ALLOC_FAIL = -205 , WSCI_ERROR_NO_DEVICE = -206 ,
  WSCI_ERROR_FORMAT_FAIL = -207
}
 Result codes returned by WSCLibInput functions. More...

Detailed Description

Error codes start at -200 to avoid collision with WSCLib/WSCLibVideo.

Enumeration Type Documentation

◆ WSCIResult

enum WSCIResult

Result codes returned by WSCLibInput functions.

Enumerator
WSCI_OK 

Success.

WSCI_ERROR_NOT_INIT 

Engine not initialized.

WSCI_ERROR_INVALID_PARAM 

Invalid parameter.

WSCI_ERROR_MF_FAIL 

Media Foundation error.

WSCI_ERROR_INVALID_ID 

Invalid capture ID.

WSCI_ERROR_NOT_ACTIVE 

Capture not active.

WSCI_ERROR_ALLOC_FAIL 

Memory allocation failed.

WSCI_ERROR_NO_DEVICE 

No device found at index.

WSCI_ERROR_FORMAT_FAIL 

Requested format not supported.