foundation

package
v0.0.0-...-c45669f Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const GUIDAsyncOperationCompletedHandler string = "fcdcf02c-e5d8-4478-915a-4d90b74b83a5"
View Source
const GUIDDeferralCompletedHandler string = "ed32a372-f3c8-4faa-9cfb-470148da3888"
View Source
const GUIDIAsyncOperation string = "9fc2b0bb-e446-44e2-aa61-9cab8f636af2"
View Source
const GUIDIClosable string = "30d5a829-7fa4-4026-83bb-d75bae4ea99e"
View Source
const GUIDIReference string = "61c17706-2d65-11e0-9ae8-d48564015472"
View Source
const GUIDTypedEventHandler string = "9de1c534-6ae1-11e0-84e1-18a905bcc53f"
View Source
const GUIDiDeferral string = "d6269732-3b7f-46a7-b40b-4fdca2a2c693"
View Source
const GUIDiDeferralFactory string = "65a1ecc5-3fb5-4832-8ca9-f061b281d13a"
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 SignatureDeferral string = "rc(Windows.Foundation.Deferral;{d6269732-3b7f-46a7-b40b-4fdca2a2c693})"
View Source
const SignatureDeferralCompletedHandler string = "delegate({ed32a372-f3c8-4faa-9cfb-470148da3888})"
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 SignatureIReference string = "{61c17706-2d65-11e0-9ae8-d48564015472}"
View Source
const SignatureTypedEventHandler string = "delegate({9de1c534-6ae1-11e0-84e1-18a905bcc53f})"
View Source
const SignatureiDeferral string = "{d6269732-3b7f-46a7-b40b-4fdca2a2c693}"
View Source
const SignatureiDeferralFactory string = "{65a1ecc5-3fb5-4832-8ca9-f061b281d13a}"

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

func (*AsyncOperationCompletedHandler) AddRef

func (instance *AsyncOperationCompletedHandler) AddRef() uint64

func (*AsyncOperationCompletedHandler) GetIID

func (r *AsyncOperationCompletedHandler) GetIID() *ole.GUID

func (*AsyncOperationCompletedHandler) Invoke

func (instance *AsyncOperationCompletedHandler) Invoke(instancePtr, rawArgs0, rawArgs1, rawArgs2, rawArgs3, rawArgs4, rawArgs5, rawArgs6, rawArgs7, rawArgs8 unsafe.Pointer) uintptr

func (*AsyncOperationCompletedHandler) Release

func (instance *AsyncOperationCompletedHandler) Release() uint64

type AsyncOperationCompletedHandlerCallback

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

type AsyncOperationCompletedHandlerVtbl

type AsyncOperationCompletedHandlerVtbl struct {
	ole.IUnknownVtbl
	Invoke uintptr
}

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 Deferral

type Deferral struct {
	ole.IUnknown
}

func DeferralCreate

func DeferralCreate(handler *DeferralCompletedHandler) (*Deferral, error)

func (*Deferral) Close

func (impl *Deferral) Close() error

func (*Deferral) Complete

func (impl *Deferral) Complete() error

type DeferralCompletedHandler

type DeferralCompletedHandler struct {
	ole.IUnknown
	sync.Mutex

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

func NewDeferralCompletedHandler

func NewDeferralCompletedHandler(iid *ole.GUID, callback DeferralCompletedHandlerCallback) *DeferralCompletedHandler

func (*DeferralCompletedHandler) AddRef

func (instance *DeferralCompletedHandler) AddRef() uint64

func (*DeferralCompletedHandler) GetIID

func (r *DeferralCompletedHandler) GetIID() *ole.GUID

func (*DeferralCompletedHandler) Invoke

func (instance *DeferralCompletedHandler) Invoke(instancePtr, rawArgs0, rawArgs1, rawArgs2, rawArgs3, rawArgs4, rawArgs5, rawArgs6, rawArgs7, rawArgs8 unsafe.Pointer) uintptr

func (*DeferralCompletedHandler) Release

func (instance *DeferralCompletedHandler) Release() uint64

type DeferralCompletedHandlerCallback

type DeferralCompletedHandlerCallback func(instance *DeferralCompletedHandler)

type DeferralCompletedHandlerVtbl

type DeferralCompletedHandlerVtbl struct {
	ole.IUnknownVtbl
	Invoke uintptr
}

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 IReference

type IReference struct {
	ole.IInspectable
}

func (*IReference) GetValue

func (v *IReference) GetValue() (unsafe.Pointer, error)

func (*IReference) VTable

func (v *IReference) VTable() *IReferenceVtbl

type IReferenceVtbl

type IReferenceVtbl struct {
	ole.IInspectableVtbl

	GetValue 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

func (*TypedEventHandler) AddRef

func (instance *TypedEventHandler) AddRef() uint64

func (*TypedEventHandler) GetIID

func (r *TypedEventHandler) GetIID() *ole.GUID

func (*TypedEventHandler) Invoke

func (instance *TypedEventHandler) Invoke(instancePtr, rawArgs0, rawArgs1, rawArgs2, rawArgs3, rawArgs4, rawArgs5, rawArgs6, rawArgs7, rawArgs8 unsafe.Pointer) uintptr

func (*TypedEventHandler) Release

func (instance *TypedEventHandler) Release() uint64

type TypedEventHandlerCallback

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

type TypedEventHandlerVtbl

type TypedEventHandlerVtbl struct {
	ole.IUnknownVtbl
	Invoke uintptr
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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