main
h 40 lines 969 Bytes
Raw
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)
6 extern "C" {
7 #endif
8
9
10 // function declarations
11
12 void CabExtractInitialize();
13 HRESULT CabExtractOpen(
14 __in BURN_CONTAINER_CONTEXT* pContext,
15 __in LPCWSTR wzFilePath
16 );
17 HRESULT CabExtractNextStream(
18 __in BURN_CONTAINER_CONTEXT* pContext,
19 __inout_z LPWSTR* psczStreamName
20 );
21 HRESULT CabExtractStreamToFile(
22 __in BURN_CONTAINER_CONTEXT* pContext,
23 __in_z LPCWSTR wzFileName
24 );
25 HRESULT CabExtractStreamToBuffer(
26 __in BURN_CONTAINER_CONTEXT* pContext,
27 __out BYTE** ppbBuffer,
28 __out SIZE_T* pcbBuffer
29 );
30 HRESULT CabExtractSkipStream(
31 __in BURN_CONTAINER_CONTEXT* pContext
32 );
33 HRESULT CabExtractClose(
34 __in BURN_CONTAINER_CONTEXT* pContext
35 );
36
37
38 #if defined(__cplusplus)
39 }
40 #endif