diff options
Diffstat (limited to 'src/burn/engine/container.cpp')
-rw-r--r-- | src/burn/engine/container.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/burn/engine/container.cpp b/src/burn/engine/container.cpp index e6b91532..fad010cf 100644 --- a/src/burn/engine/container.cpp +++ b/src/burn/engine/container.cpp | |||
@@ -326,6 +326,24 @@ extern "C" HRESULT ContainerStreamToBuffer( | |||
326 | return hr; | 326 | return hr; |
327 | } | 327 | } |
328 | 328 | ||
329 | extern "C" HRESULT ContainerStreamToHandle( | ||
330 | __in BURN_CONTAINER_CONTEXT* pContext, | ||
331 | __in HANDLE hFile | ||
332 | ) | ||
333 | { | ||
334 | HRESULT hr = S_OK; | ||
335 | |||
336 | switch (pContext->type) | ||
337 | { | ||
338 | case BURN_CONTAINER_TYPE_CABINET: | ||
339 | hr = CabExtractStreamToHandle(pContext, hFile); | ||
340 | break; | ||
341 | } | ||
342 | |||
343 | //LExit: | ||
344 | return hr; | ||
345 | } | ||
346 | |||
329 | extern "C" HRESULT ContainerSkipStream( | 347 | extern "C" HRESULT ContainerSkipStream( |
330 | __in BURN_CONTAINER_CONTEXT* pContext | 348 | __in BURN_CONTAINER_CONTEXT* pContext |
331 | ) | 349 | ) |