diff options
Diffstat (limited to 'src/engine/externalengine.h')
| -rw-r--r-- | src/engine/externalengine.h | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/src/engine/externalengine.h b/src/engine/externalengine.h index 7910b224..3f7bc8c8 100644 --- a/src/engine/externalengine.h +++ b/src/engine/externalengine.h | |||
| @@ -11,6 +11,160 @@ | |||
| 11 | extern "C" { | 11 | extern "C" { |
| 12 | #endif | 12 | #endif |
| 13 | 13 | ||
| 14 | void ExternalEngineGetPackageCount( | ||
| 15 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 16 | __out DWORD* pcPackages | ||
| 17 | ); | ||
| 18 | |||
| 19 | HRESULT ExternalEngineGetVariableNumeric( | ||
| 20 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 21 | __in_z LPCWSTR wzVariable, | ||
| 22 | __out LONGLONG* pllValue | ||
| 23 | ); | ||
| 24 | |||
| 25 | HRESULT ExternalEngineGetVariableString( | ||
| 26 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 27 | __in_z LPCWSTR wzVariable, | ||
| 28 | __out_ecount_opt(*pcchValue) LPWSTR wzValue, | ||
| 29 | __inout DWORD* pcchValue | ||
| 30 | ); | ||
| 31 | |||
| 32 | HRESULT ExternalEngineGetVariableVersion( | ||
| 33 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 34 | __in_z LPCWSTR wzVariable, | ||
| 35 | __out_ecount_opt(*pcchValue) LPWSTR wzValue, | ||
| 36 | __inout DWORD* pcchValue | ||
| 37 | ); | ||
| 38 | |||
| 39 | HRESULT ExternalEngineFormatString( | ||
| 40 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 41 | __in_z LPCWSTR wzIn, | ||
| 42 | __out_ecount_opt(*pcchOut) LPWSTR wzOut, | ||
| 43 | __inout DWORD* pcchOut | ||
| 44 | ); | ||
| 45 | |||
| 46 | HRESULT ExternalEngineEscapeString( | ||
| 47 | __in_z LPCWSTR wzIn, | ||
| 48 | __out_ecount_opt(*pcchOut) LPWSTR wzOut, | ||
| 49 | __inout DWORD* pcchOut | ||
| 50 | ); | ||
| 51 | |||
| 52 | HRESULT ExternalEngineEvaluateCondition( | ||
| 53 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 54 | __in_z LPCWSTR wzCondition, | ||
| 55 | __out BOOL* pf | ||
| 56 | ); | ||
| 57 | |||
| 58 | HRESULT ExternalEngineLog( | ||
| 59 | __in REPORT_LEVEL rl, | ||
| 60 | __in_z LPCWSTR wzMessage | ||
| 61 | ); | ||
| 62 | |||
| 63 | HRESULT ExternalEngineSendEmbeddedError( | ||
| 64 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 65 | __in const DWORD dwErrorCode, | ||
| 66 | __in_z LPCWSTR wzMessage, | ||
| 67 | __in const DWORD dwUIHint, | ||
| 68 | __out int* pnResult | ||
| 69 | ); | ||
| 70 | |||
| 71 | HRESULT ExternalEngineSendEmbeddedProgress( | ||
| 72 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 73 | __in const DWORD dwProgressPercentage, | ||
| 74 | __in const DWORD dwOverallProgressPercentage, | ||
| 75 | __out int* pnResult | ||
| 76 | ); | ||
| 77 | |||
| 78 | HRESULT ExternalEngineSetUpdate( | ||
| 79 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 80 | __in_z_opt LPCWSTR wzLocalSource, | ||
| 81 | __in_z_opt LPCWSTR wzDownloadSource, | ||
| 82 | __in const DWORD64 qwSize, | ||
| 83 | __in const BOOTSTRAPPER_UPDATE_HASH_TYPE hashType, | ||
| 84 | __in_opt const BYTE* rgbHash, | ||
| 85 | __in const DWORD cbHash | ||
| 86 | ); | ||
| 87 | |||
| 88 | HRESULT ExternalEngineSetLocalSource( | ||
| 89 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 90 | __in_z_opt LPCWSTR wzPackageOrContainerId, | ||
| 91 | __in_z_opt LPCWSTR wzPayloadId, | ||
| 92 | __in_z LPCWSTR wzPath | ||
| 93 | ); | ||
| 94 | |||
| 95 | HRESULT ExternalEngineSetDownloadSource( | ||
| 96 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 97 | __in_z_opt LPCWSTR wzPackageOrContainerId, | ||
| 98 | __in_z_opt LPCWSTR wzPayloadId, | ||
| 99 | __in_z_opt LPCWSTR wzUrl, | ||
| 100 | __in_z_opt LPCWSTR wzUser, | ||
| 101 | __in_z_opt LPCWSTR wzPassword | ||
| 102 | ); | ||
| 103 | |||
| 104 | HRESULT ExternalEngineSetVariableNumeric( | ||
| 105 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 106 | __in_z LPCWSTR wzVariable, | ||
| 107 | __in const LONGLONG llValue | ||
| 108 | ); | ||
| 109 | |||
| 110 | HRESULT ExternalEngineSetVariableString( | ||
| 111 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 112 | __in_z LPCWSTR wzVariable, | ||
| 113 | __in_z_opt LPCWSTR wzValue, | ||
| 114 | __in const BOOL fFormatted | ||
| 115 | ); | ||
| 116 | |||
| 117 | HRESULT ExternalEngineSetVariableVersion( | ||
| 118 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 119 | __in_z LPCWSTR wzVariable, | ||
| 120 | __in_z_opt LPCWSTR wzValue | ||
| 121 | ); | ||
| 122 | |||
| 123 | void ExternalEngineCloseSplashScreen( | ||
| 124 | __in BURN_ENGINE_STATE* pEngineState | ||
| 125 | ); | ||
| 126 | |||
| 127 | HRESULT ExternalEngineCompareVersions( | ||
| 128 | __in_z LPCWSTR wzVersion1, | ||
| 129 | __in_z LPCWSTR wzVersion2, | ||
| 130 | __out int* pnResult | ||
| 131 | ); | ||
| 132 | |||
| 133 | HRESULT ExternalEngineDetect( | ||
| 134 | __in const DWORD dwThreadId, | ||
| 135 | __in_opt const HWND hwndParent | ||
| 136 | ); | ||
| 137 | |||
| 138 | HRESULT ExternalEnginePlan( | ||
| 139 | __in const DWORD dwThreadId, | ||
| 140 | __in const BOOTSTRAPPER_ACTION action | ||
| 141 | ); | ||
| 142 | |||
| 143 | HRESULT ExternalEngineElevate( | ||
| 144 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 145 | __in const DWORD dwThreadId, | ||
| 146 | __in_opt const HWND hwndParent | ||
| 147 | ); | ||
| 148 | |||
| 149 | HRESULT ExternalEngineApply( | ||
| 150 | __in const DWORD dwThreadId, | ||
| 151 | __in_opt const HWND hwndParent | ||
| 152 | ); | ||
| 153 | |||
| 154 | HRESULT ExternalEngineQuit( | ||
| 155 | __in const DWORD dwThreadId, | ||
| 156 | __in const DWORD dwExitCode | ||
| 157 | ); | ||
| 158 | |||
| 159 | HRESULT ExternalEngineLaunchApprovedExe( | ||
| 160 | __in BURN_ENGINE_STATE* pEngineState, | ||
| 161 | __in const DWORD dwThreadId, | ||
| 162 | __in_opt const HWND hwndParent, | ||
| 163 | __in_z LPCWSTR wzApprovedExeForElevationId, | ||
| 164 | __in_z_opt LPCWSTR wzArguments, | ||
| 165 | __in const DWORD dwWaitForInputIdleTimeout | ||
| 166 | ); | ||
| 167 | |||
| 14 | HRESULT WINAPI ExternalEngineValidateMessageParameter( | 168 | HRESULT WINAPI ExternalEngineValidateMessageParameter( |
| 15 | __in_opt const LPVOID pv, | 169 | __in_opt const LPVOID pv, |
| 16 | __in SIZE_T cbSizeOffset, | 170 | __in SIZE_T cbSizeOffset, |
