inParams.getObjectDispatcher().put("CommandLine", new JIVariant(cmd));
inParams.getObjectDispatcher().put("CurrentDirectory", new JIVariant(cDir));
inParams.getObjectDispatcher().put("ProcessStartupInformation", new JIVariant(0));
How to create JIVariant for Win32_ProcessStartup class?
-Regards,
techhunt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
How can we pass a class type as IN parameter for a method?
For example win32_process class has create method.
syntax:
uint32 Create(
string CommandLine,
string CurrentDirectory,
Win32_ProcessStartup ProcessStartupInformation,
uint32 ProcessId
);
How to pass parameter Win32_ProcessStartup?
inParams.getObjectDispatcher().put("CommandLine", new JIVariant(cmd));
inParams.getObjectDispatcher().put("CurrentDirectory", new JIVariant(cDir));
inParams.getObjectDispatcher().put("ProcessStartupInformation", new JIVariant(0));
How to create JIVariant for Win32_ProcessStartup class?
-Regards,
techhunt