mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
17 lines
318 B
Go
17 lines
318 B
Go
package process
|
|
|
|
import (
|
|
"syscall"
|
|
|
|
"github.com/lwch/logging"
|
|
"github.com/lwch/natpass/code/client/rule/vnc/define"
|
|
)
|
|
|
|
// CADEvent handle ctrl+alt+del event
|
|
func (p *Process) CADEvent() {
|
|
ok, _, err := syscall.Syscall(define.FuncSendSAS, 1, 0, 0, 0)
|
|
if ok == 0 {
|
|
logging.Error("send sas failed: %v", err)
|
|
}
|
|
}
|