Embedded Application Programming Interface - picmg
Embedded Application Programming Interface - picmg
Embedded Application Programming Interface - picmg
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.3.3 Return Status Code<br />
Condition<br />
Library Uninitialized<br />
Enable!=EAPI_BACKLIGHT_SET_ON &&<br />
Enable!=EAPI_BACKLIGHT_SET_OFF<br />
unknown Id<br />
Return Value<br />
EAPI_STATUS_NOT_INITIALIZED<br />
EAPI_STATUS_INVALID_PARAMETER<br />
EAPI_STATUS_UNSUPPORTED<br />
… see 2.3 Status Codes on page 16<br />
Success<br />
EAPI_STATUS_SUCCESS<br />
5.4 EApiVgaGetBacklightBrightness<br />
5.4.1 Description<br />
Reads the current brightness of the selected flat panel display.<br />
5.4.2 Parameters<br />
Id<br />
uint32_t<br />
EAPI_CALLTYPE<br />
EApiVgaGetBacklightBrightness(<br />
__IN uint32_t Id , /* Backlight Id */<br />
__OUT uint32_t *pBright /* Backlight Brightness */<br />
);<br />
FUNC_DEF 7: EApiVgaGetBacklightBrightness<br />
__IN See '5.1.1 Backlight Ids' on page 24<br />
pBright<br />
__OUT Pointer to a buffer that receives the the current backlight brightness level.<br />
See 5.1.3 Backlight Brightness Value Range on page 24.<br />
5.4.3 Return Status Code<br />
Condition<br />
Library Uninitialized<br />
pBright==NULL<br />
unknown Id<br />
Return Value<br />
EAPI_STATUS_NOT_INITIALIZED<br />
EAPI_STATUS_INVALID_PARAMETER<br />
EAPI_STATUS_UNSUPPORTED<br />
... see 2.3 Status Codes on page 16<br />
Success<br />
EAPI_STATUS_SUCCESS<br />
5.5 EApiVgaSetBacklightBrightness<br />
PICMG® EAPI R1.0, August 8, 2010 page 26 of 83