{ "Constants":[ ] ,"Types":[ { "Name":"HCS_OPERATION" ,"Architectures":[] ,"Platform":null ,"Kind":"NativeTypedef" ,"AlsoUsableFor":null ,"Def":{"Kind":"Native","Name":"IntPtr"} ,"FreeFunc":"HcsCloseOperation" ,"InvalidHandleValue":0 } ,{ "Name":"HCS_SYSTEM" ,"Architectures":[] ,"Platform":null ,"Kind":"NativeTypedef" ,"AlsoUsableFor":null ,"Def":{"Kind":"Native","Name":"IntPtr"} ,"FreeFunc":"HcsCloseComputeSystem" ,"InvalidHandleValue":0 } ,{ "Name":"HCS_PROCESS" ,"Architectures":[] ,"Platform":null ,"Kind":"NativeTypedef" ,"AlsoUsableFor":null ,"Def":{"Kind":"Native","Name":"IntPtr"} ,"FreeFunc":"HcsCloseProcess" ,"InvalidHandleValue":0 } ,{ "Name":"HCS_OPERATION_TYPE" ,"Architectures":[] ,"Platform":null ,"Kind":"Enum" ,"Flags":false ,"Scoped":false ,"Values":[ {"Name":"HcsOperationTypeNone","Value":-1} ,{"Name":"HcsOperationTypeEnumerate","Value":0} ,{"Name":"HcsOperationTypeCreate","Value":1} ,{"Name":"HcsOperationTypeStart","Value":2} ,{"Name":"HcsOperationTypeShutdown","Value":3} ,{"Name":"HcsOperationTypePause","Value":4} ,{"Name":"HcsOperationTypeResume","Value":5} ,{"Name":"HcsOperationTypeSave","Value":6} ,{"Name":"HcsOperationTypeTerminate","Value":7} ,{"Name":"HcsOperationTypeModify","Value":8} ,{"Name":"HcsOperationTypeGetProperties","Value":9} ,{"Name":"HcsOperationTypeCreateProcess","Value":10} ,{"Name":"HcsOperationTypeSignalProcess","Value":11} ,{"Name":"HcsOperationTypeGetProcessInfo","Value":12} ,{"Name":"HcsOperationTypeGetProcessProperties","Value":13} ,{"Name":"HcsOperationTypeModifyProcess","Value":14} ,{"Name":"HcsOperationTypeCrash","Value":15} ] ,"IntegerBase":"Int32" } ,{ "Name":"HCS_OPERATION_COMPLETION" ,"Architectures":[] ,"Platform":null ,"Kind":"FunctionPointer" ,"SetLastError":false ,"ReturnType":{"Kind":"Native","Name":"Void"} ,"ReturnAttrs":[] ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Optional"]} ] } ,{ "Name":"HCS_EVENT_TYPE" ,"Architectures":[] ,"Platform":null ,"Kind":"Enum" ,"Flags":false ,"Scoped":false ,"Values":[ {"Name":"HcsEventInvalid","Value":0} ,{"Name":"HcsEventSystemExited","Value":1} ,{"Name":"HcsEventSystemCrashInitiated","Value":2} ,{"Name":"HcsEventSystemCrashReport","Value":3} ,{"Name":"HcsEventSystemRdpEnhancedModeStateChanged","Value":4} ,{"Name":"HcsEventSystemSiloJobCreated","Value":5} ,{"Name":"HcsEventSystemGuestConnectionClosed","Value":6} ,{"Name":"HcsEventProcessExited","Value":65536} ,{"Name":"HcsEventOperationCallback","Value":16777216} ,{"Name":"HcsEventServiceDisconnect","Value":33554432} ] ,"IntegerBase":"Int32" } ,{ "Name":"HCS_EVENT" ,"Architectures":[] ,"Platform":null ,"Kind":"Struct" ,"Size":0 ,"PackingSize":0 ,"Fields":[ {"Name":"Type","Type":{"Kind":"ApiRef","Name":"HCS_EVENT_TYPE","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":[]} ,{"Name":"EventData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["Const"]} ,{"Name":"Operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":[]} ] ,"NestedTypes":[ ] } ,{ "Name":"HCS_EVENT_OPTIONS" ,"Architectures":[] ,"Platform":null ,"Kind":"Enum" ,"Flags":true ,"Scoped":false ,"Values":[ {"Name":"HcsEventOptionNone","Value":0} ,{"Name":"HcsEventOptionEnableOperationCallbacks","Value":1} ] ,"IntegerBase":"UInt32" } ,{ "Name":"HCS_EVENT_CALLBACK" ,"Architectures":[] ,"Platform":null ,"Kind":"FunctionPointer" ,"SetLastError":false ,"ReturnType":{"Kind":"Native","Name":"Void"} ,"ReturnAttrs":[] ,"Attrs":[] ,"Params":[ {"Name":"event","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_EVENT","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["In"]} ,{"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Optional"]} ] } ,{ "Name":"HCS_NOTIFICATION_FLAGS" ,"Architectures":[] ,"Platform":null ,"Kind":"Enum" ,"Flags":false ,"Scoped":false ,"Values":[ {"Name":"HcsNotificationFlagSuccess","Value":0} ,{"Name":"HcsNotificationFlagFailure","Value":-2147483648} ] ,"IntegerBase":"Int32" } ,{ "Name":"HCS_NOTIFICATIONS" ,"Architectures":[] ,"Platform":null ,"Kind":"Enum" ,"Flags":false ,"Scoped":false ,"Values":[ {"Name":"HcsNotificationInvalid","Value":0} ,{"Name":"HcsNotificationSystemExited","Value":1} ,{"Name":"HcsNotificationSystemCreateCompleted","Value":2} ,{"Name":"HcsNotificationSystemStartCompleted","Value":3} ,{"Name":"HcsNotificationSystemPauseCompleted","Value":4} ,{"Name":"HcsNotificationSystemResumeCompleted","Value":5} ,{"Name":"HcsNotificationSystemCrashReport","Value":6} ,{"Name":"HcsNotificationSystemSiloJobCreated","Value":7} ,{"Name":"HcsNotificationSystemSaveCompleted","Value":8} ,{"Name":"HcsNotificationSystemRdpEnhancedModeStateChanged","Value":9} ,{"Name":"HcsNotificationSystemShutdownFailed","Value":10} ,{"Name":"HcsNotificationSystemShutdownCompleted","Value":10} ,{"Name":"HcsNotificationSystemGetPropertiesCompleted","Value":11} ,{"Name":"HcsNotificationSystemModifyCompleted","Value":12} ,{"Name":"HcsNotificationSystemCrashInitiated","Value":13} ,{"Name":"HcsNotificationSystemGuestConnectionClosed","Value":14} ,{"Name":"HcsNotificationSystemOperationCompletion","Value":15} ,{"Name":"HcsNotificationSystemPassThru","Value":16} ,{"Name":"HcsNotificationProcessExited","Value":65536} ,{"Name":"HcsNotificationServiceDisconnect","Value":16777216} ,{"Name":"HcsNotificationFlagsReserved","Value":-268435456} ] ,"IntegerBase":"Int32" } ,{ "Name":"HCS_NOTIFICATION_CALLBACK" ,"Architectures":[] ,"Platform":null ,"Kind":"FunctionPointer" ,"SetLastError":false ,"ReturnType":{"Kind":"Native","Name":"Void"} ,"ReturnAttrs":[] ,"Attrs":[] ,"Params":[ {"Name":"notificationType","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Optional"]} ,{"Name":"notificationStatus","Type":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]} ,{"Name":"notificationData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HCS_PROCESS_INFORMATION" ,"Architectures":[] ,"Platform":null ,"Kind":"Struct" ,"Size":0 ,"PackingSize":0 ,"Fields":[ {"Name":"ProcessId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]} ,{"Name":"Reserved","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]} ,{"Name":"StdInput","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]} ,{"Name":"StdOutput","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]} ,{"Name":"StdError","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]} ] ,"NestedTypes":[ ] } ,{ "Name":"HCS_CREATE_OPTIONS" ,"Architectures":[] ,"Platform":null ,"Kind":"Enum" ,"Flags":false ,"Scoped":false ,"Values":[ {"Name":"HcsCreateOptions_1","Value":65536} ] ,"IntegerBase":"Int32" } ,{ "Name":"HCS_CREATE_OPTIONS_1" ,"Architectures":[] ,"Platform":null ,"Kind":"Struct" ,"Size":0 ,"PackingSize":0 ,"Fields":[ {"Name":"Version","Type":{"Kind":"ApiRef","Name":"HCS_CREATE_OPTIONS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":[]} ,{"Name":"UserToken","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]} ,{"Name":"SecurityDescriptor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"SECURITY_DESCRIPTOR","TargetKind":"Default","Api":"Security","Parents":[]}},"Attrs":[]} ,{"Name":"CallbackOptions","Type":{"Kind":"ApiRef","Name":"HCS_EVENT_OPTIONS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":[]} ,{"Name":"CallbackContext","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":[]} ,{"Name":"Callback","Type":{"Kind":"ApiRef","Name":"HCS_EVENT_CALLBACK","TargetKind":"FunctionPointer","Api":"System.HostComputeSystem","Parents":[]},"Attrs":[]} ] ,"NestedTypes":[ ] } ] ,"Functions":[ { "Name":"HcsEnumerateComputeSystems" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"query","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsEnumerateComputeSystemsInNamespace" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"idNamespace","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"query","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsCreateOperation" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Optional","Const"]} ,{"Name":"callback","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION_COMPLETION","TargetKind":"FunctionPointer","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In","Optional"]} ] } ,{ "Name":"HcsCloseOperation" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"Native","Name":"Void"} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsGetOperationContext" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsSetOperationContext" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsGetComputeSystemFromOperation" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsGetProcessFromOperation" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsGetOperationType" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HCS_OPERATION_TYPE","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsGetOperationId" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"Native","Name":"UInt64"} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsGetOperationResult" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"resultDocument","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsGetOperationResultAndProcessInfo" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"processInformation","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_PROCESS_INFORMATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out","Optional"]} ,{"Name":"resultDocument","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsGetProcessorCompatibilityFromSavedState" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"RuntimeFileName","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"ProcessorFeaturesString","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsWaitForOperationResult" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"timeoutMs","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"resultDocument","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsWaitForOperationResultAndProcessInfo" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"timeoutMs","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"processInformation","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_PROCESS_INFORMATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out","Optional"]} ,{"Name":"resultDocument","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsSetOperationCallback" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Optional","Const"]} ,{"Name":"callback","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION_COMPLETION","TargetKind":"FunctionPointer","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsCancelOperation" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsCreateComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"id","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"configuration","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"securityDescriptor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"SECURITY_DESCRIPTOR","TargetKind":"Default","Api":"Security","Parents":[]}},"Attrs":["In","Optional","Const"]} ,{"Name":"computeSystem","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsCreateComputeSystemInNamespace" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"idNamespace","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"id","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"configuration","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_CREATE_OPTIONS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["In","Optional","Const"]} ,{"Name":"computeSystem","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsOpenComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"id","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"requestedAccess","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"computeSystem","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsOpenComputeSystemInNamespace" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"idNamespace","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"id","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"requestedAccess","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"computeSystem","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsCloseComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"Native","Name":"Void"} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsStartComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsShutDownComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsTerminateComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsCrashComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsPauseComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsResumeComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsSaveComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsGetComputeSystemProperties" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"propertyQuery","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsModifyComputeSystem" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"configuration","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"identity","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional"]} ] } ,{ "Name":"HcsWaitForComputeSystemExit" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"timeoutMs","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"result","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsSetComputeSystemCallback" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"callbackOptions","Type":{"Kind":"ApiRef","Name":"HCS_EVENT_OPTIONS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In","Optional","Const"]} ,{"Name":"callback","Type":{"Kind":"ApiRef","Name":"HCS_EVENT_CALLBACK","TargetKind":"FunctionPointer","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsCreateProcess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"processParameters","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"securityDescriptor","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"SECURITY_DESCRIPTOR","TargetKind":"Default","Api":"Security","Parents":[]}},"Attrs":["In","Optional","Const"]} ,{"Name":"process","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsOpenProcess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_SYSTEM","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"processId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"requestedAccess","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"process","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsCloseProcess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"Native","Name":"Void"} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"process","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsTerminateProcess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"process","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsSignalProcess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"process","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsGetProcessInfo" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"process","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsGetProcessProperties" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"process","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"propertyQuery","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsModifyProcess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"process","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"operation","Type":{"Kind":"ApiRef","Name":"HCS_OPERATION","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"settings","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsSetProcessCallback" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"process","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"callbackOptions","Type":{"Kind":"ApiRef","Name":"HCS_EVENT_OPTIONS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"context","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}},"Attrs":["In"]} ,{"Name":"callback","Type":{"Kind":"ApiRef","Name":"HCS_EVENT_CALLBACK","TargetKind":"FunctionPointer","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsWaitForProcessExit" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"computeSystem","Type":{"Kind":"ApiRef","Name":"HCS_PROCESS","TargetKind":"Default","Api":"System.HostComputeSystem","Parents":[]},"Attrs":["In"]} ,{"Name":"timeoutMs","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]} ,{"Name":"result","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsGetServiceProperties" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"propertyQuery","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ,{"Name":"result","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsModifyServiceSettings" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"settings","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"result","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","Optional"]} ] } ,{ "Name":"HcsSubmitWerReport" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"settings","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsCreateEmptyGuestStateFile" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"guestStateFilePath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsCreateEmptyRuntimeStateFile" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"runtimeStateFilePath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsGrantVmAccess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"vmId","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"filePath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsRevokeVmAccess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"vmId","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"filePath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsGrantVmGroupAccess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"filePath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsRevokeVmGroupAccess" ,"SetLastError":false ,"DllImport":"computecore" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"filePath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsImportLayer" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"layerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"sourceFolderPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"layerData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsExportLayer" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"layerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"exportFolderPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"layerData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsExportLegacyWritableLayer" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"writableLayerMountPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"writableLayerFolderPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"exportFolderPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"layerData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsDestroyLayer" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"layerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsSetupBaseOSLayer" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"layerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"vhdHandle","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsInitializeWritableLayer" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"writableLayerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"layerData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsInitializeLegacyWritableLayer" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"writableLayerMountPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"writableLayerFolderPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"layerData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Optional","Const"]} ] } ,{ "Name":"HcsAttachLayerStorageFilter" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"layerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"layerData","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsDetachLayerStorageFilter" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"layerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ,{ "Name":"HcsFormatWritableLayerVhd" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"vhdHandle","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]} ] } ,{ "Name":"HcsGetLayerVhdMountPath" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"vhdHandle","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]} ,{"Name":"mountPath","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]} ] } ,{ "Name":"HcsSetupBaseOSVolume" ,"SetLastError":false ,"DllImport":"computestorage" ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]} ,"ReturnAttrs":[] ,"Architectures":[] ,"Platform":null ,"Attrs":[] ,"Params":[ {"Name":"layerPath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"volumePath","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ,{"Name":"options","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]} ] } ] ,"UnicodeAliases":[ ] }