wut  1.0.0-alpha
Wii U Toolchain
energysaver.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef int32_t IMError;
15 
16 IMError
17 IMDisableAPD();
18 
19 IMError
20 IMDisableDim();
21 
22 IMError
23 IMEnableAPD();
24 
25 IMError
26 IMEnableDim();
27 
28 IMError
29 IMIsAPDEnabled(uint32_t *outValue);
30 
31 IMError
32 IMIsAPDEnabledBySysSettings(uint32_t *outValue);
33 
34 IMError
35 IMIsDimEnabled(uint32_t *outValue);
36 
37 IMError
38 IMGetDimEnableDrc(uint32_t *outValue);
39 
40 IMError
41 IMGetDimEnableTv(uint32_t *outValue);
42 
43 IMError
44 IMGetDimPeriod(uint32_t *outValue);
45 
46 IMError
47 IMGetTimeBeforeAPD(uint32_t *outSeconds);
48 
49 IMError
50 IMGetTimeBeforeDimming(uint32_t *outSeconds);
51 
52 IMError
53 IMSetDimEnableDrc(BOOL value);
54 
55 IMError
56 IMSetDimEnableTv(BOOL value);
57 
58 IMError
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
IMError IMStartAPDVideoMode()
IMError IMDisableAPD()
IMError IMIsDimEnabled(uint32_t *outValue)
IMError IMGetDimEnableDrc(uint32_t *outValue)
IMError IMSetDimEnableDrc(BOOL value)
int32_t IMError
Definition: energysaver.h:14
IMError IMIsAPDEnabled(uint32_t *outValue)
IMError IMGetDimPeriod(uint32_t *outValue)
IMError IMEnableDim()
IMError IMGetDimEnableTv(uint32_t *outValue)
IMError IMGetTimeBeforeAPD(uint32_t *outSeconds)
IMError IMGetTimeBeforeDimming(uint32_t *outSeconds)
int32_t BOOL
Definition: wut_types.h:4
IMError IMIsAPDEnabledBySysSettings(uint32_t *outValue)
IMError IMEnableAPD()
IMError IMSetDimEnableTv(BOOL value)
IMError IMDisableDim()