24.05.2014 Views

Embedded Application Programming Interface - picmg

Embedded Application Programming Interface - picmg

Embedded Application Programming Interface - picmg

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.4.3 Return Status Codes<br />

Condition<br />

Return Value<br />

Library Uninitialized<br />

EAPI_STATUS_NOT_INITIALIZED<br />

pBuffer==NULL<br />

EAPI_STATUS_INVALID_PARAMETER<br />

ByteCnt==0<br />

EAPI_STATUS_INVALID_PARAMETER<br />

unknown Id<br />

EAPI_STATUS_UNSUPPORTED<br />

Offset%pBlockLength<br />

EAPI_STATUS_INVALID_BLOCK_ALIGNMENT<br />

ByteCnt%pBlockLength EAPI_STATUS_INVALID_BLOCK_ALIGNMENT<br />

Offset+ByteCnt>pStorageSize EAPI_STATUS_INVALID_BLOCK_LENGTH<br />

Write Error<br />

EAPI_STATUS_WRITE_ERROR<br />

... see 2.3 Status Codes on page 16<br />

Success<br />

EAPI_STATUS_SUCCESS<br />

PICMG® EAPI R1.0, August 8, 2010 page 31 of 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!