coreinit: Add remaining IM* functions.

This commit is contained in:
James Benton 2018-06-17 21:02:35 +01:00
parent 9dfb7d5344
commit 9cc6aead84

View File

@ -11,26 +11,52 @@
extern "C" { extern "C" {
#endif #endif
int32_t typedef int32_t IMError;
IMEnableDim(void);
int32_t IMError
IMDisableDim(void); IMDisableAPD();
int32_t IMError
IMIsDimEnabled(int32_t * result); IMDisableDim();
int32_t IMError
IMEnableAPD(void); IMEnableAPD();
int32_t IMError
IMDisableAPD(void); IMEnableDim();
int32_t IMError
IMIsAPDEnabled(int32_t * result); IMIsAPDEnabled(uint32_t *outValue);
int32_t IMError
IMIsAPDEnabledBySysSettings(int32_t * result); IMIsAPDEnabledBySysSettings(uint32_t *outValue);
IMError
IMIsDimEnabled(uint32_t *outValue);
IMError
IMGetDimEnableDrc(uint32_t *outValue);
IMError
IMGetDimEnableTv(uint32_t *outValue);
IMError
IMGetDimPeriod(uint32_t *outValue);
IMError
IMGetTimeBeforeAPD(uint32_t *outSeconds);
IMError
IMGetTimeBeforeDimming(uint32_t *outSeconds);
IMError
IMSetDimEnableDrc(BOOL value);
IMError
IMSetDimEnableTv(BOOL value);
IMError
IMStartAPDVideoMode();
#ifdef __cplusplus #ifdef __cplusplus
} }