Skip to content

Latest commit

 

History

History
60 lines (33 loc) · 1.36 KB

ofxStatusCodes.rst

File metadata and controls

60 lines (33 loc) · 1.36 KB

Status Codes

Status codes are returned by most functions in OFX suites and all plug-in actions to indicate the success or failure of the operation. All status codes are defined in ofxCore.h and #defined to be integers.

OfxStatus

Most OFX functions in host suites and all actions in a plug-in return a status code, where the status codes are all 32 bit integers. This typedef is used to label that status code.

kOfxStatOK

kOfxStatFailed

kOfxStatErrFatal

kOfxStatErrUnknown

kOfxStatErrMissingHostFeature

kOfxStatErrUnsupported

kOfxStatErrExists

kOfxStatErrFormat

kOfxStatErrMemory

kOfxStatErrBadHandle

kOfxStatErrBadIndex

kOfxStatErrValue

kOfxStatReplyYes

kOfxStatReplyNo

kOfxStatReplyDefault

Status codes for GPU renders:

These are defined in ofxGPURender.h.

kOfxStatGPUOutOfMemory

kOfxStatGLOutOfMemory

kOfxStatGPURenderFailed

kOfxStatGLRenderFailed