diff options
Diffstat (limited to 'src/api/burn/balutil/inc/BAFunctions.h')
| -rw-r--r-- | src/api/burn/balutil/inc/BAFunctions.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/api/burn/balutil/inc/BAFunctions.h b/src/api/burn/balutil/inc/BAFunctions.h index 43786701..2a34aaad 100644 --- a/src/api/burn/balutil/inc/BAFunctions.h +++ b/src/api/burn/balutil/inc/BAFunctions.h | |||
| @@ -85,6 +85,7 @@ enum BA_FUNCTIONS_MESSAGE | |||
| 85 | 85 | ||
| 86 | BA_FUNCTIONS_MESSAGE_ONTHEMELOADED = 1024, | 86 | BA_FUNCTIONS_MESSAGE_ONTHEMELOADED = 1024, |
| 87 | BA_FUNCTIONS_MESSAGE_WNDPROC, | 87 | BA_FUNCTIONS_MESSAGE_WNDPROC, |
| 88 | BA_FUNCTIONS_MESSAGE_ONTHEMECONTROLLOADING, | ||
| 88 | }; | 89 | }; |
| 89 | 90 | ||
| 90 | typedef HRESULT(WINAPI *PFN_BA_FUNCTIONS_PROC)( | 91 | typedef HRESULT(WINAPI *PFN_BA_FUNCTIONS_PROC)( |
| @@ -94,6 +95,10 @@ typedef HRESULT(WINAPI *PFN_BA_FUNCTIONS_PROC)( | |||
| 94 | __in_opt LPVOID pvContext | 95 | __in_opt LPVOID pvContext |
| 95 | ); | 96 | ); |
| 96 | 97 | ||
| 98 | // Should be the same as THEME_FIRST_ASSIGN_CONTROL_ID. | ||
| 99 | // BAFunctions must only assign ids in the range [BAFUNCTIONS_FIRST_ASSIGN_CONTROL_ID, 0x8000) to avoid collisions. | ||
| 100 | const WORD BAFUNCTIONS_FIRST_ASSIGN_CONTROL_ID = 0x4000; | ||
| 101 | |||
| 97 | struct BA_FUNCTIONS_CREATE_ARGS | 102 | struct BA_FUNCTIONS_CREATE_ARGS |
| 98 | { | 103 | { |
| 99 | DWORD cbSize; | 104 | DWORD cbSize; |
| @@ -108,6 +113,19 @@ struct BA_FUNCTIONS_CREATE_RESULTS | |||
| 108 | LPVOID pvBAFunctionsProcContext; | 113 | LPVOID pvBAFunctionsProcContext; |
| 109 | }; | 114 | }; |
| 110 | 115 | ||
| 116 | struct BA_FUNCTIONS_ONTHEMECONTROLLOADING_ARGS | ||
| 117 | { | ||
| 118 | DWORD cbSize; | ||
| 119 | LPCWSTR wzName; | ||
| 120 | }; | ||
| 121 | |||
| 122 | struct BA_FUNCTIONS_ONTHEMECONTROLLOADING_RESULTS | ||
| 123 | { | ||
| 124 | DWORD cbSize; | ||
| 125 | BOOL fProcessed; | ||
| 126 | WORD wId; | ||
| 127 | }; | ||
| 128 | |||
| 111 | struct BA_FUNCTIONS_ONTHEMELOADED_ARGS | 129 | struct BA_FUNCTIONS_ONTHEMELOADED_ARGS |
| 112 | { | 130 | { |
| 113 | DWORD cbSize; | 131 | DWORD cbSize; |
