CoreVideo specific error codes.
| C# | Visual Basic | Visual C++ |
public enum CVReturn
Public Enumeration CVReturn
public enum class CVReturn
| Member | Description |
|---|---|
| kCVReturnSuccess | Function executed successfully without errors. |
| kCVReturnFirst | Placeholder to mark the beginning of the range of CVReturn codes. |
| kCVReturnError | General error code. |
| kCVReturnInvalidArgument | At least one of the arguments passed in is not valid. Either out of range or the wrong type. |
| kCVReturnAllocationFailed | The allocation for a buffer or buffer pool failed. Most likely because of lack of resources. |
| kCVReturnInvalidDisplay | A CVDisplayLink cannot be created for the given DisplayRef. |
| kCVReturnDisplayLinkAlreadyRunning | The CVDisplayLink is already started and running. |
| kCVReturnDisplayLinkNotRunning | The CVDisplayLink has not been started. |
| kCVReturnDisplayLinkCallbacksNotSet | The render and display callbacks or the output callback is not set. You have to set either the render/display pair or the single output callback. |
| kCVReturnInvalidPixelFormat | The requested pixelformat is not supported for the CVBuffer type. |
| kCVReturnInvalidSize | The requested size (most likely too big) is not supported for the CVBuffer type. |
| kCVReturnInvalidPixelBufferAttributes | A CVBuffer cannot be created with the given attributes. |
| kCVReturnPixelBufferNotOpenGLCompatible | The Buffer cannot be used with OpenGL as either its size, pixelformat or attributes are not supported by OpenGL. |
| kCVReturnWouldExceedAllocationThreshold | The allocation request failed because it would have exceeded a specified allocation threshold (see kCVPixelBufferPoolAllocationThresholdKey). |
| kCVReturnPoolAllocationFailed | The allocation for the buffer pool failed. Most likely because of lack of resources. Check if your parameters are in range. |
| kCVReturnInvalidPoolAttributes | A CVBufferPool cannot be created with the given attributes. |
| kCVReturnLast | Placeholder to mark the end of the range of CVReturn codes. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)