mirror of
https://github.com/yv1ing/ShotRDP.git
synced 2025-09-16 15:10:57 +08:00
整理代码
This commit is contained in:
@@ -6,10 +6,9 @@ import (
|
||||
"fmt"
|
||||
"unsafe"
|
||||
|
||||
"ShotRDP/grdp/glog"
|
||||
|
||||
"ShotRDP/grdp/core"
|
||||
"ShotRDP/grdp/emission"
|
||||
"ShotRDP/grdp/glog"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
// cliprdr_test.go
|
||||
package cliprdr_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"ShotRDP/grdp/plugin/cliprdr"
|
||||
)
|
||||
|
||||
func TestClip(t *testing.T) {
|
||||
//t1, _ := cliprdr.ReadAll()
|
||||
//fmt.Printf("%s\n", t1)
|
||||
ok := cliprdr.OpenClipboard(0)
|
||||
fmt.Println(ok)
|
||||
if ok {
|
||||
name := cliprdr.GetClipboardData(13)
|
||||
fmt.Printf("name=%s\n", name)
|
||||
|
||||
cliprdr.CloseClipboard()
|
||||
}
|
||||
}
|
||||
@@ -7,11 +7,10 @@ import (
|
||||
"unicode/utf16"
|
||||
"unsafe"
|
||||
|
||||
"ShotRDP/grdp/glog"
|
||||
"github.com/shirou/w32"
|
||||
|
||||
"ShotRDP/grdp/core"
|
||||
|
||||
"ShotRDP/grdp/glog"
|
||||
"ShotRDP/grdp/win"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user