ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/computestorage.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 1702 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6
7 #ifndef _HYPERV_COMPUTESTORAGE_H_
8 #define _HYPERV_COMPUTESTORAGE_H_
9
10 #include <apiset.h>
11 #include <apisetcconv.h>
12 #include <minwindef.h>
13 #include <winapifamily.h>
14
15 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 HRESULT WINAPI HcsImportLayer (PCWSTR layerPath, PCWSTR sourceFolderPath, PCWSTR layerData);
22 HRESULT WINAPI HcsExportLayer (PCWSTR layerPath, PCWSTR exportFolderPath, PCWSTR layerData, PCWSTR options);
23 HRESULT WINAPI HcsExportLegacyWritableLayer (PCWSTR writableLayerMountPath, PCWSTR writableLayerFolderPath, PCWSTR exportFolderPath, PCWSTR layerData);
24 HRESULT WINAPI HcsDestroyLayer (PCWSTR layerPath);
25 HRESULT WINAPI HcsSetupBaseOSLayer (PCWSTR layerPath, HANDLE vhdHandle, PCWSTR options);
26 HRESULT WINAPI HcsInitializeWritableLayer (PCWSTR writableLayerPath, PCWSTR layerData, PCWSTR options);
27 HRESULT WINAPI HcsInitializeLegacyWritableLayer (PCWSTR writableLayerMountPath, PCWSTR writableLayerFolderPath, PCWSTR layerData, PCWSTR options);
28 HRESULT WINAPI HcsAttachLayerStorageFilter (PCWSTR layerPath, PCWSTR layerData);
29 HRESULT WINAPI HcsDetachLayerStorageFilter (PCWSTR layerPath);
30 HRESULT WINAPI HcsFormatWritableLayerVhd (HANDLE vhdHandle);
31 HRESULT WINAPI HcsGetLayerVhdMountPath (HANDLE vhdHandle, PWSTR *mountPath);
32 HRESULT WINAPI HcsSetupBaseOSVolume (PCWSTR layerPath, PCWSTR volumePath, PCWSTR options);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif /* WINAPI_PARTITION_DESKTOP */
39
40 #endif /* _HYPERV_COMPUTESTORAGE_H_ */