crt: Add def files of host compute system APIs
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-crt/lib-common/computecore.def b/mingw-w64-crt/lib-common/computecore.def
new file mode 100644
index 0000000..60fd227
--- /dev/null
+++ b/mingw-w64-crt/lib-common/computecore.def
@@ -0,0 +1,63 @@
+;
+; Definition file of computecore.dll
+; Automatic generated by gendef
+; written by Kai Tietz 2008
+;
+LIBRARY "computecore.dll"
+EXPORTS
+HcsEnumerateVmWorkerProcesses
+HcsFindVmWorkerProcesses
+HcsGetWorkerProcessJob
+HcsStartVmWorkerProcess
+HcsCancelOperation
+HcsCloseComputeSystem
+HcsCloseOperation
+HcsCloseProcess
+HcsCrashComputeSystem
+HcsCreateComputeSystem
+HcsCreateComputeSystemInNamespace
+HcsCreateEmptyGuestStateFile
+HcsCreateEmptyRuntimeStateFile
+HcsCreateOperation
+HcsCreateProcess
+HcsEnumerateComputeSystems
+HcsEnumerateComputeSystemsInNamespace
+HcsGetComputeSystemFromOperation
+HcsGetComputeSystemProperties
+HcsGetOperationContext
+HcsGetOperationId
+HcsGetOperationResult
+HcsGetOperationResultAndProcessInfo
+HcsGetOperationType
+HcsGetProcessFromOperation
+HcsGetProcessInfo
+HcsGetProcessProperties
+HcsGetProcessorCompatibilityFromSavedState
+HcsGetServiceProperties
+HcsGrantVmAccess
+HcsGrantVmGroupAccess
+HcsModifyComputeSystem
+HcsModifyProcess
+HcsModifyServiceSettings
+HcsOpenComputeSystem
+HcsOpenComputeSystemInNamespace
+HcsOpenProcess
+HcsPauseComputeSystem
+HcsResumeComputeSystem
+HcsRevokeVmAccess
+HcsRevokeVmGroupAccess
+HcsSaveComputeSystem
+HcsSetComputeSystemCallback
+HcsSetOperationCallback
+HcsSetOperationContext
+HcsSetProcessCallback
+HcsShutDownComputeSystem
+HcsSignalProcess
+HcsStartComputeSystem
+HcsSubmitWerReport
+HcsTerminateComputeSystem
+HcsTerminateProcess
+HcsWaitForComputeSystemExit
+HcsWaitForOperationResult
+HcsWaitForOperationResultAndProcessInfo
+HcsWaitForProcessExit
diff --git a/mingw-w64-crt/lib-common/computenetwork.def b/mingw-w64-crt/lib-common/computenetwork.def
new file mode 100644
index 0000000..5c339e6
--- /dev/null
+++ b/mingw-w64-crt/lib-common/computenetwork.def
@@ -0,0 +1,55 @@
+;
+; Definition file of computenetwork.dll
+; Automatic generated by gendef
+; written by Kai Tietz 2008
+;
+LIBRARY "computenetwork.dll"
+EXPORTS
+HcnCloseGuestNetworkService
+HcnCloseSdnRoute
+HcnCreateGuestNetworkService
+HcnCreateSdnRoute
+HcnDeleteGuestNetworkService
+HcnDeleteSdnRoute
+HcnEnumerateGuestNetworkServices
+HcnEnumerateSdnRoutes
+HcnModifyGuestNetworkService
+HcnModifySdnRoute
+HcnOpenGuestNetworkService
+HcnOpenSdnRoute
+HcnQueryGuestNetworkServiceProperties
+HcnQuerySdnRouteProperties
+HcnRegisterGuestNetworkServiceCallback
+HcnRegisterNetworkCallback
+HcnUnregisterGuestNetworkServiceCallback
+HcnUnregisterNetworkCallback
+HcnCloseEndpoint
+HcnCloseLoadBalancer
+HcnCloseNamespace
+HcnCloseNetwork
+HcnCreateEndpoint
+HcnCreateLoadBalancer
+HcnCreateNamespace
+HcnCreateNetwork
+HcnDeleteEndpoint
+HcnDeleteLoadBalancer
+HcnDeleteNamespace
+HcnDeleteNetwork
+HcnEnumerateEndpoints
+HcnEnumerateLoadBalancers
+HcnEnumerateNamespaces
+HcnEnumerateNetworks
+HcnModifyEndpoint
+HcnModifyLoadBalancer
+HcnModifyNamespace
+HcnModifyNetwork
+HcnOpenEndpoint
+HcnOpenLoadBalancer
+HcnOpenNamespace
+HcnOpenNetwork
+HcnQueryEndpointProperties
+HcnQueryLoadBalancerProperties
+HcnQueryNamespaceProperties
+HcnQueryNetworkProperties
+HcnRegisterServiceCallback
+HcnUnregisterServiceCallback
diff --git a/mingw-w64-crt/lib-common/computestorage.def b/mingw-w64-crt/lib-common/computestorage.def
new file mode 100644
index 0000000..e79ec1a
--- /dev/null
+++ b/mingw-w64-crt/lib-common/computestorage.def
@@ -0,0 +1,19 @@
+;
+; Definition file of computestorage.dll
+; Automatic generated by gendef
+; written by Kai Tietz 2008
+;
+LIBRARY "computestorage.dll"
+EXPORTS
+HcsAttachLayerStorageFilter
+HcsDestroyLayer
+HcsDetachLayerStorageFilter
+HcsExportLayer
+HcsExportLegacyWritableLayer
+HcsFormatWritableLayerVhd
+HcsGetLayerVhdMountPath
+HcsImportLayer
+HcsInitializeLegacyWritableLayer
+HcsInitializeWritableLayer
+HcsSetupBaseOSLayer
+HcsSetupBaseOSVolume
diff --git a/mingw-w64-crt/lib64/Makefile.am b/mingw-w64-crt/lib64/Makefile.am
index 6de4b77..c0608b8 100644
--- a/mingw-w64-crt/lib64/Makefile.am
+++ b/mingw-w64-crt/lib64/Makefile.am
@@ -68,6 +68,9 @@
lib64_DATA += %reldir%/libcomctl32.a
lib64_DATA += %reldir%/libcomdlg32.a
lib64_DATA += %reldir%/libcompstui.a
+lib64_DATA += %reldir%/libcomputecore.a
+lib64_DATA += %reldir%/libcomputenetwork.a
+lib64_DATA += %reldir%/libcomputestorage.a
lib64_DATA += %reldir%/libcomres.a
lib64_DATA += %reldir%/libcomsetup.a
lib64_DATA += %reldir%/libcomsnap.a
diff --git a/mingw-w64-crt/libarm64/Makefile.am b/mingw-w64-crt/libarm64/Makefile.am
index 7c7afe3..c039feb 100644
--- a/mingw-w64-crt/libarm64/Makefile.am
+++ b/mingw-w64-crt/libarm64/Makefile.am
@@ -30,6 +30,9 @@
libarm64_DATA += %reldir%/libcomctl32.a
libarm64_DATA += %reldir%/libcomdlg32.a
libarm64_DATA += %reldir%/libcompstui.a
+libarm64_DATA += %reldir%/libcomputecore.a
+libarm64_DATA += %reldir%/libcomputenetwork.a
+libarm64_DATA += %reldir%/libcomputestorage.a
libarm64_DATA += %reldir%/libcomsnap.a
libarm64_DATA += %reldir%/libcomuid.a
libarm64_DATA += %reldir%/libconnect.a