Skip to content

Commit bfaf589

Browse files
authored
Update wmi.go
1 parent 9059549 commit bfaf589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wmi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func With(className string, do func(class *ole.IDispatch) error) error {
5959
return nil
6060
}
6161

62-
// CallMethod usage: wmi.CallMethod(nil, "Win32_Process", "Create", []interface{}{"cmd /C notepad.exe", "C:\\Windows\\System32", objStartupConfig, &pid})
62+
// CallMethod usage: wmi.CallMethod("Win32_Process", "Create", "cmd /C notepad.exe", "C:\\Windows\\System32", objStartupConfig, &pid)
6363
//
6464
// CallMethod calls a method named methodName on an instance of the class named
6565
// className, with the given params.

0 commit comments

Comments
 (0)