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

Enumerations

enum  WSCResult {
  WSC_OK = 0 , WSC_ERROR_NOT_INIT = -1 , WSC_ERROR_INVALID_PARAM = -2 , WSC_ERROR_DEVICE_FAIL = -3 ,
  WSC_ERROR_MAP_FAIL = -4 , WSC_ERROR_ALLOC_FAIL = -5 , WSC_ERROR_INVALID_ID = -6 , WSC_ERROR_NOT_ACTIVE = -7 ,
  WSC_ERROR_FILE_NOT_FOUND = -8 , WSC_ERROR_DECODE_FAIL = -9
}
 Result codes returned by WSCLib functions. More...

Detailed Description

Enumeration Type Documentation

◆ WSCResult

enum WSCResult

Result codes returned by WSCLib functions.

Enumerator
WSC_OK 

Success.

WSC_ERROR_NOT_INIT 

Engine not initialized (call WSC_Init first).

WSC_ERROR_INVALID_PARAM 

Invalid parameter.

WSC_ERROR_DEVICE_FAIL 

D3D11 device creation failed.

WSC_ERROR_MAP_FAIL 

GPU texture map/lock failed.

WSC_ERROR_ALLOC_FAIL 

Memory allocation failed.

WSC_ERROR_INVALID_ID 

Invalid output/player ID.

WSC_ERROR_NOT_ACTIVE 

Output/player not active.

WSC_ERROR_FILE_NOT_FOUND 

File not found.

WSC_ERROR_DECODE_FAIL 

Image decode error.