diff options
Diffstat (limited to 'src/burn/engine/externalengine.cpp')
-rw-r--r-- | src/burn/engine/externalengine.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/burn/engine/externalengine.cpp b/src/burn/engine/externalengine.cpp index 262bb1a9..c38d8fc3 100644 --- a/src/burn/engine/externalengine.cpp +++ b/src/burn/engine/externalengine.cpp | |||
@@ -801,6 +801,26 @@ LExit: | |||
801 | return hr; | 801 | return hr; |
802 | } | 802 | } |
803 | 803 | ||
804 | HRESULT ExternalEngineGetRelatedBundleVariable( | ||
805 | __in BURN_ENGINE_STATE* /*pEngineState*/, | ||
806 | __in_z LPCWSTR wzBundleId, | ||
807 | __in_z LPCWSTR wzVariable, | ||
808 | __out_ecount_opt(*pcchValue) LPWSTR wzValue, | ||
809 | __inout SIZE_T* pcchValue | ||
810 | ) | ||
811 | { | ||
812 | HRESULT hr = S_OK; | ||
813 | if (wzVariable && *wzVariable && pcchValue) | ||
814 | { | ||
815 | hr = BundleGetBundleVariableFixed(wzBundleId, wzVariable, wzValue, pcchValue); | ||
816 | } | ||
817 | else | ||
818 | { | ||
819 | hr = E_INVALIDARG; | ||
820 | } | ||
821 | return hr; | ||
822 | } | ||
823 | |||
804 | // TODO: callers need to provide the original size (at the time of first public release) of the struct instead of the current size. | 824 | // TODO: callers need to provide the original size (at the time of first public release) of the struct instead of the current size. |
805 | HRESULT WINAPI ExternalEngineValidateMessageParameter( | 825 | HRESULT WINAPI ExternalEngineValidateMessageParameter( |
806 | __in_opt const LPVOID pv, | 826 | __in_opt const LPVOID pv, |