Hi devs, It seems that the IMachine_LaunchVMProcess macro hasn't been updated with the new `environmentChangesSize` param expected by LaunchVMProcess.
Here's a small patch to fix this in VBoxCAPI_v6_1.h. Have a nice end of week.
diff --git a/sdk/bindings/c/include/VBoxCAPI_v6_1.h b/sdk/bindings/c/include/VBoxCAPI_v6_1.h index 46eb95c..e4d539c 100644 --- a/sdk/bindings/c/include/VBoxCAPI_v6_1.h +++ b/sdk/bindings/c/include/VBoxCAPI_v6_1.h @@ -10300,7 +10300,7 @@ struct IMachineVtbl #define IMachine_put_CPUProfile(p, aCPUProfile) ((p)->lpVtbl->SetCPUProfile(p, aCPUProfile)) #define IMachine_SetCPUProfile(p, aCPUProfile) ((p)->lpVtbl->SetCPUProfile(p, aCPUProfile)) #define IMachine_LockMachine(p, aSession, aLockType) ((p)->lpVtbl->LockMachine(p, aSession, aLockType)) -#define IMachine_LaunchVMProcess(p, aSession, aName, aEnvironmentChanges, aProgress) ((p)->lpVtbl->LaunchVMProcess(p, aSession, aName, aEnvironmentChanges, aProgress)) +#define IMachine_LaunchVMProcess(p, aSession, aName, aEnvironmentChangesSize, aEnvironmentChanges, aProgress) ((p)->lpVtbl->LaunchVMProcess(p, aSession, aName, aEnvironmentChangesSize, aEnvironmentChanges, aProgress)) #define IMachine_SetBootOrder(p, aPosition, aDevice) ((p)->lpVtbl->SetBootOrder(p, aPosition, aDevice)) #define IMachine_GetBootOrder(p, aPosition, aDevice) ((p)->lpVtbl->GetBootOrder(p, aPosition, aDevice)) #define IMachine_AttachDevice(p, aName, aControllerPort, aDevice, aType, aMedium) ((p)->lpVtbl->AttachDevice(p, aName, aControllerPort, aDevice, aType, aMedium))
_______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev