整理代码

This commit is contained in:
2025-02-20 12:31:02 +08:00
parent 84362607c2
commit 71b5229198
17 changed files with 14 additions and 183 deletions

View File

@@ -6,10 +6,9 @@ import (
"fmt"
"unsafe"
"ShotRDP/grdp/glog"
"ShotRDP/grdp/core"
"ShotRDP/grdp/emission"
"ShotRDP/grdp/glog"
)
const (

View File

@@ -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()
}
}

View File

@@ -7,11 +7,10 @@ import (
"unicode/utf16"
"unsafe"
"ShotRDP/grdp/glog"
"github.com/shirou/w32"
"ShotRDP/grdp/core"
"ShotRDP/grdp/glog"
"ShotRDP/grdp/win"
)