foundation

package
v0.0.0-...-ae6dbc0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const GUIDAsyncOperationCompletedHandler string = "fcdcf02c-e5d8-4478-915a-4d90b74b83a5"
View Source
const GUIDIAsyncOperation string = "9fc2b0bb-e446-44e2-aa61-9cab8f636af2"
View Source
const GUIDIClosable string = "30d5a829-7fa4-4026-83bb-d75bae4ea99e"
View Source
const GUIDTypedEventHandler string = "9de1c534-6ae1-11e0-84e1-18a905bcc53f"
View Source
const SignatureAsyncOperationCompletedHandler string = "delegate({fcdcf02c-e5d8-4478-915a-4d90b74b83a5})"
View Source
const SignatureAsyncStatus string = "enum(Windows.Foundation.AsyncStatus;i4)"
View Source
const SignatureDateTime string = "struct(Windows.Foundation.DateTime;i8)"
View Source
const SignatureEventRegistrationToken string = "struct(Windows.Foundation.EventRegistrationToken;i8)"
View Source
const SignatureIAsyncOperation string = "{9fc2b0bb-e446-44e2-aa61-9cab8f636af2}"
View Source
const SignatureIClosable string = "{30d5a829-7fa4-4026-83bb-d75bae4ea99e}"
View Source
const SignatureTypedEventHandler string = "delegate({9de1c534-6ae1-11e0-84e1-18a905bcc53f})"

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncOperationCompletedHandler

type AsyncOperationCompletedHandler struct {
	ole.IUnknown
	sync.Mutex

	IID ole.GUID
	// contains filtered or unexported fields
}

func NewAsyncOperationCompletedHandler

func NewAsyncOperationCompletedHandler(iid *ole.GUID, callback AsyncOperationCompletedHandlerCallback) *AsyncOperationCompletedHandler

type AsyncOperationCompletedHandlerCallback

type AsyncOperationCompletedHandlerCallback func(instance *AsyncOperationCompletedHandler, asyncInfo *IAsyncOperation, asyncStatus AsyncStatus)

type AsyncStatus

type AsyncStatus int32
const (
	AsyncStatusCanceled  AsyncStatus = 2
	AsyncStatusCompleted AsyncStatus = 1
	AsyncStatusError     AsyncStatus = 3
	AsyncStatusStarted   AsyncStatus = 0
)

type DateTime

type DateTime struct {
	UniversalTime int64
}

type EventRegistrationToken

type EventRegistrationToken struct {
	Value int64
}

type IAsyncOperation

type IAsyncOperation struct {
	ole.IInspectable
}

func (*IAsyncOperation) GetCompleted

func (*IAsyncOperation) GetResults

func (v *IAsyncOperation) GetResults() (unsafe.Pointer, error)

func (*IAsyncOperation) SetCompleted

func (v *IAsyncOperation) SetCompleted(handler *AsyncOperationCompletedHandler) error

func (*IAsyncOperation) VTable

func (v *IAsyncOperation) VTable() *IAsyncOperationVtbl

type IAsyncOperationVtbl

type IAsyncOperationVtbl struct {
	ole.IInspectableVtbl

	SetCompleted uintptr
	GetCompleted uintptr
	GetResults   uintptr
}

type IClosable

type IClosable struct {
	ole.IInspectable
}

func (*IClosable) Close

func (v *IClosable) Close() error

func (*IClosable) VTable

func (v *IClosable) VTable() *IClosableVtbl

type IClosableVtbl

type IClosableVtbl struct {
	ole.IInspectableVtbl

	Close uintptr
}

type TypedEventHandler

type TypedEventHandler struct {
	ole.IUnknown
	sync.Mutex

	IID ole.GUID
	// contains filtered or unexported fields
}

func NewTypedEventHandler

func NewTypedEventHandler(iid *ole.GUID, callback TypedEventHandlerCallback) *TypedEventHandler

type TypedEventHandlerCallback

type TypedEventHandlerCallback func(instance *TypedEventHandler, sender unsafe.Pointer, args unsafe.Pointer)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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