source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/computestorage.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.7 KB
Line 
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
18extern "C" {
19#endif
20
21HRESULT WINAPI HcsImportLayer (PCWSTR layerPath, PCWSTR sourceFolderPath, PCWSTR layerData);
22HRESULT WINAPI HcsExportLayer (PCWSTR layerPath, PCWSTR exportFolderPath, PCWSTR layerData, PCWSTR options);
23HRESULT WINAPI HcsExportLegacyWritableLayer (PCWSTR writableLayerMountPath, PCWSTR writableLayerFolderPath, PCWSTR exportFolderPath, PCWSTR layerData);
24HRESULT WINAPI HcsDestroyLayer (PCWSTR layerPath);
25HRESULT WINAPI HcsSetupBaseOSLayer (PCWSTR layerPath, HANDLE vhdHandle, PCWSTR options);
26HRESULT WINAPI HcsInitializeWritableLayer (PCWSTR writableLayerPath, PCWSTR layerData, PCWSTR options);
27HRESULT WINAPI HcsInitializeLegacyWritableLayer (PCWSTR writableLayerMountPath, PCWSTR writableLayerFolderPath, PCWSTR layerData, PCWSTR options);
28HRESULT WINAPI HcsAttachLayerStorageFilter (PCWSTR layerPath, PCWSTR layerData);
29HRESULT WINAPI HcsDetachLayerStorageFilter (PCWSTR layerPath);
30HRESULT WINAPI HcsFormatWritableLayerVhd (HANDLE vhdHandle);
31HRESULT WINAPI HcsGetLayerVhdMountPath (HANDLE vhdHandle, PWSTR *mountPath);
32HRESULT 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_ */
Note: See TracBrowser for help on using the repository browser.