dllimports

package
v2.2.3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APPLICATION_INSTANCE                   = 0
	APPLICATION_CREATEFORM                 = 1
	APPLICATION_RUN                        = 2
	APPLICATION_INITIALIZE                 = 3
	APPLICATION_SETRUNLOOPRECEIVED         = 4
	FORM_CREATE2                           = 5
	FORM_SETONWNDPROC                      = 6
	FORM_SETGOPTR                          = 7
	SETEVENTCALLBACK                       = 8
	SETMESSAGECALLBACK                     = 9
	SETTHREADSYNCCALLBACK                  = 10
	SETREQUESTCALLCREATEPARAMSCALLBACK     = 11
	SETREMOVEEVENTCALLBACK                 = 12
	DGETSTRINGARROF                        = 13
	DSTRLEN                                = 14
	DMOVE                                  = 15
	DSHOWMESSAGE                           = 16
	DMESSAGEDLG                            = 17
	MOUSE_INSTANCE                         = 18
	SCREEN_INSTANCE                        = 19
	DSYNCHRONIZE                           = 20
	DTEXTTOSHORTCUT                        = 21
	DSHORTCUTTOTEXT                        = 22
	CLIPBOARD_INSTANCE                     = 23
	CLIPBOARD_HASFORMAT                    = 24
	DSETCLIPBOARD                          = 25
	DREGISTERCLIPBOARDFORMAT               = 26
	CLIPBOARD_GETASHTML                    = 27
	CLIPBOARD_GETTEXTBUF                   = 28
	CLIPBOARD_GETASTEXT                    = 29
	CLIPBOARD_SETASTEXT                    = 30
	DPREDEFINEDCLIPBOARDFORMAT             = 31
	DSYSOPEN                               = 32
	MEMORYSTREAM_READ                      = 33
	MEMORYSTREAM_WRITE                     = 34
	CANVAS_BRUSHCOPY                       = 35
	CANVAS_COPYRECT                        = 36
	CANVAS_DRAW1                           = 37
	CANVAS_DRAWFOCUSRECT                   = 38
	CANVAS_FILLRECT                        = 39
	CANVAS_FRAMERECT                       = 40
	CANVAS_TEXTRECT1                       = 41
	CANVAS_TEXTRECT2                       = 42
	CANVAS_POLYGON                         = 43
	CANVAS_POLYLINE                        = 44
	CANVAS_POLYBEZIER                      = 45
	IMAGELIST_DRAW1                        = 46
	IMAGELIST_DRAW2                        = 47
	IMAGELIST_DRAWOVERLAY1                 = 48
	IMAGELIST_DRAWOVERLAY2                 = 49
	IMAGELIST_GETICON1                     = 50
	IMAGELIST_GETICON2                     = 51
	DEXTRACTFILEPATH                       = 52
	DFILEEXISTS                            = 53
	DSELECTDIRECTORY1                      = 54
	DSELECTDIRECTORY2                      = 55
	DINPUTBOX                              = 56
	DINPUTQUERY                            = 57
	DPASSWORDBOX                           = 58
	DINPUTCOMBO                            = 59
	DINPUTCOMBOEX                          = 60
	DSYSLOCALE                             = 61
	DCREATEURLSHORTCUT                     = 62
	DCREATESHORTCUT                        = 63
	DSETPROPERTYVALUE                      = 64
	DSETPROPERTYSECVALUE                   = 65
	PRINTER_INSTANCE                       = 66
	PRINTER_SETPRINTER                     = 67
	DGUIDTOSTRING                          = 68
	DSTRINGTOGUID                          = 69
	DCREATEGUID                            = 70
	DGETLIBRESOURCECOUNT                   = 71
	DGETLIBRESOURCEITEM                    = 72
	DMODIFYLIBRESOURCE                     = 73
	DLIBABOUT                              = 74
	DLIBSTRINGENCODING                     = 75
	DLIBVERSION                            = 76
	DMAINTHREADID                          = 77
	DCURRENTTHREADID                       = 78
	DINITGODLL                             = 79
	DFINDCONTROL                           = 80
	DFINDLCLCONTROL                        = 81
	DFINDOWNERCONTROL                      = 82
	DFINDCONTROLATPOSITION                 = 83
	DFINDLCLWINDOW                         = 84
	DFINDDRAGTARGET                        = 85
	RESFORMLOADFROMSTREAM                  = 86
	RESFORMLOADFROMFILE                    = 87
	RESFORMLOADFROMRESOURCENAME            = 88
	NSWINDOW_FROMFORM                      = 89
	NSWINDOW_TITLEVISIBILITY               = 90
	NSWINDOW_SETTITLEVISIBILITY            = 91
	NSWINDOW_TITLEBARAPPEARSTRANSPARENT    = 92
	NSWINDOW_SETTITLEBARAPPEARSTRANSPARENT = 93
	NSWINDOW_STYLEMASK                     = 94
	NSWINDOW_SETSTYLEMASK                  = 95
	NSWINDOW_SETREPRESENTEDURL             = 96
	GDKWINDOW_GETXID                       = 97
	GDKWINDOW_FROMFORM                     = 98
	GTKWIDGET_GETGTKFIXED                  = 99
	GTKWIDGET_WINDOW                       = 100
	DSENDMESSAGE                           = 101
	DPOSTMESSAGE                           = 102
	DISICONIC                              = 103
	DISWINDOW                              = 104
	DISZOOMED                              = 105
	DISWINDOWVISIBLE                       = 106
	DGETDC                                 = 107
	DRELEASEDC                             = 108
	DSETFOREGROUNDWINDOW                   = 109
	DWINDOWFROMPOINT                       = 110
)

Variables

This section is empty.

Functions

func SyscallN

func SyscallN(addr uintptr, args ...uintptr) (r1, r2 uintptr, err error)

SyscallN 调用一个函数,最大12个参数。

Types

type DLL

type DLL uintptr

DLL 类型

func NewDLL

func NewDLL(name string) (DLL, error)

func (DLL) GetProcAddr

func (h DLL) GetProcAddr(name string) (ProcAddr, error)

func (DLL) Release

func (h DLL) Release() error

type ProcAddr

type ProcAddr uintptr

ProcAddr 函数/过程指针

func GetImportDefFunc

func GetImportDefFunc(uiLib DLL, index int) ProcAddr

func GetImportFunc

func GetImportFunc(uiLib DLL, index int) ProcAddr

func (ProcAddr) Call

func (p ProcAddr) Call(args ...uintptr) (r1, r2 uintptr, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL