fe2a6db786
rust / build / test / clippy / fmt (push) Has been cancelled
Layout:
- src/ .NET 10 x64 reference: MxNativeCodec, MxNativeClient,
MxAsbClient, probes, tests, harnesses. Executable spec.
- design/ Architectural plan for the Rust port (M0–M6), error
model, protocol invariants, risks (R1–R16), adversarial
review log (review.md).
- rust/ Rust workspace. M0 skeleton + M1 codec parity.
mxaccess-codec: 215 unit tests + 2 cross-implementation
parity tests (byte-identical against .NET reference).
Other crates are M0 stubs awaiting M2+.
- captures/ Frida + netsh + pcap evidence per CLAUDE.md
("captures are evidence, not throwaway logs").
- analysis/ Decompiled C# (frida/proxy/decompiled-*),
Ghidra exports for native DLLs (`exports/` only —
working state at `projects/` and AVEVA's input
binaries at `input/` are gitignored).
- docs/ Reverse-engineering reference docs.
- tools/ Setup-LiveProbeEnv.ps1 (Infisical credential fetcher),
Compute-Crc.ps1 (.NET parity helper).
- .github/workflows/ Rust CI: fmt + build + test + clippy on Windows.
- LICENSE MIT (Joseph Doherty, 2026).
Verified:
- cargo test --workspace → 217 passed (215 unit + 2 .NET parity), 0 failed
- cargo clippy --workspace -- -D warnings → clean
- cargo fmt --all -- --check → clean
- cargo publish --dry-run -p mxaccess-codec → packages cleanly
Excluded from history (see .gitignore):
- **/bin, **/obj, **/target — build artifacts
- analysis/ghidra/projects/ — Ghidra working state (regenerable)
- analysis/ghidra/input/ — AVEVA proprietary DLLs (vendor IP)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
391 lines
32 KiB
C#
391 lines
32 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Interop.Lmx;
|
|
|
|
[ComImport]
|
|
[ComConversionLoss]
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
[Guid("22595C0C-28B9-11D3-87E0-00A0C982C01C")]
|
|
[TypeLibType(TypeLibTypeFlags.FCanCreate)]
|
|
public class BootstrapObjectClass : IBootstrapController4, BootstrapObject, IBootstrapRegister, IBootstrapRegister2, IBootstrapRegister3, IBootstrapRegister4, IBootstrapRegister5, IBootstrapRegister6, IBootstrapProcessController, IVersionInformation2
|
|
{
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void StartPlatform([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void ShutDownPlatform([In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetPlatformStatus([In] int platformId, out tagPlatformStatus pPlatformStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SetLocalPlatformEngineStatus([In] int lPlatformEngineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void InformOtherPlatformStatus([In] int platformId, [In] tagPlatformStatus platformStatus, [In] int lPlatformEngineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SetPlatformStartupState([In] int platformId, [In] tagPlatformStartupSetting flag);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetPlatformIdentity([In] int platformId, out tagPlatformRegistrationInformation pPlatformIdentity);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SubscribePlatformStatusService([In][MarshalAs(UnmanagedType.Interface)] IPlatformStatusCallback pIPlatformStatusCallback, out int plToken);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SubscribeProcessStatusService([In][MarshalAs(UnmanagedType.Interface)] IProcessStatusCallback pIProcessStatusCallback, out int plToken);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SubscribeBootstrapStatusService([In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void UnSubscribePlatformStatusService([In] int lToken);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void UnSubscribeProcessStatusService([In] int lToken);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void UnSubscribeBootstrapStatusService([In] int lToken);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void ShutDownPlatformSynchronous([In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetPlatformMappingTableTimeStamp(out _FILETIME pmtTimeStamp);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SubscribeBootstrapStatusService2([In] Guid bootstrapInstance, [In] int platformId, [In][MarshalAs(UnmanagedType.Interface)] IBootstrapStatusCallback pIBootstrapStatusCallback, out int plToken);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SwitchoverPlatform([In] int lDestinationPlatform, [In] int lStagedEngineId, [In] bool bRestartHostedEngines);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetRestartHostedEnginesStatus([In] int lLocalPlatformId, out bool bRestartHostedEngines);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformId, [In] tagClusterRegistrationInformation clusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformId, [In] tagClusterRegistrationInformation clusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister2_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformId, [In] tagClusterRegistrationInformation clusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister3_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In] int lPlatformId, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformId, [In] tagClusterRegistrationInformation clusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister4_MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In] int lPlatformId, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformId, [In] tagClusterRegistrationInformation clusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In] int lPlatformId, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister5_RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterNodeWithASBSolution([In][MarshalAs(UnmanagedType.LPWStr)] string NodeToPairWith);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterClusterInformation([In] tagRegistrationSource regSource, [In] int lPlatformId, [In] tagClusterRegistrationInformation clusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_UnregisterClusterInformation([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_GetClusterInformation([In] int platformId, out tagClusterRegistrationInformation pClusterInformation);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterPlatform([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_UnregisterPlatform([In] tagRegistrationSource regSource, [In] int platformId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_GetPlatformList(out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterPlatformEngine([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szEngineName, [In][MarshalAs(UnmanagedType.LPWStr)] string szStartupOptions, [In][MarshalAs(UnmanagedType.LPWStr)] string szConfigOptions);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_SetPlatformCmdStartOptions([In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_GetPlatformCmdStartOptions([MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_GetRemotePlatformList([In][MarshalAs(UnmanagedType.LPWStr)] string szNodeName, out int plTotalPlatforms, [Out] IntPtr ppPlatformList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterFolderOrFile([In][MarshalAs(UnmanagedType.LPWStr)] string szFolderOrFilePath, [In] bool bRemoveOnUninstall);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_SetPlatformStatus([In] int platformId, [In] tagPlatformStatus status, [In] int engineStatus);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterPlatform2([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation2 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterPlatform3([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation3 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_MarkPlatformUndeployed([In][MarshalAs(UnmanagedType.BStr)] string bstrgalaxyName, [In] int lPlatformId, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterPlatform4([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void IBootstrapRegister6_RegisterNodeWithASBSolution([In][MarshalAs(UnmanagedType.LPWStr)] string NodeToPairWith);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void RegisterPlatform6([In][MarshalAs(UnmanagedType.LPWStr)] string szGalaxyName, [In] tagRegistrationSource regSource, [In] tagPlatformRegistrationInformation4 platformRegInfo, [In][MarshalAs(UnmanagedType.BStr)] string bstrOtherNodeCERTIssuer, [MarshalAs(UnmanagedType.BStr)] out string bstrGRcertIssuer, [MarshalAs(UnmanagedType.BStr)] out string bstrRTcertIssuer);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void StartPlatformProcess([In] int lPrivateData, [In][MarshalAs(UnmanagedType.LPWStr)] string szVendor, [In][MarshalAs(UnmanagedType.LPWStr)] string szExecutable, [In][MarshalAs(UnmanagedType.LPWStr)] string szCmdLnArgs, [In][MarshalAs(UnmanagedType.LPWStr)] string szProcessCtrlArgs, [MarshalAs(UnmanagedType.BStr)] out string pszProcessId);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void ShutdownPlatformProcess([In][MarshalAs(UnmanagedType.LPWStr)] string szProcessId, [In] int lmsShutdownTimeout);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetPlatformProcessStatus([In][MarshalAs(UnmanagedType.LPWStr)] string szProcessId, out tagPlatformProcessStatus pProcessRunState);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void ShutdownAllPlatformProcesses();
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetPlatformProcessList(out int plTotalProcesses, [Out] IntPtr ppPlatformProcessList);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void SetCmdStartOptions([In] int lProcessId, [In][MarshalAs(UnmanagedType.LPWStr)] string szCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetCmdStartOptions([In] int lProcessId, [MarshalAs(UnmanagedType.BStr)] out string pszCmdOption);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
[return: MarshalAs(UnmanagedType.BStr)]
|
|
public virtual extern string GetProductInternalName();
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
[return: MarshalAs(UnmanagedType.BStr)]
|
|
public virtual extern string GetComponentInternalName();
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern int GetMasterBuildNumber();
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern int GetMasterBuildComponentVersion();
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern int GetMaintenanceBuildNumber();
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern int GetMaintenanceBuildComponentVersion();
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetBuildNumsAndComponentVers(out int masterBuildNumber, out int masterBuildComponentVersion, out int maintenanceBuildNumber, out int maintenanceBuildComponentVersion);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetFileVersionNumbers([In] int platformId, [In] MxFileLocationEnum fileLocation, [In][MarshalAs(UnmanagedType.LPWStr)] string fileName, out int masterBuildNumber, out int masterBuildComponentVersion, out int maintenanceBuildNumber, out int maintenanceBuildComponentVersion);
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
|
public virtual extern void GetAllFileVersionNumbers([In] int platformId, [In][MarshalAs(UnmanagedType.LPWStr)] string fileName, out int lVersionCount, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMasterBuildNumber, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMasterBuildComponentVersion, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMaintenanceBuildNumber, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_I4)] out int[] ppMaintenanceBuildComponentVersion);
|
|
}
|