aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/cabextract.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/cabextract.h')
-rw-r--r--src/burn/engine/cabextract.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/burn/engine/cabextract.h b/src/burn/engine/cabextract.h
new file mode 100644
index 00000000..31667f2b
--- /dev/null
+++ b/src/burn/engine/cabextract.h
@@ -0,0 +1,40 @@
1#pragma once
2// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
3
4
5#if defined(__cplusplus)
6extern "C" {
7#endif
8
9
10// function declarations
11
12void CabExtractInitialize();
13HRESULT CabExtractOpen(
14 __in BURN_CONTAINER_CONTEXT* pContext,
15 __in LPCWSTR wzFilePath
16 );
17HRESULT CabExtractNextStream(
18 __in BURN_CONTAINER_CONTEXT* pContext,
19 __inout_z LPWSTR* psczStreamName
20 );
21HRESULT CabExtractStreamToFile(
22 __in BURN_CONTAINER_CONTEXT* pContext,
23 __in_z LPCWSTR wzFileName
24 );
25HRESULT CabExtractStreamToBuffer(
26 __in BURN_CONTAINER_CONTEXT* pContext,
27 __out BYTE** ppbBuffer,
28 __out SIZE_T* pcbBuffer
29 );
30HRESULT CabExtractSkipStream(
31 __in BURN_CONTAINER_CONTEXT* pContext
32 );
33HRESULT CabExtractClose(
34 __in BURN_CONTAINER_CONTEXT* pContext
35 );
36
37
38#if defined(__cplusplus)
39}
40#endif