api

package
v0.0.0-...-26def43 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIInit

func APIInit()

APIInit API初始化

func Application_CreateForm

func Application_CreateForm(app uintptr) uintptr

func Application_Initialize

func Application_Initialize(obj uintptr)

func Application_Instance

func Application_Instance() uintptr

func Application_Run

func Application_Run(app uintptr)

func Application_SetRunLoopReceived

func Application_SetRunLoopReceived(obj uintptr, proc uintptr)

func COMSequentialStreamRead

func COMSequentialStreamRead() int

func COMSequentialStreamWrite

func COMSequentialStreamWrite() int

func COMStreamClone

func COMStreamClone() int

func COMStreamCommit

func COMStreamCommit() int

func COMStreamCopyTo

func COMStreamCopyTo() int

func COMStreamLockRegion

func COMStreamLockRegion() int

func COMStreamRevert

func COMStreamRevert() int

func COMStreamSeek

func COMStreamSeek() int

func COMStreamSetSize

func COMStreamSetSize() int

func COMStreamStat

func COMStreamStat() int

func COMStreamUnlockRegion

func COMStreamUnlockRegion() int

func Clipboard_Instance

func Clipboard_Instance() uintptr

func CustomWidgetSetFinalization

func CustomWidgetSetFinalization() bool

CustomWidgetSetFinalization

自定义组件销毁 Linux

func CustomWidgetSetInitialization

func CustomWidgetSetInitialization() bool

CustomWidgetSetInitialization 自定义组件初始化 Linux

func DCreateGUID

func DCreateGUID() (guid TGUID)

func DCreateShortCut

func DCreateShortCut(aDestPath, aShortCutName, aSrcFileName, aIconFileName, aDescription, aCmdArgs string) bool

func DCreateURLShortCut

func DCreateURLShortCut(aDestPath, aShortCutName, aURL string)

func DCurrentThreadId

func DCurrentThreadId() uintptr

func DDateTimeToUnix

func DDateTimeToUnix(dateTime float64) (result int64)

func DExtractFilePath

func DExtractFilePath(filename string) string

func DFileExists

func DFileExists(filename string) bool

func DFindControl

func DFindControl(handle HWND) uintptr

func DFindControlAtPosition

func DFindControlAtPosition(position TPoint, allowDisabled bool) uintptr

func DFindDragTarget

func DFindDragTarget(position TPoint, allowDisabled bool) uintptr

func DFindLCLControl

func DFindLCLControl(screenPos TPoint) uintptr

func DFindLCLWindow

func DFindLCLWindow(screenPos TPoint, allowDisabled bool) uintptr

func DFindOwnerControl

func DFindOwnerControl(handle HWND) uintptr

func DFreeAndNil

func DFreeAndNil(obj uintptr)

func DGUIDToString

func DGUIDToString(guid TGUID) string

func DGetDC

func DGetDC(hWnd types.HWND) types.HDC

func DGetLibResourceCount

func DGetLibResourceCount() int32

func DGetLibResourceItem

func DGetLibResourceItem(aIndex int32) (ret TLibResource)

func DGetStringArrOf

func DGetStringArrOf(p uintptr, index int) string

func DInitGoDll

func DInitGoDll(aMainThreadId uintptr)

func DInputBox

func DInputBox(aCaption, aPrompt, aDefault string) string

func DInputCombo

func DInputCombo(aCaption, aPrompt string, aList uintptr) int32

func DInputComboEx

func DInputComboEx(aCaption, aPrompt string, aList uintptr, allowCustomText bool) string

func DInputQuery

func DInputQuery(aCaption, aPrompt string, value *string) bool

func DIsIconic

func DIsIconic(hWnd types.HWND) bool

func DIsWindow

func DIsWindow(hWnd types.HWND) bool

func DIsWindowVisible

func DIsWindowVisible(hWnd types.HWND) bool

func DIsZoomed

func DIsZoomed(hWnd types.HWND) bool

func DLibAbout

func DLibAbout() string

func DLibStringEncoding

func DLibStringEncoding() TStringEncoding

func DMainThreadId

func DMainThreadId() uintptr

func DMessageDlg

func DMessageDlg(Msg string, DlgType TMsgDlgType, Buttons TMsgDlgButtons, HelpCtx int32) int32

func DModifyLibResource

func DModifyLibResource(aPtr uintptr, aValue string)

func DMove

func DMove(src, dest uintptr, nLen int)

func DPasswordBox

func DPasswordBox(aCaption, aPrompt string) string

func DPostMessage

func DPostMessage(hWd types.HWND, msg uint32, wParam, lParam uintptr) bool

func DPredefinedClipboardFormat

func DPredefinedClipboardFormat(aFormat TPredefinedClipboardFormat) TClipboardFormat

func DRegisterClipboardFormat

func DRegisterClipboardFormat(aFormat string) TClipboardFormat

func DReleaseDC

func DReleaseDC(hWnd types.HWND, dc types.HDC) int

func DRunMainAsyncCall

func DRunMainAsyncCall(id uintptr)

func DRunMainSyncCall

func DRunMainSyncCall(fn func())

func DSelectDirectory1

func DSelectDirectory1(options TSelectDirOpts) (bool, string)

func DSelectDirectory2

func DSelectDirectory2(caption, root string, showHidden bool) (bool, string)

func DSendMessage

func DSendMessage(hWd types.HWND, msg uint32, wParam, lParam uintptr) uintptr

func DSetClipboard

func DSetClipboard(obj uintptr) uintptr

func DSetForegroundWindow

func DSetForegroundWindow(hWnd types.HWND) bool

func DSetNil

func DSetNil(obj uintptr)

func DSetPropertySecValue

func DSetPropertySecValue(instance uintptr, propName, secPropName, value string)

func DSetPropertyValue

func DSetPropertyValue(instance uintptr, propName, value string)

func DShortCutToText

func DShortCutToText(val TShortCut) string

func DShowMessage

func DShowMessage(s string)

func DStrLen

func DStrLen(p uintptr) int

func DStringToGUID

func DStringToGUID(str string) (guid TGUID)

func DSysLocale

func DSysLocale(aInfo *TSysLocale)

func DSysOpen

func DSysOpen(filename string)

func DTextToShortCut

func DTextToShortCut(val string) TShortCut

func DUnixToDateTime

func DUnixToDateTime(dateTime int64) (result float64)

func DWindowFromPoint

func DWindowFromPoint(point types.TPoint) types.HWND

func Form_Create2

func Form_Create2(owner uintptr) uintptr

func Form_InheritedWndProc

func Form_InheritedWndProc(obj uintptr, message *TMessage) uintptr

func Form_SetGoPtr

func Form_SetGoPtr(obj uintptr, ptr uintptr)

func Form_SetOnWndProc

func Form_SetOnWndProc(obj uintptr, fn interface{})

func GdkWindow_FromForm

func GdkWindow_FromForm(obj uintptr) uintptr

func GdkWindow_GetXId

func GdkWindow_GetXId(g uintptr) (res uintptr)

func GoBool

func GoBool(val uintptr) bool

func GoStr

func GoStr(str uintptr) string

GoStr pascal string to go string

func GtkWidget_GetGtkFixed

func GtkWidget_GetGtkFixed(g uintptr) uintptr

func GtkWidget_Window

func GtkWidget_Window(g uintptr) uintptr

func InterfacedObjectCreate

func InterfacedObjectCreate() int

func InterfacedObjectRefCount

func InterfacedObjectRefCount() int

func LCLPreDef

func LCLPreDef() imports.CallImport

LCLPreDef 预定义LcL导入表

func LCLVersion

func LCLVersion() (major, minor, release, patch uint16, fullVersion uint32, version string)

func LibRelease

func LibRelease()

LibRelease app run end

func MakeEventDataPtr

func MakeEventDataPtr(fn interface{}) uintptr

func Mouse_Instance

func Mouse_Instance() uintptr

func NewDefaultImports

func NewDefaultImports() *imports.Imports

NewDefaultImports 创建默认导入表调用

func PascalBool

func PascalBool(val bool) uintptr

func PascalStr

func PascalStr(str string) uintptr

func Printer_Instance

func Printer_Instance() uintptr

func Printer_SetPrinter

func Printer_SetPrinter(obj uintptr, aName string)

func PtrToElementPtr

func PtrToElementPtr(v uintptr) *list.Element

func PtrToElementValue

func PtrToElementValue(v uintptr) interface{}

func RemoveEventElement

func RemoveEventElement(v uintptr) bool

func ResFormLoadFromFile

func ResFormLoadFromFile(filename string, root uintptr)

ResFormLoadFromFile

从文件中加载窗口资源

func ResFormLoadFromResourceName

func ResFormLoadFromResourceName(instance uintptr, resName string, root uintptr)

ResFormLoadFromResourceName

从指定资源中加载窗口资源

func ResFormLoadFromStream

func ResFormLoadFromStream(obj, root uintptr)

ResFormLoadFromStream

从流中加载窗口资源

func Screen_Instance

func Screen_Instance() uintptr

func SetCEFEventCallback

func SetCEFEventCallback(ptr uintptr)

func SetCEFRemoveEventCallback

func SetCEFRemoveEventCallback(ptr uintptr)

func SetEventCallback

func SetEventCallback(ptr uintptr)

func SetExceptionHandlerCallback

func SetExceptionHandlerCallback(ptr uintptr)

func SetMessageCallback

func SetMessageCallback(ptr uintptr)

func SetOnLoadLibCallback

func SetOnLoadLibCallback(fn func() (imports.DLL, error))

SetOnLoadLibCallback

加载liblcl动态库回调函数
调用 inits.Init 之前设置

func SetReleaseCallback

func SetReleaseCallback(fn func())

SetReleaseCallback 应用运行结束后释放资源之前执行

func SetRemoveEventCallback

func SetRemoveEventCallback(ptr uintptr)

func SetRequestCallCreateParamsCallback

func SetRequestCallCreateParamsCallback(ptr uintptr)

func SetRequestCallFormCreateCallback

func SetRequestCallFormCreateCallback(ptr uintptr)

func SetThreadAsyncCallback

func SetThreadAsyncCallback(ptr uintptr)

func SetThreadSyncCallback

func SetThreadSyncCallback(ptr uintptr)

func SetWKEventCallback

func SetWKEventCallback(ptr uintptr)

func SetWKRemoveEventCallback

func SetWKRemoveEventCallback(ptr uintptr)

func SetWVEventCallback

func SetWVEventCallback(ptr uintptr)

func SetWVRemoveEventCallback

func SetWVRemoveEventCallback(ptr uintptr)

func StreamAdapterClone

func StreamAdapterClone() int

func StreamAdapterCommit

func StreamAdapterCommit() int

func StreamAdapterCopyTo

func StreamAdapterCopyTo() int

func StreamAdapterCreate

func StreamAdapterCreate() int

func StreamAdapterLockRegion

func StreamAdapterLockRegion() int

func StreamAdapterRead

func StreamAdapterRead() int

func StreamAdapterRevert

func StreamAdapterRevert() int

func StreamAdapterSeek

func StreamAdapterSeek() int

func StreamAdapterSetSize

func StreamAdapterSetSize() int

func StreamAdapterStat

func StreamAdapterStat() int

func StreamAdapterStream

func StreamAdapterStream() int

func StreamAdapterStreamOwnership

func StreamAdapterStreamOwnership() int

func StreamAdapterUnlockRegion

func StreamAdapterUnlockRegion() int

func StreamAdapterWrite

func StreamAdapterWrite() int

func StringToUTF8Ptr

func StringToUTF8Ptr(s string) *uint8

StringToUTF8Ptr

字符串到UTF8指针

func ThreadSyncCallbackFn

func ThreadSyncCallbackFn() func()

func VTImageInfoGet

func VTImageInfoGet() int

func VirtualNodeAlign

func VirtualNodeAlign() int

func VirtualNodeCheckState

func VirtualNodeCheckState() int

func VirtualNodeCheckType

func VirtualNodeCheckType() int

func VirtualNodeChildCount

func VirtualNodeChildCount() int

func VirtualNodeCreate

func VirtualNodeCreate() int

func VirtualNodeData

func VirtualNodeData() int

func VirtualNodeDummy

func VirtualNodeDummy() int

func VirtualNodeFirstChild

func VirtualNodeFirstChild() int

func VirtualNodeIndex

func VirtualNodeIndex() int

func VirtualNodeLastChild

func VirtualNodeLastChild() int

func VirtualNodeNextSibling

func VirtualNodeNextSibling() int

func VirtualNodeNodeHeight

func VirtualNodeNodeHeight() int

func VirtualNodeParent

func VirtualNodeParent() int

func VirtualNodePrevSibling

func VirtualNodePrevSibling() int

func VirtualNodeStates

func VirtualNodeStates() int

func VirtualNodeTotalCount

func VirtualNodeTotalCount() int

func VirtualNodeTotalHeight

func VirtualNodeTotalHeight() int

func VirtualTreeColumnsGetVisibleColumns

func VirtualTreeColumnsGetVisibleColumns() int

Types

type GoStringHeader

type GoStringHeader struct {
	Data uintptr
	Len  int
}

Directories

Path Synopsis
Package exception
Package exception
lcl
wk
Package winapi LCL winAPI and RTL commonly used function APIs Some functions have certain cross-platform characteristics
Package winapi LCL winAPI and RTL commonly used function APIs Some functions have certain cross-platform characteristics

Jump to

Keyboard shortcuts

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