iokit

package
v0.6.21 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package iokit provides Go bindings for the iokit framework.

Access hardware devices and drivers from your apps and services.

The IOKit framework implements nonkernel access to IOKit objects such drivers and nubs through the device-interface mechanism.

Serial Ports

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFunc

func BindFunc(fptr any, name string) (err error)

BindFunc binds the iokit symbol name into fptr, which must be a pointer to a func variable.

The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.

func IOAccelFindAccelerator

func IOAccelFindAccelerator(framebuffer uint32, pAccelerator *uint32, pFramebufferIndex *uint32) kernel.IOReturn

IOAccelFindAccelerator.

It panics if IOAccelFindAccelerator is unavailable at run time; use TryIOAccelFindAccelerator to get an error instead.

See: https://developer.apple.com/documentation/iokit/1502405-ioaccelfindaccelerator

func IOAllowPowerChange

func IOAllowPowerChange(kernelPort uint32, notificationID int) kernel.IOReturn

IOAllowPowerChange the caller acknowledges notification of a power state change on a device it has registered for notifications for via IORegisterForSystemPower or IORegisterApp.

It panics if IOAllowPowerChange is unavailable at run time; use TryIOAllowPowerChange to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557064-ioallowpowerchange

func IOBSDNameMatching

func IOBSDNameMatching(mainPort uint32, options uint32, bsdName string) corefoundation.CFMutableDictionary

IOBSDNameMatching create a matching dictionary that specifies an IOService match based on BSD device name.

It panics if IOBSDNameMatching is unavailable at run time; use TryIOBSDNameMatching to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514486-iobsdnamematching

func IOCFSerialize

func IOCFSerialize(object corefoundation.CFTypeRef, options uint) corefoundation.CFDataRef

IOCFSerialize.

It panics if IOCFSerialize is unavailable at run time; use TryIOCFSerialize to get an error instead.

See: https://developer.apple.com/documentation/iokit/1403329-iocfserialize

func IOCFUnserialize

func IOCFUnserialize(buffer string, allocator corefoundation.CFAllocatorRef, options uint, errorString *corefoundation.CFStringRef) corefoundation.CFTypeRef

IOCFUnserialize.

It panics if IOCFUnserialize is unavailable at run time; use TryIOCFUnserialize to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514265-iocfunserialize

func IOCFUnserializeBinary

func IOCFUnserializeBinary(buffer string, bufferSize unsafe.Pointer, allocator corefoundation.CFAllocatorRef, options uint, errorString *corefoundation.CFStringRef) corefoundation.CFTypeRef

IOCFUnserializeBinary.

It panics if IOCFUnserializeBinary is unavailable at run time; use TryIOCFUnserializeBinary to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514876-iocfunserializebinary

func IOCFUnserializeWithSize

func IOCFUnserializeWithSize(buffer string, bufferSize unsafe.Pointer, allocator corefoundation.CFAllocatorRef, options uint, errorString *corefoundation.CFStringRef) corefoundation.CFTypeRef

IOCFUnserializeWithSize.

It panics if IOCFUnserializeWithSize is unavailable at run time; use TryIOCFUnserializeWithSize to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514745-iocfunserializewithsize

func IOCancelPowerChange

func IOCancelPowerChange(kernelPort uint32, notificationID int) kernel.IOReturn

IOCancelPowerChange the caller denies an idle system sleep power state change.

It panics if IOCancelPowerChange is unavailable at run time; use TryIOCancelPowerChange to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557115-iocancelpowerchange

func IOCatalogueGetData

func IOCatalogueGetData(mainPort uint32, flag uint32, buffer string, size *uint32) int32

IOCatalogueGetData.

It panics if IOCatalogueGetData is unavailable at run time; use TryIOCatalogueGetData to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514233-iocataloguegetdata

func IOCatalogueModuleLoaded

func IOCatalogueModuleLoaded(mainPort uint32, name string) int32

IOCatalogueModuleLoaded.

It panics if IOCatalogueModuleLoaded is unavailable at run time; use TryIOCatalogueModuleLoaded to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514886-iocataloguemoduleloaded

func IOCatalogueReset

func IOCatalogueReset(mainPort uint32, flag uint32) int32

IOCatalogueReset.

It panics if IOCatalogueReset is unavailable at run time; use TryIOCatalogueReset to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514702-iocataloguereset

func IOCatalogueSendData

func IOCatalogueSendData(mainPort uint32, flag uint32, buffer string, size uint32) int32

IOCatalogueSendData.

It panics if IOCatalogueSendData is unavailable at run time; use TryIOCatalogueSendData to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514405-iocataloguesenddata

func IOCatalogueTerminate

func IOCatalogueTerminate(mainPort uint32, flag uint32, description string) int32

IOCatalogueTerminate.

It panics if IOCatalogueTerminate is unavailable at run time; use TryIOCatalogueTerminate to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514665-iocatalogueterminate

func IOConnectAddClient

func IOConnectAddClient(connect uint32, client uint32) int32

IOConnectAddClient inform a connection of a second connection.

It panics if IOConnectAddClient is unavailable at run time; use TryIOConnectAddClient to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514609-ioconnectaddclient

func IOConnectAddRef

func IOConnectAddRef(connect uint32) int32

IOConnectAddRef adds a reference to the connect handle.

It panics if IOConnectAddRef is unavailable at run time; use TryIOConnectAddRef to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514739-ioconnectaddref

func IOConnectCallAsyncMethod

func IOConnectCallAsyncMethod(connection uint32, selector uint32, wake_port uint32, reference *uint64, referenceCnt uint32, input *uint64, inputCnt uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, output *uint64, outputCnt *uint32, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) int32

IOConnectCallAsyncMethod.

It panics if IOConnectCallAsyncMethod is unavailable at run time; use TryIOConnectCallAsyncMethod to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514418-ioconnectcallasyncmethod

func IOConnectCallAsyncScalarMethod

func IOConnectCallAsyncScalarMethod(connection uint32, selector uint32, wake_port uint32, reference *uint64, referenceCnt uint32, input *uint64, inputCnt uint32, output *uint64, outputCnt *uint32) int32

IOConnectCallAsyncScalarMethod.

It panics if IOConnectCallAsyncScalarMethod is unavailable at run time; use TryIOConnectCallAsyncScalarMethod to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514884-ioconnectcallasyncscalarmethod

func IOConnectCallAsyncStructMethod

func IOConnectCallAsyncStructMethod(connection uint32, selector uint32, wake_port uint32, reference *uint64, referenceCnt uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) int32

IOConnectCallAsyncStructMethod.

It panics if IOConnectCallAsyncStructMethod is unavailable at run time; use TryIOConnectCallAsyncStructMethod to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514403-ioconnectcallasyncstructmethod

func IOConnectCallMethod

func IOConnectCallMethod(connection uint32, selector uint32, input *uint64, inputCnt uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, output *uint64, outputCnt *uint32, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) int32

IOConnectCallMethod.

It panics if IOConnectCallMethod is unavailable at run time; use TryIOConnectCallMethod to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514240-ioconnectcallmethod

func IOConnectCallScalarMethod

func IOConnectCallScalarMethod(connection uint32, selector uint32, input *uint64, inputCnt uint32, output *uint64, outputCnt *uint32) int32

IOConnectCallScalarMethod.

It panics if IOConnectCallScalarMethod is unavailable at run time; use TryIOConnectCallScalarMethod to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514793-ioconnectcallscalarmethod

func IOConnectCallStructMethod

func IOConnectCallStructMethod(connection uint32, selector uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) int32

IOConnectCallStructMethod.

It panics if IOConnectCallStructMethod is unavailable at run time; use TryIOConnectCallStructMethod to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514274-ioconnectcallstructmethod

func IOConnectGetService

func IOConnectGetService(connect uint32, service *uint32) int32

IOConnectGetService returns the IOService a connect handle was opened on.

It panics if IOConnectGetService is unavailable at run time; use TryIOConnectGetService to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514438-ioconnectgetservice

func IOConnectMapMemory

func IOConnectMapMemory(connect uint32, memoryType uint32, intoTask uint32, atAddress *uint64, ofSize *uint64, options uint32) int32

IOConnectMapMemory map hardware or shared memory into the caller's task.

It panics if IOConnectMapMemory is unavailable at run time; use TryIOConnectMapMemory to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514377-ioconnectmapmemory

func IOConnectMapMemory64

func IOConnectMapMemory64(connect uint32, memoryType uint32, intoTask uint32, atAddress *uint64, ofSize *uint64, options uint32) int32

IOConnectMapMemory64 map hardware or shared memory into the caller's task.

It panics if IOConnectMapMemory64 is unavailable at run time; use TryIOConnectMapMemory64 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514862-ioconnectmapmemory64

func IOConnectRelease

func IOConnectRelease(connect uint32) int32

IOConnectRelease remove a reference to the connect handle.

It panics if IOConnectRelease is unavailable at run time; use TryIOConnectRelease to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514511-ioconnectrelease

func IOConnectSetCFProperties

func IOConnectSetCFProperties(connect uint32, properties corefoundation.CFTypeRef) int32

IOConnectSetCFProperties set CF container based properties on a connection.

It panics if IOConnectSetCFProperties is unavailable at run time; use TryIOConnectSetCFProperties to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514713-ioconnectsetcfproperties

func IOConnectSetCFProperty

func IOConnectSetCFProperty(connect uint32, propertyName corefoundation.CFStringRef, property corefoundation.CFTypeRef) int32

IOConnectSetCFProperty set a CF container based property on a connection.

It panics if IOConnectSetCFProperty is unavailable at run time; use TryIOConnectSetCFProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514796-ioconnectsetcfproperty

func IOConnectSetNotificationPort

func IOConnectSetNotificationPort(connect uint32, type_ uint32, port uint32, reference unsafe.Pointer) int32

IOConnectSetNotificationPort set a port to receive family specific notifications.

It panics if IOConnectSetNotificationPort is unavailable at run time; use TryIOConnectSetNotificationPort to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514541-ioconnectsetnotificationport

func IOConnectTrap0

func IOConnectTrap0(connect uint32, index uint32) int32

IOConnectTrap0.

It panics if IOConnectTrap0 is unavailable at run time; use TryIOConnectTrap0 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514674-ioconnecttrap0

func IOConnectTrap1

func IOConnectTrap1(connect uint32, index uint32, p1 unsafe.Pointer) int32

IOConnectTrap1.

It panics if IOConnectTrap1 is unavailable at run time; use TryIOConnectTrap1 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514816-ioconnecttrap1

func IOConnectTrap2

func IOConnectTrap2(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer) int32

IOConnectTrap2.

It panics if IOConnectTrap2 is unavailable at run time; use TryIOConnectTrap2 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514354-ioconnecttrap2

func IOConnectTrap3

func IOConnectTrap3(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer) int32

IOConnectTrap3.

It panics if IOConnectTrap3 is unavailable at run time; use TryIOConnectTrap3 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514833-ioconnecttrap3

func IOConnectTrap4

func IOConnectTrap4(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer, p4 unsafe.Pointer) int32

IOConnectTrap4.

It panics if IOConnectTrap4 is unavailable at run time; use TryIOConnectTrap4 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514410-ioconnecttrap4

func IOConnectTrap5

func IOConnectTrap5(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer, p4 unsafe.Pointer, p5 unsafe.Pointer) int32

IOConnectTrap5.

It panics if IOConnectTrap5 is unavailable at run time; use TryIOConnectTrap5 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514346-ioconnecttrap5

func IOConnectTrap6

func IOConnectTrap6(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer, p4 unsafe.Pointer, p5 unsafe.Pointer, p6 unsafe.Pointer) int32

IOConnectTrap6.

It panics if IOConnectTrap6 is unavailable at run time; use TryIOConnectTrap6 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514493-ioconnecttrap6

func IOConnectUnmapMemory

func IOConnectUnmapMemory(connect uint32, memoryType uint32, fromTask uint32, atAddress uint64) int32

IOConnectUnmapMemory remove a mapping made with IOConnectMapMemory.

It panics if IOConnectUnmapMemory is unavailable at run time; use TryIOConnectUnmapMemory to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514527-ioconnectunmapmemory

func IOConnectUnmapMemory64

func IOConnectUnmapMemory64(connect uint32, memoryType uint32, fromTask uint32, atAddress uint64) int32

IOConnectUnmapMemory64 remove a mapping made with IOConnectMapMemory64.

It panics if IOConnectUnmapMemory64 is unavailable at run time; use TryIOConnectUnmapMemory64 to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514760-ioconnectunmapmemory64

func IOCopySystemLoadAdvisoryDetailed

func IOCopySystemLoadAdvisoryDetailed() corefoundation.CFDictionaryRef

IOCopySystemLoadAdvisoryDetailed indicates how user activity, battery level, and thermal level each contribute to the overall "SystemLoadAdvisory" level.

It panics if IOCopySystemLoadAdvisoryDetailed is unavailable at run time; use TryIOCopySystemLoadAdvisoryDetailed to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557099-iocopysystemloadadvisorydetailed

func IOCreatePlugInInterfaceForService

func IOCreatePlugInInterfaceForService(service uint32, pluginType corefoundation.CFUUIDRef, interfaceType corefoundation.CFUUIDRef, theInterface *IOCFPlugInInterface, theScore int32) int32

IOCreatePlugInInterfaceForService.

It panics if IOCreatePlugInInterfaceForService is unavailable at run time; use TryIOCreatePlugInInterfaceForService to get an error instead.

See: https://developer.apple.com/documentation/iokit/1412429-iocreateplugininterfaceforservic

func IOCreateReceivePort

func IOCreateReceivePort(msgType uint32, recvPort *uint32) int32

IOCreateReceivePort creates and returns a mach port suitable for receiving IOKit messages of the specified type.

It panics if IOCreateReceivePort is unavailable at run time; use TryIOCreateReceivePort to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514698-iocreatereceiveport

func IODataQueueAllocateNotificationPort

func IODataQueueAllocateNotificationPort() uint32

IODataQueueAllocateNotificationPort allocates and returns a new mach port able to receive data available notifications from an IODataQueue.

It panics if IODataQueueAllocateNotificationPort is unavailable at run time; use TryIODataQueueAllocateNotificationPort to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514495-iodataqueueallocatenotificationp

func IODataQueueDataAvailable

func IODataQueueDataAvailable(dataQueue *IODataQueueMemory) bool

IODataQueueDataAvailable used to determine if more data is avilable on the queue.

It panics if IODataQueueDataAvailable is unavailable at run time; use TryIODataQueueDataAvailable to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514386-iodataqueuedataavailable

func IODataQueueDequeue

func IODataQueueDequeue(dataQueue *IODataQueueMemory, data unsafe.Pointer, dataSize *uint32) kernel.IOReturn

IODataQueueDequeue dequeues the next available entry on the queue and copies it into the given data pointer.

It panics if IODataQueueDequeue is unavailable at run time; use TryIODataQueueDequeue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514287-iodataqueuedequeue

func IODataQueueEnqueue

func IODataQueueEnqueue(dataQueue *IODataQueueMemory, data unsafe.Pointer, dataSize uint32) kernel.IOReturn

IODataQueueEnqueue enqueues a new entry on the queue.

It panics if IODataQueueEnqueue is unavailable at run time; use TryIODataQueueEnqueue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514482-iodataqueueenqueue

func IODataQueueSetNotificationPort

func IODataQueueSetNotificationPort(dataQueue *IODataQueueMemory, notifyPort uint32) kernel.IOReturn

IODataQueueSetNotificationPort creates a simple mach message targeting the mach port specified in port.

It panics if IODataQueueSetNotificationPort is unavailable at run time; use TryIODataQueueSetNotificationPort to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514301-iodataqueuesetnotificationport

func IODataQueueWaitForAvailableData

func IODataQueueWaitForAvailableData(dataQueue *IODataQueueMemory, notificationPort uint32) kernel.IOReturn

IODataQueueWaitForAvailableData wait for an incoming dataAvailable message on the given notifyPort.

It panics if IODataQueueWaitForAvailableData is unavailable at run time; use TryIODataQueueWaitForAvailableData to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514696-iodataqueuewaitforavailabledata

func IODeregisterApp

func IODeregisterApp(notifier *uint32) kernel.IOReturn

IODeregisterApp disconnects the caller from an IOService after receiving power state change notifications from the IOService.

It panics if IODeregisterApp is unavailable at run time; use TryIODeregisterApp to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557129-ioderegisterapp

func IODeregisterForSystemPower

func IODeregisterForSystemPower(notifier *uint32) kernel.IOReturn

IODeregisterForSystemPower disconnects the caller from the Root Power Domain IOService after receiving system power state change notifications.

It panics if IODeregisterForSystemPower is unavailable at run time; use TryIODeregisterForSystemPower to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557132-ioderegisterforsystempower

func IODestroyPlugInInterface

func IODestroyPlugInInterface(interface_ *IOCFPlugInInterface) int32

IODestroyPlugInInterface.

It panics if IODestroyPlugInInterface is unavailable at run time; use TryIODestroyPlugInInterface to get an error instead.

See: https://developer.apple.com/documentation/iokit/1412425-iodestroyplugininterface

func IODispatchCalloutFromMessage

func IODispatchCalloutFromMessage(unused unsafe.Pointer, msg unsafe.Pointer, reference unsafe.Pointer)

IODispatchCalloutFromMessage dispatches callback notifications from a mach message.

It panics if IODispatchCalloutFromMessage is unavailable at run time; use TryIODispatchCalloutFromMessage to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514775-iodispatchcalloutfrommessage

func IODisplayCommitParameters

func IODisplayCommitParameters(service uint32, options uint32) kernel.IOReturn

IODisplayCommitParameters.

It panics if IODisplayCommitParameters is unavailable at run time; use TryIODisplayCommitParameters to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574906-iodisplaycommitparameters

func IODisplayCopyFloatParameters

func IODisplayCopyFloatParameters(service uint32, options uint32, params *corefoundation.CFDictionaryRef) kernel.IOReturn

IODisplayCopyFloatParameters.

It panics if IODisplayCopyFloatParameters is unavailable at run time; use TryIODisplayCopyFloatParameters to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574891-iodisplaycopyfloatparameters

func IODisplayCopyParameters

func IODisplayCopyParameters(service uint32, options uint32, params *corefoundation.CFDictionaryRef) kernel.IOReturn

IODisplayCopyParameters.

It panics if IODisplayCopyParameters is unavailable at run time; use TryIODisplayCopyParameters to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574865-iodisplaycopyparameters

func IODisplayCreateInfoDictionary

func IODisplayCreateInfoDictionary(framebuffer uint32, options uint32) corefoundation.CFDictionaryRef

IODisplayCreateInfoDictionary create a CFDictionary with information about display hardware.

It panics if IODisplayCreateInfoDictionary is unavailable at run time; use TryIODisplayCreateInfoDictionary to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574917-iodisplaycreateinfodictionary

func IODisplayForFramebuffer

func IODisplayForFramebuffer(framebuffer uint32, options uint32) uint32

IODisplayForFramebuffer.

It panics if IODisplayForFramebuffer is unavailable at run time; use TryIODisplayForFramebuffer to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574899-iodisplayforframebuffer

func IODisplayGetFloatParameter

func IODisplayGetFloatParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value []float32) kernel.IOReturn

IODisplayGetFloatParameter.

It panics if IODisplayGetFloatParameter is unavailable at run time; use TryIODisplayGetFloatParameter to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574900-iodisplaygetfloatparameter

func IODisplayGetIntegerRangeParameter

func IODisplayGetIntegerRangeParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value *int32, min *int32, max *int32) kernel.IOReturn

IODisplayGetIntegerRangeParameter.

It panics if IODisplayGetIntegerRangeParameter is unavailable at run time; use TryIODisplayGetIntegerRangeParameter to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574908-iodisplaygetintegerrangeparamete

func IODisplayMatchDictionaries

func IODisplayMatchDictionaries(matching1 corefoundation.CFDictionaryRef, matching2 corefoundation.CFDictionaryRef, options uint32) int32

IODisplayMatchDictionaries match two display information dictionaries to see if they are for the same display.

It panics if IODisplayMatchDictionaries is unavailable at run time; use TryIODisplayMatchDictionaries to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574879-iodisplaymatchdictionaries

func IODisplaySetFloatParameter

func IODisplaySetFloatParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value float32) kernel.IOReturn

IODisplaySetFloatParameter.

It panics if IODisplaySetFloatParameter is unavailable at run time; use TryIODisplaySetFloatParameter to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574926-iodisplaysetfloatparameter

func IODisplaySetIntegerParameter

func IODisplaySetIntegerParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value int32) kernel.IOReturn

IODisplaySetIntegerParameter.

It panics if IODisplaySetIntegerParameter is unavailable at run time; use TryIODisplaySetIntegerParameter to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574915-iodisplaysetintegerparameter

func IODisplaySetParameters

func IODisplaySetParameters(service uint32, options uint32, params corefoundation.CFDictionaryRef) kernel.IOReturn

IODisplaySetParameters.

It panics if IODisplaySetParameters is unavailable at run time; use TryIODisplaySetParameters to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574878-iodisplaysetparameters

func IOFBCopyI2CInterfaceForBus

func IOFBCopyI2CInterfaceForBus(framebuffer uint32, bus uint32, interface_ *uint32) kernel.IOReturn

IOFBCopyI2CInterfaceForBus returns an instance of an I2C bus interface, associated with an IOFramebuffer instance / bus index pair.

It panics if IOFBCopyI2CInterfaceForBus is unavailable at run time; use TryIOFBCopyI2CInterfaceForBus to get an error instead.

See: https://developer.apple.com/documentation/iokit/1410345-iofbcopyi2cinterfaceforbus

func IOFBGetI2CInterfaceCount

func IOFBGetI2CInterfaceCount(framebuffer uint32, count *uint32) kernel.IOReturn

IOFBGetI2CInterfaceCount returns a count of I2C interfaces available associated with an IOFramebuffer instance.

It panics if IOFBGetI2CInterfaceCount is unavailable at run time; use TryIOFBGetI2CInterfaceCount to get an error instead.

See: https://developer.apple.com/documentation/iokit/1410333-iofbgeti2cinterfacecount

func IOFramebufferOpen

func IOFramebufferOpen(service uint32, owningTask uint32, type_ uint32, connect *uint32) int32

IOFramebufferOpen.

It panics if IOFramebufferOpen is unavailable at run time; use TryIOFramebufferOpen to get an error instead.

See: https://developer.apple.com/documentation/iokit/1574872-ioframebufferopen

func IOHIDAccessCheckAuditToken

func IOHIDAccessCheckAuditToken(requestType IOHIDRequestType, token [32]byte) bool

IOHIDAccessCheckAuditToken.

It panics if IOHIDAccessCheckAuditToken is unavailable at run time; use TryIOHIDAccessCheckAuditToken to get an error instead.

See: https://developer.apple.com/documentation/iokit/4423108-iohidaccesscheckaudittoken

func IOHIDCopyCFTypeParameter

func IOHIDCopyCFTypeParameter(handle uint32, key corefoundation.CFStringRef, parameter *corefoundation.CFTypeRef) int32

IOHIDCopyCFTypeParameter.

It panics if IOHIDCopyCFTypeParameter is unavailable at run time; use TryIOHIDCopyCFTypeParameter to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555415-iohidcopycftypeparameter

func IOHIDCreateSharedMemory

func IOHIDCreateSharedMemory(connect uint32, version uint32) int32

IOHIDCreateSharedMemory.

It panics if IOHIDCreateSharedMemory is unavailable at run time; use TryIOHIDCreateSharedMemory to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555393-iohidcreatesharedmemory

func IOHIDDeviceActivate

func IOHIDDeviceActivate(device IOHIDDeviceRef)

IOHIDDeviceActivate.

It panics if IOHIDDeviceActivate is unavailable at run time; use TryIOHIDDeviceActivate to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042781-iohiddeviceactivate

func IOHIDDeviceCancel

func IOHIDDeviceCancel(device IOHIDDeviceRef)

IOHIDDeviceCancel.

It panics if IOHIDDeviceCancel is unavailable at run time; use TryIOHIDDeviceCancel to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042782-iohiddevicecancel

func IOHIDDeviceClose

func IOHIDDeviceClose(device IOHIDDeviceRef, options uint32) kernel.IOReturn

IOHIDDeviceClose closes communication with a HID device.

It panics if IOHIDDeviceClose is unavailable at run time; use TryIOHIDDeviceClose to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588668-iohiddeviceclose

func IOHIDDeviceConformsTo

func IOHIDDeviceConformsTo(device IOHIDDeviceRef, usagePage uint32, usage uint32) bool

IOHIDDeviceConformsTo convenience function that scans the Application Collection elements to see if it conforms to the provided usagePage and usage.

It panics if IOHIDDeviceConformsTo is unavailable at run time; use TryIOHIDDeviceConformsTo to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588665-iohiddeviceconformsto

func IOHIDDeviceCopyMatchingElements

func IOHIDDeviceCopyMatchingElements(device IOHIDDeviceRef, matching corefoundation.CFDictionaryRef, options uint32) corefoundation.CFArrayRef

IOHIDDeviceCopyMatchingElements obtains HID elements that match the criteria contained in the matching dictionary.

It panics if IOHIDDeviceCopyMatchingElements is unavailable at run time; use TryIOHIDDeviceCopyMatchingElements to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588671-iohiddevicecopymatchingelements

func IOHIDDeviceCopyValueMultiple

func IOHIDDeviceCopyValueMultiple(device IOHIDDeviceRef, elements corefoundation.CFArrayRef, pMultiple *corefoundation.CFDictionaryRef) kernel.IOReturn

IOHIDDeviceCopyValueMultiple copies a values for multiple elements.

It panics if IOHIDDeviceCopyValueMultiple is unavailable at run time; use TryIOHIDDeviceCopyValueMultiple to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588652-iohiddevicecopyvaluemultiple

func IOHIDDeviceCopyValueMultipleWithCallback

func IOHIDDeviceCopyValueMultipleWithCallback(device IOHIDDeviceRef, elements corefoundation.CFArrayRef, pMultiple *corefoundation.CFDictionaryRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) kernel.IOReturn

IOHIDDeviceCopyValueMultipleWithCallback copies a values for multiple elements and returns status via a completion callback.

It panics if IOHIDDeviceCopyValueMultipleWithCallback is unavailable at run time; use TryIOHIDDeviceCopyValueMultipleWithCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588655-iohiddevicecopyvaluemultiplewith

func IOHIDDeviceGetProperty

func IOHIDDeviceGetProperty(device IOHIDDeviceRef, key corefoundation.CFStringRef) corefoundation.CFTypeRef

IOHIDDeviceGetProperty obtains a property from an IOHIDDevice.

It panics if IOHIDDeviceGetProperty is unavailable at run time; use TryIOHIDDeviceGetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588648-iohiddevicegetproperty

func IOHIDDeviceGetReport

func IOHIDDeviceGetReport(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, pReportLength *int) kernel.IOReturn

IOHIDDeviceGetReport obtains a report from the device.

It panics if IOHIDDeviceGetReport is unavailable at run time; use TryIOHIDDeviceGetReport to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588659-iohiddevicegetreport

func IOHIDDeviceGetReportWithCallback

func IOHIDDeviceGetReportWithCallback(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, pReportLength *int, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) kernel.IOReturn

IOHIDDeviceGetReportWithCallback obtains a report from the device.

It panics if IOHIDDeviceGetReportWithCallback is unavailable at run time; use TryIOHIDDeviceGetReportWithCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588662-iohiddevicegetreportwithcallback

func IOHIDDeviceGetService

func IOHIDDeviceGetService(device IOHIDDeviceRef) uint32

IOHIDDeviceGetService returns the io_service_t for an IOHIDDevice, if it has one.

It panics if IOHIDDeviceGetService is unavailable at run time; use TryIOHIDDeviceGetService to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588646-iohiddevicegetservice

func IOHIDDeviceGetTypeID

func IOHIDDeviceGetTypeID() uint

IOHIDDeviceGetTypeID returns the type identifier of all IOHIDDevice instances.

It panics if IOHIDDeviceGetTypeID is unavailable at run time; use TryIOHIDDeviceGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588664-iohiddevicegettypeid

func IOHIDDeviceGetValue

func IOHIDDeviceGetValue(device IOHIDDeviceRef, element IOHIDElementRef, pValue *IOHIDValueRef) kernel.IOReturn

IOHIDDeviceGetValue gets a value for an element.

It panics if IOHIDDeviceGetValue is unavailable at run time; use TryIOHIDDeviceGetValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588657-iohiddevicegetvalue

func IOHIDDeviceGetValueWithCallback

func IOHIDDeviceGetValueWithCallback(device IOHIDDeviceRef, element IOHIDElementRef, pValue *IOHIDValueRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) kernel.IOReturn

IOHIDDeviceGetValueWithCallback gets a value for an element and returns status via a completion callback.

It panics if IOHIDDeviceGetValueWithCallback is unavailable at run time; use TryIOHIDDeviceGetValueWithCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588647-iohiddevicegetvaluewithcallback

func IOHIDDeviceGetValueWithOptions

func IOHIDDeviceGetValueWithOptions(device IOHIDDeviceRef, element IOHIDElementRef, pValue *IOHIDValueRef, options uint32) kernel.IOReturn

IOHIDDeviceGetValueWithOptions.

It panics if IOHIDDeviceGetValueWithOptions is unavailable at run time; use TryIOHIDDeviceGetValueWithOptions to get an error instead.

See: https://developer.apple.com/documentation/iokit/2937933-iohiddevicegetvaluewithoptions

func IOHIDDeviceOpen

func IOHIDDeviceOpen(device IOHIDDeviceRef, options uint32) kernel.IOReturn

IOHIDDeviceOpen opens a HID device for communication.

It panics if IOHIDDeviceOpen is unavailable at run time; use TryIOHIDDeviceOpen to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588670-iohiddeviceopen

func IOHIDDeviceRegisterInputReportCallback

func IOHIDDeviceRegisterInputReportCallback(device IOHIDDeviceRef, report []byte, reportLength corefoundation.CFIndex, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDDeviceRegisterInputReportCallback registers a callback to be used when an input report is issued by the device.

It panics if IOHIDDeviceRegisterInputReportCallback is unavailable at run time; use TryIOHIDDeviceRegisterInputReportCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588666-iohiddeviceregisterinputreportca

func IOHIDDeviceRegisterInputReportWithTimeStampCallback

func IOHIDDeviceRegisterInputReportWithTimeStampCallback(device IOHIDDeviceRef, report []byte, reportLength corefoundation.CFIndex, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDDeviceRegisterInputReportWithTimeStampCallback.

It panics if IOHIDDeviceRegisterInputReportWithTimeStampCallback is unavailable at run time; use TryIOHIDDeviceRegisterInputReportWithTimeStampCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588649-iohiddeviceregisterinputreportwi

func IOHIDDeviceRegisterInputValueCallback

func IOHIDDeviceRegisterInputValueCallback(device IOHIDDeviceRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDDeviceRegisterInputValueCallback registers a callback to be used when an input value is issued by the device.

It panics if IOHIDDeviceRegisterInputValueCallback is unavailable at run time; use TryIOHIDDeviceRegisterInputValueCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588672-iohiddeviceregisterinputvaluecal

func IOHIDDeviceRegisterRemovalCallback

func IOHIDDeviceRegisterRemovalCallback(device IOHIDDeviceRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDDeviceRegisterRemovalCallback registers a callback to be used when a IOHIDDevice is removed.

It panics if IOHIDDeviceRegisterRemovalCallback is unavailable at run time; use TryIOHIDDeviceRegisterRemovalCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588673-iohiddeviceregisterremovalcallba

func IOHIDDeviceScheduleWithRunLoop

func IOHIDDeviceScheduleWithRunLoop(device IOHIDDeviceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDDeviceScheduleWithRunLoop schedules HID device with run loop.

It panics if IOHIDDeviceScheduleWithRunLoop is unavailable at run time; use TryIOHIDDeviceScheduleWithRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588660-iohiddeviceschedulewithrunloop

func IOHIDDeviceSetCancelHandler

func IOHIDDeviceSetCancelHandler(device IOHIDDeviceRef, handler unsafe.Pointer)

IOHIDDeviceSetCancelHandler.

It panics if IOHIDDeviceSetCancelHandler is unavailable at run time; use TryIOHIDDeviceSetCancelHandler to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042783-iohiddevicesetcancelhandler

func IOHIDDeviceSetDispatchQueue

func IOHIDDeviceSetDispatchQueue(device IOHIDDeviceRef, queue dispatch.Queue)

IOHIDDeviceSetDispatchQueue.

It panics if IOHIDDeviceSetDispatchQueue is unavailable at run time; use TryIOHIDDeviceSetDispatchQueue to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042784-iohiddevicesetdispatchqueue

func IOHIDDeviceSetInputValueMatching

func IOHIDDeviceSetInputValueMatching(device IOHIDDeviceRef, matching corefoundation.CFDictionaryRef)

IOHIDDeviceSetInputValueMatching sets matching criteria for input values received via IOHIDDeviceRegisterInputValueCallback.

It panics if IOHIDDeviceSetInputValueMatching is unavailable at run time; use TryIOHIDDeviceSetInputValueMatching to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588654-iohiddevicesetinputvaluematching

func IOHIDDeviceSetInputValueMatchingMultiple

func IOHIDDeviceSetInputValueMatchingMultiple(device IOHIDDeviceRef, multiple corefoundation.CFArrayRef)

IOHIDDeviceSetInputValueMatchingMultiple sets multiple matching criteria for input values received via IOHIDDeviceRegisterInputValueCallback.

It panics if IOHIDDeviceSetInputValueMatchingMultiple is unavailable at run time; use TryIOHIDDeviceSetInputValueMatchingMultiple to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588645-iohiddevicesetinputvaluematching

func IOHIDDeviceSetProperty

func IOHIDDeviceSetProperty(device IOHIDDeviceRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) bool

IOHIDDeviceSetProperty sets a property for an IOHIDDevice.

It panics if IOHIDDeviceSetProperty is unavailable at run time; use TryIOHIDDeviceSetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588653-iohiddevicesetproperty

func IOHIDDeviceSetReport

func IOHIDDeviceSetReport(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, reportLength corefoundation.CFIndex) kernel.IOReturn

IOHIDDeviceSetReport sends a report to the device.

It panics if IOHIDDeviceSetReport is unavailable at run time; use TryIOHIDDeviceSetReport to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588656-iohiddevicesetreport

func IOHIDDeviceSetReportWithCallback

func IOHIDDeviceSetReportWithCallback(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, reportLength corefoundation.CFIndex, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) kernel.IOReturn

IOHIDDeviceSetReportWithCallback sends a report to the device.

It panics if IOHIDDeviceSetReportWithCallback is unavailable at run time; use TryIOHIDDeviceSetReportWithCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588661-iohiddevicesetreportwithcallback

func IOHIDDeviceSetValue

func IOHIDDeviceSetValue(device IOHIDDeviceRef, element IOHIDElementRef, value IOHIDValueRef) kernel.IOReturn

IOHIDDeviceSetValue sets a value for an element.

It panics if IOHIDDeviceSetValue is unavailable at run time; use TryIOHIDDeviceSetValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588651-iohiddevicesetvalue

func IOHIDDeviceSetValueMultiple

func IOHIDDeviceSetValueMultiple(device IOHIDDeviceRef, multiple corefoundation.CFDictionaryRef) kernel.IOReturn

IOHIDDeviceSetValueMultiple sets multiple values for multiple elements.

It panics if IOHIDDeviceSetValueMultiple is unavailable at run time; use TryIOHIDDeviceSetValueMultiple to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588669-iohiddevicesetvaluemultiple

func IOHIDDeviceSetValueMultipleWithCallback

func IOHIDDeviceSetValueMultipleWithCallback(device IOHIDDeviceRef, multiple corefoundation.CFDictionaryRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) kernel.IOReturn

IOHIDDeviceSetValueMultipleWithCallback sets multiple values for multiple elements and returns status via a completion callback.

It panics if IOHIDDeviceSetValueMultipleWithCallback is unavailable at run time; use TryIOHIDDeviceSetValueMultipleWithCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588658-iohiddevicesetvaluemultiplewithc

func IOHIDDeviceSetValueWithCallback

func IOHIDDeviceSetValueWithCallback(device IOHIDDeviceRef, element IOHIDElementRef, value IOHIDValueRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) kernel.IOReturn

IOHIDDeviceSetValueWithCallback sets a value for an element and returns status via a completion callback.

It panics if IOHIDDeviceSetValueWithCallback is unavailable at run time; use TryIOHIDDeviceSetValueWithCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588667-iohiddevicesetvaluewithcallback

func IOHIDDeviceUnscheduleFromRunLoop

func IOHIDDeviceUnscheduleFromRunLoop(device IOHIDDeviceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDDeviceUnscheduleFromRunLoop unschedules HID device with run loop.

It panics if IOHIDDeviceUnscheduleFromRunLoop is unavailable at run time; use TryIOHIDDeviceUnscheduleFromRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588650-iohiddeviceunschedulefromrunloop

func IOHIDElementAttach

func IOHIDElementAttach(element IOHIDElementRef, toAttach IOHIDElementRef)

IOHIDElementAttach establish a relationship between one or more elements.

It panics if IOHIDElementAttach is unavailable at run time; use TryIOHIDElementAttach to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564146-iohidelementattach

func IOHIDElementCopyAttached

func IOHIDElementCopyAttached(element IOHIDElementRef) corefoundation.CFArrayRef

IOHIDElementCopyAttached obtain attached elements.

It panics if IOHIDElementCopyAttached is unavailable at run time; use TryIOHIDElementCopyAttached to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564123-iohidelementcopyattached

func IOHIDElementDetach

func IOHIDElementDetach(element IOHIDElementRef, toDetach IOHIDElementRef)

IOHIDElementDetach remove a relationship between one or more elements.

It panics if IOHIDElementDetach is unavailable at run time; use TryIOHIDElementDetach to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564116-iohidelementdetach

func IOHIDElementGetChildren

func IOHIDElementGetChildren(element IOHIDElementRef) corefoundation.CFArrayRef

IOHIDElementGetChildren returns the children for the element.

It panics if IOHIDElementGetChildren is unavailable at run time; use TryIOHIDElementGetChildren to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564119-iohidelementgetchildren

func IOHIDElementGetCookie

func IOHIDElementGetCookie(element IOHIDElementRef) kernel.IOHIDElementCookie

IOHIDElementGetCookie retrieves the cookie for the element.

It panics if IOHIDElementGetCookie is unavailable at run time; use TryIOHIDElementGetCookie to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564124-iohidelementgetcookie

func IOHIDElementGetLogicalMax

func IOHIDElementGetLogicalMax(element IOHIDElementRef) corefoundation.CFIndex

IOHIDElementGetLogicalMax returns the maximum value possible for the element.

It panics if IOHIDElementGetLogicalMax is unavailable at run time; use TryIOHIDElementGetLogicalMax to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564143-iohidelementgetlogicalmax

func IOHIDElementGetLogicalMin

func IOHIDElementGetLogicalMin(element IOHIDElementRef) corefoundation.CFIndex

IOHIDElementGetLogicalMin returns the minimum value possible for the element.

It panics if IOHIDElementGetLogicalMin is unavailable at run time; use TryIOHIDElementGetLogicalMin to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564137-iohidelementgetlogicalmin

func IOHIDElementGetName

func IOHIDElementGetName(element IOHIDElementRef) corefoundation.CFStringRef

IOHIDElementGetName returns the name for the element.

It panics if IOHIDElementGetName is unavailable at run time; use TryIOHIDElementGetName to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564117-iohidelementgetname

func IOHIDElementGetPhysicalMax

func IOHIDElementGetPhysicalMax(element IOHIDElementRef) corefoundation.CFIndex

IOHIDElementGetPhysicalMax returns the scaled maximum value possible for the element.

It panics if IOHIDElementGetPhysicalMax is unavailable at run time; use TryIOHIDElementGetPhysicalMax to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564134-iohidelementgetphysicalmax

func IOHIDElementGetPhysicalMin

func IOHIDElementGetPhysicalMin(element IOHIDElementRef) corefoundation.CFIndex

IOHIDElementGetPhysicalMin returns the scaled minimum value possible for the element.

It panics if IOHIDElementGetPhysicalMin is unavailable at run time; use TryIOHIDElementGetPhysicalMin to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564140-iohidelementgetphysicalmin

func IOHIDElementGetProperty

func IOHIDElementGetProperty(element IOHIDElementRef, key corefoundation.CFStringRef) corefoundation.CFTypeRef

IOHIDElementGetProperty returns the an element property.

It panics if IOHIDElementGetProperty is unavailable at run time; use TryIOHIDElementGetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564118-iohidelementgetproperty

func IOHIDElementGetReportCount

func IOHIDElementGetReportCount(element IOHIDElementRef) uint32

IOHIDElementGetReportCount returns the report count for the element.

It panics if IOHIDElementGetReportCount is unavailable at run time; use TryIOHIDElementGetReportCount to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564142-iohidelementgetreportcount

func IOHIDElementGetReportID

func IOHIDElementGetReportID(element IOHIDElementRef) uint32

IOHIDElementGetReportID returns the report ID for the element.

It panics if IOHIDElementGetReportID is unavailable at run time; use TryIOHIDElementGetReportID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564122-iohidelementgetreportid

func IOHIDElementGetReportSize

func IOHIDElementGetReportSize(element IOHIDElementRef) uint32

IOHIDElementGetReportSize returns the report size in bits for the element.

It panics if IOHIDElementGetReportSize is unavailable at run time; use TryIOHIDElementGetReportSize to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564130-iohidelementgetreportsize

func IOHIDElementGetTypeID

func IOHIDElementGetTypeID() uint

IOHIDElementGetTypeID returns the type identifier of all IOHIDElement instances.

It panics if IOHIDElementGetTypeID is unavailable at run time; use TryIOHIDElementGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564120-iohidelementgettypeid

func IOHIDElementGetUnit

func IOHIDElementGetUnit(element IOHIDElementRef) uint32

IOHIDElementGetUnit returns the unit property for the element.

It panics if IOHIDElementGetUnit is unavailable at run time; use TryIOHIDElementGetUnit to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564136-iohidelementgetunit

func IOHIDElementGetUnitExponent

func IOHIDElementGetUnitExponent(element IOHIDElementRef) uint32

IOHIDElementGetUnitExponent returns the unit exponenet in base 10 for the element.

It panics if IOHIDElementGetUnitExponent is unavailable at run time; use TryIOHIDElementGetUnitExponent to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564121-iohidelementgetunitexponent

func IOHIDElementGetUsage

func IOHIDElementGetUsage(element IOHIDElementRef) uint32

IOHIDElementGetUsage retrieves the usage for an element.

It panics if IOHIDElementGetUsage is unavailable at run time; use TryIOHIDElementGetUsage to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564126-iohidelementgetusage

func IOHIDElementGetUsagePage

func IOHIDElementGetUsagePage(element IOHIDElementRef) uint32

IOHIDElementGetUsagePage retrieves the usage page for an element.

It panics if IOHIDElementGetUsagePage is unavailable at run time; use TryIOHIDElementGetUsagePage to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564128-iohidelementgetusagepage

func IOHIDElementHasNullState

func IOHIDElementHasNullState(element IOHIDElementRef) bool

IOHIDElementHasNullState returns the null state property for the element.

It panics if IOHIDElementHasNullState is unavailable at run time; use TryIOHIDElementHasNullState to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564145-iohidelementhasnullstate

func IOHIDElementHasPreferredState

func IOHIDElementHasPreferredState(element IOHIDElementRef) bool

IOHIDElementHasPreferredState returns the preferred state property for the element.

It panics if IOHIDElementHasPreferredState is unavailable at run time; use TryIOHIDElementHasPreferredState to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564141-iohidelementhaspreferredstate

func IOHIDElementIsArray

func IOHIDElementIsArray(element IOHIDElementRef) bool

IOHIDElementIsArray returns the array property for the element.

It panics if IOHIDElementIsArray is unavailable at run time; use TryIOHIDElementIsArray to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564133-iohidelementisarray

func IOHIDElementIsNonLinear

func IOHIDElementIsNonLinear(element IOHIDElementRef) bool

IOHIDElementIsNonLinear returns the linear property for the element.

It panics if IOHIDElementIsNonLinear is unavailable at run time; use TryIOHIDElementIsNonLinear to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564131-iohidelementisnonlinear

func IOHIDElementIsRelative

func IOHIDElementIsRelative(element IOHIDElementRef) bool

IOHIDElementIsRelative returns the relative property for the element.

It panics if IOHIDElementIsRelative is unavailable at run time; use TryIOHIDElementIsRelative to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564129-iohidelementisrelative

func IOHIDElementIsVirtual

func IOHIDElementIsVirtual(element IOHIDElementRef) bool

IOHIDElementIsVirtual returns the virtual property for the element.

It panics if IOHIDElementIsVirtual is unavailable at run time; use TryIOHIDElementIsVirtual to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564125-iohidelementisvirtual

func IOHIDElementIsWrapping

func IOHIDElementIsWrapping(element IOHIDElementRef) bool

IOHIDElementIsWrapping returns the wrap property for the element.

It panics if IOHIDElementIsWrapping is unavailable at run time; use TryIOHIDElementIsWrapping to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564127-iohidelementiswrapping

func IOHIDElementSetProperty

func IOHIDElementSetProperty(element IOHIDElementRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) bool

IOHIDElementSetProperty sets an element property.

It panics if IOHIDElementSetProperty is unavailable at run time; use TryIOHIDElementSetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564138-iohidelementsetproperty

func IOHIDEventSystemClientCopyProperty

func IOHIDEventSystemClientCopyProperty(client IOHIDEventSystemClientRef, key corefoundation.CFStringRef) corefoundation.CFTypeRef

IOHIDEventSystemClientCopyProperty.

It panics if IOHIDEventSystemClientCopyProperty is unavailable at run time; use TryIOHIDEventSystemClientCopyProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269513-iohideventsystemclientcopyproper

func IOHIDEventSystemClientCopyServices

func IOHIDEventSystemClientCopyServices(client IOHIDEventSystemClientRef) corefoundation.CFArrayRef

IOHIDEventSystemClientCopyServices.

It panics if IOHIDEventSystemClientCopyServices is unavailable at run time; use TryIOHIDEventSystemClientCopyServices to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269511-iohideventsystemclientcopyservic

func IOHIDEventSystemClientGetTypeID

func IOHIDEventSystemClientGetTypeID() uint

IOHIDEventSystemClientGetTypeID.

It panics if IOHIDEventSystemClientGetTypeID is unavailable at run time; use TryIOHIDEventSystemClientGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269512-iohideventsystemclientgettypeid

func IOHIDEventSystemClientSetProperty

func IOHIDEventSystemClientSetProperty(client IOHIDEventSystemClientRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) bool

IOHIDEventSystemClientSetProperty.

It panics if IOHIDEventSystemClientSetProperty is unavailable at run time; use TryIOHIDEventSystemClientSetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269517-iohideventsystemclientsetpropert

func IOHIDGetAccelerationWithKey deprecated

func IOHIDGetAccelerationWithKey(handle uint32, key corefoundation.CFStringRef, acceleration []float64) int32

IOHIDGetAccelerationWithKey.

It panics if IOHIDGetAccelerationWithKey is unavailable at run time; use TryIOHIDGetAccelerationWithKey to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555418-iohidgetaccelerationwithkey

func IOHIDGetActivityState deprecated

func IOHIDGetActivityState(handle uint32, hidActivityIdle *bool) int32

IOHIDGetActivityState.

It panics if IOHIDGetActivityState is unavailable at run time; use TryIOHIDGetActivityState to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555412-iohidgetactivitystate

func IOHIDGetButtonEventNum deprecated

func IOHIDGetButtonEventNum(connect uint32, button NXMouseButton, eventNum *int32) int32

IOHIDGetButtonEventNum.

It panics if IOHIDGetButtonEventNum is unavailable at run time; use TryIOHIDGetButtonEventNum to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555407-iohidgetbuttoneventnum

func IOHIDGetModifierLockState

func IOHIDGetModifierLockState(handle uint32, selector int32, state *bool) int32

IOHIDGetModifierLockState.

It panics if IOHIDGetModifierLockState is unavailable at run time; use TryIOHIDGetModifierLockState to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555400-iohidgetmodifierlockstate

func IOHIDGetMouseAcceleration deprecated

func IOHIDGetMouseAcceleration(handle uint32, acceleration []float64) int32

IOHIDGetMouseAcceleration.

It panics if IOHIDGetMouseAcceleration is unavailable at run time; use TryIOHIDGetMouseAcceleration to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555417-iohidgetmouseacceleration

func IOHIDGetMouseButtonMode deprecated

func IOHIDGetMouseButtonMode(handle uint32, mode *int32) int32

IOHIDGetMouseButtonMode.

It panics if IOHIDGetMouseButtonMode is unavailable at run time; use TryIOHIDGetMouseButtonMode to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555413-iohidgetmousebuttonmode

func IOHIDGetParameter deprecated

func IOHIDGetParameter(handle uint32, key corefoundation.CFStringRef, maxSize uint, bytes unsafe.Pointer, actualSize *uint) int32

IOHIDGetParameter.

It panics if IOHIDGetParameter is unavailable at run time; use TryIOHIDGetParameter to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555405-iohidgetparameter

func IOHIDGetScrollAcceleration deprecated

func IOHIDGetScrollAcceleration(handle uint32, acceleration []float64) int32

IOHIDGetScrollAcceleration.

It panics if IOHIDGetScrollAcceleration is unavailable at run time; use TryIOHIDGetScrollAcceleration to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555389-iohidgetscrollacceleration

func IOHIDGetStateForSelector

func IOHIDGetStateForSelector(handle uint32, selector int32, state *uint32) int32

IOHIDGetStateForSelector.

It panics if IOHIDGetStateForSelector is unavailable at run time; use TryIOHIDGetStateForSelector to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555411-iohidgetstateforselector

func IOHIDManagerActivate

func IOHIDManagerActivate(manager IOHIDManagerRef)

IOHIDManagerActivate.

It panics if IOHIDManagerActivate is unavailable at run time; use TryIOHIDManagerActivate to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042786-iohidmanageractivate

func IOHIDManagerCancel

func IOHIDManagerCancel(manager IOHIDManagerRef)

IOHIDManagerCancel.

It panics if IOHIDManagerCancel is unavailable at run time; use TryIOHIDManagerCancel to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042787-iohidmanagercancel

func IOHIDManagerClose

func IOHIDManagerClose(manager IOHIDManagerRef, options uint32) kernel.IOReturn

IOHIDManagerClose closes the IOHIDManager.

It panics if IOHIDManagerClose is unavailable at run time; use TryIOHIDManagerClose to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438405-iohidmanagerclose

func IOHIDManagerCopyDevices

func IOHIDManagerCopyDevices(manager IOHIDManagerRef) corefoundation.CFSet

IOHIDManagerCopyDevices obtains currently enumerated devices.

It panics if IOHIDManagerCopyDevices is unavailable at run time; use TryIOHIDManagerCopyDevices to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438391-iohidmanagercopydevices

func IOHIDManagerGetProperty

func IOHIDManagerGetProperty(manager IOHIDManagerRef, key corefoundation.CFStringRef) corefoundation.CFTypeRef

IOHIDManagerGetProperty obtains a property of an IOHIDManager.

It panics if IOHIDManagerGetProperty is unavailable at run time; use TryIOHIDManagerGetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438403-iohidmanagergetproperty

func IOHIDManagerGetTypeID

func IOHIDManagerGetTypeID() uint

IOHIDManagerGetTypeID returns the type identifier of all IOHIDManager instances.

It panics if IOHIDManagerGetTypeID is unavailable at run time; use TryIOHIDManagerGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438375-iohidmanagergettypeid

func IOHIDManagerOpen

func IOHIDManagerOpen(manager IOHIDManagerRef, options uint32) kernel.IOReturn

IOHIDManagerOpen opens the IOHIDManager.

It panics if IOHIDManagerOpen is unavailable at run time; use TryIOHIDManagerOpen to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438369-iohidmanageropen

func IOHIDManagerRegisterDeviceMatchingCallback

func IOHIDManagerRegisterDeviceMatchingCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDManagerRegisterDeviceMatchingCallback registers a callback to be used a device is enumerated.

It panics if IOHIDManagerRegisterDeviceMatchingCallback is unavailable at run time; use TryIOHIDManagerRegisterDeviceMatchingCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438399-iohidmanagerregisterdevicematchi

func IOHIDManagerRegisterDeviceRemovalCallback

func IOHIDManagerRegisterDeviceRemovalCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDManagerRegisterDeviceRemovalCallback registers a callback to be used when any enumerated device is removed.

It panics if IOHIDManagerRegisterDeviceRemovalCallback is unavailable at run time; use TryIOHIDManagerRegisterDeviceRemovalCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438376-iohidmanagerregisterdeviceremova

func IOHIDManagerRegisterInputReportCallback

func IOHIDManagerRegisterInputReportCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDManagerRegisterInputReportCallback registers a callback to be used when an input report is issued by any enumerated device.

It panics if IOHIDManagerRegisterInputReportCallback is unavailable at run time; use TryIOHIDManagerRegisterInputReportCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438397-iohidmanagerregisterinputreportc

func IOHIDManagerRegisterInputReportWithTimeStampCallback

func IOHIDManagerRegisterInputReportWithTimeStampCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDManagerRegisterInputReportWithTimeStampCallback.

It panics if IOHIDManagerRegisterInputReportWithTimeStampCallback is unavailable at run time; use TryIOHIDManagerRegisterInputReportWithTimeStampCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042788-iohidmanagerregisterinputreportw

func IOHIDManagerRegisterInputValueCallback

func IOHIDManagerRegisterInputValueCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDManagerRegisterInputValueCallback registers a callback to be used when an input value is issued by any enumerated device.

It panics if IOHIDManagerRegisterInputValueCallback is unavailable at run time; use TryIOHIDManagerRegisterInputValueCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438367-iohidmanagerregisterinputvalueca

func IOHIDManagerSaveToPropertyDomain

func IOHIDManagerSaveToPropertyDomain(manager IOHIDManagerRef, applicationID corefoundation.CFStringRef, userName corefoundation.CFStringRef, hostName corefoundation.CFStringRef, options uint32)

IOHIDManagerSaveToPropertyDomain used to write out the current properties to a specific domain.

It panics if IOHIDManagerSaveToPropertyDomain is unavailable at run time; use TryIOHIDManagerSaveToPropertyDomain to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438395-iohidmanagersavetopropertydomain

func IOHIDManagerScheduleWithRunLoop

func IOHIDManagerScheduleWithRunLoop(manager IOHIDManagerRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDManagerScheduleWithRunLoop schedules HID manager with run loop.

It panics if IOHIDManagerScheduleWithRunLoop is unavailable at run time; use TryIOHIDManagerScheduleWithRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438409-iohidmanagerschedulewithrunloop

func IOHIDManagerSetCancelHandler

func IOHIDManagerSetCancelHandler(manager IOHIDManagerRef, handler unsafe.Pointer)

IOHIDManagerSetCancelHandler.

It panics if IOHIDManagerSetCancelHandler is unavailable at run time; use TryIOHIDManagerSetCancelHandler to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042789-iohidmanagersetcancelhandler

func IOHIDManagerSetDeviceMatching

func IOHIDManagerSetDeviceMatching(manager IOHIDManagerRef, matching corefoundation.CFDictionaryRef)

IOHIDManagerSetDeviceMatching sets matching criteria for device enumeration.

It panics if IOHIDManagerSetDeviceMatching is unavailable at run time; use TryIOHIDManagerSetDeviceMatching to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438371-iohidmanagersetdevicematching

func IOHIDManagerSetDeviceMatchingMultiple

func IOHIDManagerSetDeviceMatchingMultiple(manager IOHIDManagerRef, multiple corefoundation.CFArrayRef)

IOHIDManagerSetDeviceMatchingMultiple sets multiple matching criteria for device enumeration.

It panics if IOHIDManagerSetDeviceMatchingMultiple is unavailable at run time; use TryIOHIDManagerSetDeviceMatchingMultiple to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438387-iohidmanagersetdevicematchingmul

func IOHIDManagerSetDispatchQueue

func IOHIDManagerSetDispatchQueue(manager IOHIDManagerRef, queue dispatch.Queue)

IOHIDManagerSetDispatchQueue.

It panics if IOHIDManagerSetDispatchQueue is unavailable at run time; use TryIOHIDManagerSetDispatchQueue to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042790-iohidmanagersetdispatchqueue

func IOHIDManagerSetInputValueMatching

func IOHIDManagerSetInputValueMatching(manager IOHIDManagerRef, matching corefoundation.CFDictionaryRef)

IOHIDManagerSetInputValueMatching sets matching criteria for input values received via IOHIDManagerRegisterInputValueCallback.

It panics if IOHIDManagerSetInputValueMatching is unavailable at run time; use TryIOHIDManagerSetInputValueMatching to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438389-iohidmanagersetinputvaluematchin

func IOHIDManagerSetInputValueMatchingMultiple

func IOHIDManagerSetInputValueMatchingMultiple(manager IOHIDManagerRef, multiple corefoundation.CFArrayRef)

IOHIDManagerSetInputValueMatchingMultiple sets multiple matching criteria for input values received via IOHIDManagerRegisterInputValueCallback.

It panics if IOHIDManagerSetInputValueMatchingMultiple is unavailable at run time; use TryIOHIDManagerSetInputValueMatchingMultiple to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438379-iohidmanagersetinputvaluematchin

func IOHIDManagerSetProperty

func IOHIDManagerSetProperty(manager IOHIDManagerRef, key corefoundation.CFStringRef, value corefoundation.CFTypeRef) bool

IOHIDManagerSetProperty sets a property for an IOHIDManager.

It panics if IOHIDManagerSetProperty is unavailable at run time; use TryIOHIDManagerSetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438401-iohidmanagersetproperty

func IOHIDManagerUnscheduleFromRunLoop

func IOHIDManagerUnscheduleFromRunLoop(manager IOHIDManagerRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDManagerUnscheduleFromRunLoop unschedules HID manager with run loop.

It panics if IOHIDManagerUnscheduleFromRunLoop is unavailable at run time; use TryIOHIDManagerUnscheduleFromRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438378-iohidmanagerunschedulefromrunloo

func IOHIDPostEvent deprecated

func IOHIDPostEvent(connect uint32, eventType uint32, location IOGPoint, eventData *kernel.NXEventData, eventDataVersion uint32, eventFlags uint32, options uint32) int32

IOHIDPostEvent.

It panics if IOHIDPostEvent is unavailable at run time; use TryIOHIDPostEvent to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555406-iohidpostevent

func IOHIDQueueActivate

func IOHIDQueueActivate(queue IOHIDQueueRef)

IOHIDQueueActivate.

It panics if IOHIDQueueActivate is unavailable at run time; use TryIOHIDQueueActivate to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042791-iohidqueueactivate

func IOHIDQueueAddElement

func IOHIDQueueAddElement(queue IOHIDQueueRef, element IOHIDElementRef)

IOHIDQueueAddElement adds an element to the queue

It panics if IOHIDQueueAddElement is unavailable at run time; use TryIOHIDQueueAddElement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545835-iohidqueueaddelement

func IOHIDQueueCancel

func IOHIDQueueCancel(queue IOHIDQueueRef)

IOHIDQueueCancel.

It panics if IOHIDQueueCancel is unavailable at run time; use TryIOHIDQueueCancel to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042792-iohidqueuecancel

func IOHIDQueueContainsElement

func IOHIDQueueContainsElement(queue IOHIDQueueRef, element IOHIDElementRef) bool

IOHIDQueueContainsElement queries the queue to determine if elemement has been added.

It panics if IOHIDQueueContainsElement is unavailable at run time; use TryIOHIDQueueContainsElement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545842-iohidqueuecontainselement

func IOHIDQueueGetDepth

func IOHIDQueueGetDepth(queue IOHIDQueueRef) corefoundation.CFIndex

IOHIDQueueGetDepth obtain the depth of the queue.

It panics if IOHIDQueueGetDepth is unavailable at run time; use TryIOHIDQueueGetDepth to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545833-iohidqueuegetdepth

func IOHIDQueueGetTypeID

func IOHIDQueueGetTypeID() uint

IOHIDQueueGetTypeID returns the type identifier of all IOHIDQueue instances.

It panics if IOHIDQueueGetTypeID is unavailable at run time; use TryIOHIDQueueGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545836-iohidqueuegettypeid

func IOHIDQueueRegisterValueAvailableCallback

func IOHIDQueueRegisterValueAvailableCallback(queue IOHIDQueueRef, callback unsafe.Pointer, context unsafe.Pointer)

IOHIDQueueRegisterValueAvailableCallback sets callback to be used when the queue transitions to non-empty.

It panics if IOHIDQueueRegisterValueAvailableCallback is unavailable at run time; use TryIOHIDQueueRegisterValueAvailableCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545829-iohidqueueregistervalueavailable

func IOHIDQueueRemoveElement

func IOHIDQueueRemoveElement(queue IOHIDQueueRef, element IOHIDElementRef)

IOHIDQueueRemoveElement removes an element from the queue

It panics if IOHIDQueueRemoveElement is unavailable at run time; use TryIOHIDQueueRemoveElement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545838-iohidqueueremoveelement

func IOHIDQueueScheduleWithRunLoop

func IOHIDQueueScheduleWithRunLoop(queue IOHIDQueueRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDQueueScheduleWithRunLoop schedules queue with run loop.

It panics if IOHIDQueueScheduleWithRunLoop is unavailable at run time; use TryIOHIDQueueScheduleWithRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545841-iohidqueueschedulewithrunloop

func IOHIDQueueSetCancelHandler

func IOHIDQueueSetCancelHandler(queue IOHIDQueueRef, handler unsafe.Pointer)

IOHIDQueueSetCancelHandler.

It panics if IOHIDQueueSetCancelHandler is unavailable at run time; use TryIOHIDQueueSetCancelHandler to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042793-iohidqueuesetcancelhandler

func IOHIDQueueSetDepth

func IOHIDQueueSetDepth(queue IOHIDQueueRef, depth corefoundation.CFIndex)

IOHIDQueueSetDepth sets the depth of the queue.

It panics if IOHIDQueueSetDepth is unavailable at run time; use TryIOHIDQueueSetDepth to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545846-iohidqueuesetdepth

func IOHIDQueueSetDispatchQueue

func IOHIDQueueSetDispatchQueue(queue IOHIDQueueRef, dispatchQueue dispatch.Queue)

IOHIDQueueSetDispatchQueue.

It panics if IOHIDQueueSetDispatchQueue is unavailable at run time; use TryIOHIDQueueSetDispatchQueue to get an error instead.

See: https://developer.apple.com/documentation/iokit/3042794-iohidqueuesetdispatchqueue

func IOHIDQueueStart

func IOHIDQueueStart(queue IOHIDQueueRef)

IOHIDQueueStart starts element value delivery to the queue.

It panics if IOHIDQueueStart is unavailable at run time; use TryIOHIDQueueStart to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545843-iohidqueuestart

func IOHIDQueueStop

func IOHIDQueueStop(queue IOHIDQueueRef)

IOHIDQueueStop stops element value delivery to the queue.

It panics if IOHIDQueueStop is unavailable at run time; use TryIOHIDQueueStop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545830-iohidqueuestop

func IOHIDQueueUnscheduleFromRunLoop

func IOHIDQueueUnscheduleFromRunLoop(queue IOHIDQueueRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDQueueUnscheduleFromRunLoop unschedules queue with run loop.

It panics if IOHIDQueueUnscheduleFromRunLoop is unavailable at run time; use TryIOHIDQueueUnscheduleFromRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545834-iohidqueueunschedulefromrunloop

func IOHIDRegisterVirtualDisplay deprecated

func IOHIDRegisterVirtualDisplay(handle uint32, display_token *uint32) int32

IOHIDRegisterVirtualDisplay.

It panics if IOHIDRegisterVirtualDisplay is unavailable at run time; use TryIOHIDRegisterVirtualDisplay to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555416-iohidregistervirtualdisplay

func IOHIDRequestAccess

func IOHIDRequestAccess(requestType IOHIDRequestType) bool

IOHIDRequestAccess.

It panics if IOHIDRequestAccess is unavailable at run time; use TryIOHIDRequestAccess to get an error instead.

See: https://developer.apple.com/documentation/iokit/3181574-iohidrequestaccess

func IOHIDServiceClientConformsTo

func IOHIDServiceClientConformsTo(service IOHIDServiceClientRef, usagePage uint32, usage uint32) int32

IOHIDServiceClientConformsTo.

It panics if IOHIDServiceClientConformsTo is unavailable at run time; use TryIOHIDServiceClientConformsTo to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269428-iohidserviceclientconformsto

func IOHIDServiceClientCopyProperty

func IOHIDServiceClientCopyProperty(service IOHIDServiceClientRef, key corefoundation.CFStringRef) corefoundation.CFTypeRef

IOHIDServiceClientCopyProperty.

It panics if IOHIDServiceClientCopyProperty is unavailable at run time; use TryIOHIDServiceClientCopyProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269430-iohidserviceclientcopyproperty

func IOHIDServiceClientGetRegistryID

func IOHIDServiceClientGetRegistryID(service IOHIDServiceClientRef) corefoundation.CFTypeRef

IOHIDServiceClientGetRegistryID.

It panics if IOHIDServiceClientGetRegistryID is unavailable at run time; use TryIOHIDServiceClientGetRegistryID to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269426-iohidserviceclientgetregistryid

func IOHIDServiceClientGetTypeID

func IOHIDServiceClientGetTypeID() uint

IOHIDServiceClientGetTypeID.

It panics if IOHIDServiceClientGetTypeID is unavailable at run time; use TryIOHIDServiceClientGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269431-iohidserviceclientgettypeid

func IOHIDServiceClientSetProperty

func IOHIDServiceClientSetProperty(service IOHIDServiceClientRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) bool

IOHIDServiceClientSetProperty.

It panics if IOHIDServiceClientSetProperty is unavailable at run time; use TryIOHIDServiceClientSetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269429-iohidserviceclientsetproperty

func IOHIDSetAccelerationWithKey deprecated

func IOHIDSetAccelerationWithKey(handle uint32, key corefoundation.CFStringRef, acceleration float64) int32

IOHIDSetAccelerationWithKey.

It panics if IOHIDSetAccelerationWithKey is unavailable at run time; use TryIOHIDSetAccelerationWithKey to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555398-iohidsetaccelerationwithkey

func IOHIDSetCFTypeParameter

func IOHIDSetCFTypeParameter(handle uint32, key corefoundation.CFStringRef, parameter corefoundation.CFTypeRef) int32

IOHIDSetCFTypeParameter.

It panics if IOHIDSetCFTypeParameter is unavailable at run time; use TryIOHIDSetCFTypeParameter to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555395-iohidsetcftypeparameter

func IOHIDSetCursorEnable deprecated

func IOHIDSetCursorEnable(connect uint32, enable int32) int32

IOHIDSetCursorEnable.

It panics if IOHIDSetCursorEnable is unavailable at run time; use TryIOHIDSetCursorEnable to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555409-iohidsetcursorenable

func IOHIDSetEventsEnable

func IOHIDSetEventsEnable(connect uint32, enable int32) int32

IOHIDSetEventsEnable.

It panics if IOHIDSetEventsEnable is unavailable at run time; use TryIOHIDSetEventsEnable to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555396-iohidseteventsenable

func IOHIDSetModifierLockState

func IOHIDSetModifierLockState(handle uint32, selector int32, state bool) int32

IOHIDSetModifierLockState.

It panics if IOHIDSetModifierLockState is unavailable at run time; use TryIOHIDSetModifierLockState to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555420-iohidsetmodifierlockstate

func IOHIDSetMouseAcceleration deprecated

func IOHIDSetMouseAcceleration(handle uint32, acceleration float64) int32

IOHIDSetMouseAcceleration.

It panics if IOHIDSetMouseAcceleration is unavailable at run time; use TryIOHIDSetMouseAcceleration to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555390-iohidsetmouseacceleration

func IOHIDSetMouseButtonMode deprecated

func IOHIDSetMouseButtonMode(handle uint32, mode int32) int32

IOHIDSetMouseButtonMode.

It panics if IOHIDSetMouseButtonMode is unavailable at run time; use TryIOHIDSetMouseButtonMode to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555399-iohidsetmousebuttonmode

func IOHIDSetMouseLocation deprecated

func IOHIDSetMouseLocation(connect uint32, x int32, y int32) int32

IOHIDSetMouseLocation.

It panics if IOHIDSetMouseLocation is unavailable at run time; use TryIOHIDSetMouseLocation to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555402-iohidsetmouselocation

func IOHIDSetParameter deprecated

func IOHIDSetParameter(handle uint32, key corefoundation.CFStringRef, bytes unsafe.Pointer, size uint) int32

IOHIDSetParameter.

It panics if IOHIDSetParameter is unavailable at run time; use TryIOHIDSetParameter to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555394-iohidsetparameter

func IOHIDSetScrollAcceleration deprecated

func IOHIDSetScrollAcceleration(handle uint32, acceleration float64) int32

IOHIDSetScrollAcceleration.

It panics if IOHIDSetScrollAcceleration is unavailable at run time; use TryIOHIDSetScrollAcceleration to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1555391-iohidsetscrollacceleration

func IOHIDSetStateForSelector

func IOHIDSetStateForSelector(handle uint32, selector int32, state uint32) int32

IOHIDSetStateForSelector.

It panics if IOHIDSetStateForSelector is unavailable at run time; use TryIOHIDSetStateForSelector to get an error instead.

See: https://developer.apple.com/documentation/iokit/1555397-iohidsetstateforselector

func IOHIDSetVirtualDisplayBounds deprecated

func IOHIDSetVirtualDisplayBounds(handle uint32, display_token uint32, bounds *IOGBounds) int32

IOHIDSetVirtualDisplayBounds.

It panics if IOHIDSetVirtualDisplayBounds is unavailable at run time; use TryIOHIDSetVirtualDisplayBounds to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555392-iohidsetvirtualdisplaybounds

func IOHIDTransactionAddElement

func IOHIDTransactionAddElement(transaction IOHIDTransactionRef, element IOHIDElementRef)

IOHIDTransactionAddElement adds an element to the transaction @disussion To minimize device traffic it is important to add elements that share a common report type and report id.

It panics if IOHIDTransactionAddElement is unavailable at run time; use TryIOHIDTransactionAddElement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561679-iohidtransactionaddelement

func IOHIDTransactionClear

func IOHIDTransactionClear(transaction IOHIDTransactionRef)

IOHIDTransactionClear clears element transaction values.

It panics if IOHIDTransactionClear is unavailable at run time; use TryIOHIDTransactionClear to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561687-iohidtransactionclear

func IOHIDTransactionCommit

func IOHIDTransactionCommit(transaction IOHIDTransactionRef) kernel.IOReturn

IOHIDTransactionCommit synchronously commits element transaction to the device.

It panics if IOHIDTransactionCommit is unavailable at run time; use TryIOHIDTransactionCommit to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561681-iohidtransactioncommit

func IOHIDTransactionCommitWithCallback

func IOHIDTransactionCommitWithCallback(transaction IOHIDTransactionRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) kernel.IOReturn

IOHIDTransactionCommitWithCallback commits element transaction to the device.

It panics if IOHIDTransactionCommitWithCallback is unavailable at run time; use TryIOHIDTransactionCommitWithCallback to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561677-iohidtransactioncommitwithcallba

func IOHIDTransactionContainsElement

func IOHIDTransactionContainsElement(transaction IOHIDTransactionRef, element IOHIDElementRef) bool

IOHIDTransactionContainsElement queries the transaction to determine if elemement has been added.

It panics if IOHIDTransactionContainsElement is unavailable at run time; use TryIOHIDTransactionContainsElement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561680-iohidtransactioncontainselement

func IOHIDTransactionGetTypeID

func IOHIDTransactionGetTypeID() uint

IOHIDTransactionGetTypeID returns the type identifier of all IOHIDTransaction instances.

It panics if IOHIDTransactionGetTypeID is unavailable at run time; use TryIOHIDTransactionGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561678-iohidtransactiongettypeid

func IOHIDTransactionRemoveElement

func IOHIDTransactionRemoveElement(transaction IOHIDTransactionRef, element IOHIDElementRef)

IOHIDTransactionRemoveElement removes an element to the transaction

It panics if IOHIDTransactionRemoveElement is unavailable at run time; use TryIOHIDTransactionRemoveElement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561686-iohidtransactionremoveelement

func IOHIDTransactionScheduleWithRunLoop

func IOHIDTransactionScheduleWithRunLoop(transaction IOHIDTransactionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDTransactionScheduleWithRunLoop schedules transaction with run loop.

It panics if IOHIDTransactionScheduleWithRunLoop is unavailable at run time; use TryIOHIDTransactionScheduleWithRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561675-iohidtransactionschedulewithrunl

func IOHIDTransactionSetDirection

func IOHIDTransactionSetDirection(transaction IOHIDTransactionRef, direction IOHIDTransactionDirectionType)

IOHIDTransactionSetDirection sets the direction of the transaction @disussion This method is useful for manipulating bi-direction (feature) elements such that you can set or get element values without creating an additional transaction object.

It panics if IOHIDTransactionSetDirection is unavailable at run time; use TryIOHIDTransactionSetDirection to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561688-iohidtransactionsetdirection

func IOHIDTransactionSetValue

func IOHIDTransactionSetValue(transaction IOHIDTransactionRef, element IOHIDElementRef, value IOHIDValueRef, options uint32)

IOHIDTransactionSetValue sets the value for a transaction element.

It panics if IOHIDTransactionSetValue is unavailable at run time; use TryIOHIDTransactionSetValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561676-iohidtransactionsetvalue

func IOHIDTransactionUnscheduleFromRunLoop

func IOHIDTransactionUnscheduleFromRunLoop(transaction IOHIDTransactionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

IOHIDTransactionUnscheduleFromRunLoop unschedules transaction with run loop.

It panics if IOHIDTransactionUnscheduleFromRunLoop is unavailable at run time; use TryIOHIDTransactionUnscheduleFromRunLoop to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561682-iohidtransactionunschedulefromru

func IOHIDUnregisterVirtualDisplay deprecated

func IOHIDUnregisterVirtualDisplay(handle uint32, display_token uint32) int32

IOHIDUnregisterVirtualDisplay.

It panics if IOHIDUnregisterVirtualDisplay is unavailable at run time; use TryIOHIDUnregisterVirtualDisplay to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/iokit/1555410-iohidunregistervirtualdisplay

func IOHIDUserDeviceActivate

func IOHIDUserDeviceActivate(device IOHIDUserDeviceRef)

IOHIDUserDeviceActivate.

It panics if IOHIDUserDeviceActivate is unavailable at run time; use TryIOHIDUserDeviceActivate to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334949-iohiduserdeviceactivate

func IOHIDUserDeviceCancel

func IOHIDUserDeviceCancel(device IOHIDUserDeviceRef)

IOHIDUserDeviceCancel.

It panics if IOHIDUserDeviceCancel is unavailable at run time; use TryIOHIDUserDeviceCancel to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334950-iohiduserdevicecancel

func IOHIDUserDeviceCopyProperty

func IOHIDUserDeviceCopyProperty(device IOHIDUserDeviceRef, key corefoundation.CFStringRef) corefoundation.CFTypeRef

IOHIDUserDeviceCopyProperty.

It panics if IOHIDUserDeviceCopyProperty is unavailable at run time; use TryIOHIDUserDeviceCopyProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334951-iohiduserdevicecopyproperty

func IOHIDUserDeviceGetTypeID

func IOHIDUserDeviceGetTypeID() uint

IOHIDUserDeviceGetTypeID.

It panics if IOHIDUserDeviceGetTypeID is unavailable at run time; use TryIOHIDUserDeviceGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334954-iohiduserdevicegettypeid

func IOHIDUserDeviceHandleReportWithTimeStamp

func IOHIDUserDeviceHandleReportWithTimeStamp(device IOHIDUserDeviceRef, timestamp uint64, report []byte, reportLength corefoundation.CFIndex) kernel.IOReturn

IOHIDUserDeviceHandleReportWithTimeStamp.

It panics if IOHIDUserDeviceHandleReportWithTimeStamp is unavailable at run time; use TryIOHIDUserDeviceHandleReportWithTimeStamp to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334955-iohiduserdevicehandlereportwitht

func IOHIDUserDeviceRegisterGetReportBlock

func IOHIDUserDeviceRegisterGetReportBlock(device IOHIDUserDeviceRef, block IOHIDUserDeviceGetReportBlock)

IOHIDUserDeviceRegisterGetReportBlock.

It panics if IOHIDUserDeviceRegisterGetReportBlock is unavailable at run time; use TryIOHIDUserDeviceRegisterGetReportBlock to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334959-iohiduserdeviceregistergetreport

func IOHIDUserDeviceRegisterSetReportBlock

func IOHIDUserDeviceRegisterSetReportBlock(device IOHIDUserDeviceRef, block IOHIDUserDeviceSetReportBlock)

IOHIDUserDeviceRegisterSetReportBlock.

It panics if IOHIDUserDeviceRegisterSetReportBlock is unavailable at run time; use TryIOHIDUserDeviceRegisterSetReportBlock to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334960-iohiduserdeviceregistersetreport

func IOHIDUserDeviceSetCancelHandler

func IOHIDUserDeviceSetCancelHandler(device IOHIDUserDeviceRef, handler unsafe.Pointer)

IOHIDUserDeviceSetCancelHandler.

It panics if IOHIDUserDeviceSetCancelHandler is unavailable at run time; use TryIOHIDUserDeviceSetCancelHandler to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334961-iohiduserdevicesetcancelhandler

func IOHIDUserDeviceSetDispatchQueue

func IOHIDUserDeviceSetDispatchQueue(device IOHIDUserDeviceRef, queue dispatch.Queue)

IOHIDUserDeviceSetDispatchQueue.

It panics if IOHIDUserDeviceSetDispatchQueue is unavailable at run time; use TryIOHIDUserDeviceSetDispatchQueue to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334962-iohiduserdevicesetdispatchqueue

func IOHIDUserDeviceSetProperty

func IOHIDUserDeviceSetProperty(device IOHIDUserDeviceRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) bool

IOHIDUserDeviceSetProperty.

It panics if IOHIDUserDeviceSetProperty is unavailable at run time; use TryIOHIDUserDeviceSetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334963-iohiduserdevicesetproperty

func IOHIDValueGetBytePtr

func IOHIDValueGetBytePtr(value IOHIDValueRef) *uint8

IOHIDValueGetBytePtr returns a byte pointer to the value contained in this IOHIDValueRef.

It panics if IOHIDValueGetBytePtr is unavailable at run time; use TryIOHIDValueGetBytePtr to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433292-iohidvaluegetbyteptr

func IOHIDValueGetIntegerValue

func IOHIDValueGetIntegerValue(value IOHIDValueRef) corefoundation.CFIndex

IOHIDValueGetIntegerValue returns an integer representaion of the value contained in this IOHIDValueRef.

It panics if IOHIDValueGetIntegerValue is unavailable at run time; use TryIOHIDValueGetIntegerValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433289-iohidvaluegetintegervalue

func IOHIDValueGetLength

func IOHIDValueGetLength(value IOHIDValueRef) corefoundation.CFIndex

IOHIDValueGetLength returns the size, in bytes, of the value contained in this IOHIDValueRef.

It panics if IOHIDValueGetLength is unavailable at run time; use TryIOHIDValueGetLength to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433291-iohidvaluegetlength

func IOHIDValueGetScaledValue

func IOHIDValueGetScaledValue(value IOHIDValueRef, type_ kernel.IOHIDValueScaleType) float64

IOHIDValueGetScaledValue returns an scaled representaion of the value contained in this IOHIDValueRef based on the scale type.

It panics if IOHIDValueGetScaledValue is unavailable at run time; use TryIOHIDValueGetScaledValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433288-iohidvaluegetscaledvalue

func IOHIDValueGetTimeStamp

func IOHIDValueGetTimeStamp(value IOHIDValueRef) uint64

IOHIDValueGetTimeStamp returns the timestamp value contained in this IOHIDValueRef.

It panics if IOHIDValueGetTimeStamp is unavailable at run time; use TryIOHIDValueGetTimeStamp to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433286-iohidvaluegettimestamp

func IOHIDValueGetTypeID

func IOHIDValueGetTypeID() uint

IOHIDValueGetTypeID returns the type identifier of all IOHIDValue instances.

It panics if IOHIDValueGetTypeID is unavailable at run time; use TryIOHIDValueGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433293-iohidvaluegettypeid

func IOI2CCopyInterfaceForID

func IOI2CCopyInterfaceForID(identifier corefoundation.CFTypeRef, interface_ *uint32) kernel.IOReturn

IOI2CCopyInterfaceForID.

It panics if IOI2CCopyInterfaceForID is unavailable at run time; use TryIOI2CCopyInterfaceForID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1410384-ioi2ccopyinterfaceforid

func IOI2CInterfaceClose

func IOI2CInterfaceClose(connect IOI2CConnectRef, options uint32) kernel.IOReturn

IOI2CInterfaceClose closes an IOI2CConnectRef.

It panics if IOI2CInterfaceClose is unavailable at run time; use TryIOI2CInterfaceClose to get an error instead.

See: https://developer.apple.com/documentation/iokit/1410390-ioi2cinterfaceclose

func IOI2CInterfaceOpen

func IOI2CInterfaceOpen(interface_ uint32, options uint32, connect *IOI2CConnectRef) kernel.IOReturn

IOI2CInterfaceOpen opens an instance of an I2C bus interface, allowing I2C requests to be made.

It panics if IOI2CInterfaceOpen is unavailable at run time; use TryIOI2CInterfaceOpen to get an error instead.

See: https://developer.apple.com/documentation/iokit/1410388-ioi2cinterfaceopen

func IOI2CSendRequest

func IOI2CSendRequest(connect IOI2CConnectRef, options uint32, request *IOI2CRequest) kernel.IOReturn

IOI2CSendRequest carries out the I2C transaction specified by an IOI2CRequest structure.

It panics if IOI2CSendRequest is unavailable at run time; use TryIOI2CSendRequest to get an error instead.

See: https://developer.apple.com/documentation/iokit/1410373-ioi2csendrequest

func IOIteratorIsValid

func IOIteratorIsValid(iterator uint32) int32

IOIteratorIsValid checks an iterator is still valid.

It panics if IOIteratorIsValid is unavailable at run time; use TryIOIteratorIsValid to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514556-ioiteratorisvalid

func IOIteratorNext

func IOIteratorNext(iterator uint32) uint32

IOIteratorNext returns the next object in an iteration.

It panics if IOIteratorNext is unavailable at run time; use TryIOIteratorNext to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514741-ioiteratornext

func IOIteratorReset

func IOIteratorReset(iterator uint32)

IOIteratorReset resets an iteration back to the beginning.

It panics if IOIteratorReset is unavailable at run time; use TryIOIteratorReset to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514379-ioiteratorreset

func IOKitGetBusyState

func IOKitGetBusyState(mainPort uint32, busyState *uint32) int32

IOKitGetBusyState returns the busyState of all IOServices.

It panics if IOKitGetBusyState is unavailable at run time; use TryIOKitGetBusyState to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514460-iokitgetbusystate

func IOKitWaitQuiet

func IOKitWaitQuiet(mainPort uint32, waitTime *kernel.MachTimespec) int32

IOKitWaitQuiet wait for a all IOServices' busyState to be zero.

It panics if IOKitWaitQuiet is unavailable at run time; use TryIOKitWaitQuiet to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514440-iokitwaitquiet

func IOMainPort

func IOMainPort(bootstrapPort uint32, mainPort *uint32) int32

IOMainPort.

It panics if IOMainPort is unavailable at run time; use TryIOMainPort to get an error instead.

See: https://developer.apple.com/documentation/iokit/3753260-iomainport

func IOMasterPort deprecated

func IOMasterPort(bootstrapPort uint32, mainPort *uint32) int32

IOMasterPort returns the mach port used to initiate communication with IOKit.

It panics if IOMasterPort is unavailable at run time; use TryIOMasterPort to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/iokit/1514652-iomasterport

func IONetworkClose

func IONetworkClose(con uint32) kernel.IOReturn

IONetworkClose close the connection to an IONetworkInterface object.

It panics if IONetworkClose is unavailable at run time; use TryIONetworkClose to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572704-ionetworkclose

func IONetworkGetDataCapacity

func IONetworkGetDataCapacity(conObject uint32, dataHandle IONDHandle, capacityP *uint32) kernel.IOReturn

IONetworkGetDataCapacity get the capacity (in bytes) of a network data object.

It panics if IONetworkGetDataCapacity is unavailable at run time; use TryIONetworkGetDataCapacity to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572712-ionetworkgetdatacapacity

func IONetworkGetDataHandle

func IONetworkGetDataHandle(conObject uint32, dataName string, dataHandleP *IONDHandle) kernel.IOReturn

IONetworkGetDataHandle get the handle of a network data object with the given name.

It panics if IONetworkGetDataHandle is unavailable at run time; use TryIONetworkGetDataHandle to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572708-ionetworkgetdatahandle

func IONetworkGetPacketFiltersMask

func IONetworkGetPacketFiltersMask(connect uint32, filterGroup unsafe.Pointer, filtersMask *uint32, options uint32) kernel.IOReturn

IONetworkGetPacketFiltersMask get the packet filters for a given filter group.

It panics if IONetworkGetPacketFiltersMask is unavailable at run time; use TryIONetworkGetPacketFiltersMask to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572711-ionetworkgetpacketfiltersmask

func IONetworkOpen

func IONetworkOpen(obj uint32, con *uint32) kernel.IOReturn

IONetworkOpen open a connection to an IONetworkInterface object.

It panics if IONetworkOpen is unavailable at run time; use TryIONetworkOpen to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572709-ionetworkopen

func IONetworkReadData

func IONetworkReadData(conObj uint32, dataHandle IONDHandle, destBuf []byte, inOutSizeP *uint32) kernel.IOReturn

IONetworkReadData read the buffer of a network data object.

It panics if IONetworkReadData is unavailable at run time; use TryIONetworkReadData to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572706-ionetworkreaddata

func IONetworkResetData

func IONetworkResetData(conObject uint32, dataHandle IONDHandle) kernel.IOReturn

IONetworkResetData fill the buffer of a network data object with zeroes.

It panics if IONetworkResetData is unavailable at run time; use TryIONetworkResetData to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572710-ionetworkresetdata

func IONetworkSetPacketFiltersMask

func IONetworkSetPacketFiltersMask(connect uint32, filterGroup unsafe.Pointer, filtersMask uint32, options uint32) kernel.IOReturn

IONetworkSetPacketFiltersMask set the packet filters for a given filter group.

It panics if IONetworkSetPacketFiltersMask is unavailable at run time; use TryIONetworkSetPacketFiltersMask to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572703-ionetworksetpacketfiltersmask

func IONetworkWriteData

func IONetworkWriteData(conObj uint32, dataHandle IONDHandle, srcBuf []byte, inSize uint32) kernel.IOReturn

IONetworkWriteData write to the buffer of a network data object.

It panics if IONetworkWriteData is unavailable at run time; use TryIONetworkWriteData to get an error instead.

See: https://developer.apple.com/documentation/iokit/1572707-ionetworkwritedata

func IONotificationPortDestroy

func IONotificationPortDestroy(notify IONotificationPortRef)

IONotificationPortDestroy destroys a notification object created with IONotificationPortCreate.

It panics if IONotificationPortDestroy is unavailable at run time; use TryIONotificationPortDestroy to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514751-ionotificationportdestroy

func IONotificationPortGetMachPort

func IONotificationPortGetMachPort(notify IONotificationPortRef) uint32

IONotificationPortGetMachPort returns a mach_port to be used to listen for notifications.

It panics if IONotificationPortGetMachPort is unavailable at run time; use TryIONotificationPortGetMachPort to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514875-ionotificationportgetmachport

func IONotificationPortGetRunLoopSource

func IONotificationPortGetRunLoopSource(notify IONotificationPortRef) corefoundation.CFRunLoopSourceRef

IONotificationPortGetRunLoopSource returns a CFRunLoopSource to be used to listen for notifications.

It panics if IONotificationPortGetRunLoopSource is unavailable at run time; use TryIONotificationPortGetRunLoopSource to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514599-ionotificationportgetrunloopsour

func IONotificationPortSetDispatchQueue

func IONotificationPortSetDispatchQueue(notify IONotificationPortRef, queue dispatch.Queue)

IONotificationPortSetDispatchQueue sets a dispatch queue to be used to listen for notifications.

It panics if IONotificationPortSetDispatchQueue is unavailable at run time; use TryIONotificationPortSetDispatchQueue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514596-ionotificationportsetdispatchque

func IONotificationPortSetImportanceReceiver

func IONotificationPortSetImportanceReceiver(notify IONotificationPortRef) int32

IONotificationPortSetImportanceReceiver.

It panics if IONotificationPortSetImportanceReceiver is unavailable at run time; use TryIONotificationPortSetImportanceReceiver to get an error instead.

See: https://developer.apple.com/documentation/iokit/2870065-ionotificationportsetimportancer

func IOObjectConformsTo

func IOObjectConformsTo(object uint32, className string) int32

IOObjectConformsTo performs an OSDynamicCast operation on an IOKit object.

It panics if IOObjectConformsTo is unavailable at run time; use TryIOObjectConformsTo to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514505-ioobjectconformsto

func IOObjectCopyBundleIdentifierForClass

func IOObjectCopyBundleIdentifierForClass(classname corefoundation.CFStringRef) corefoundation.CFStringRef

IOObjectCopyBundleIdentifierForClass return the bundle identifier of the given class.

It panics if IOObjectCopyBundleIdentifierForClass is unavailable at run time; use TryIOObjectCopyBundleIdentifierForClass to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514375-ioobjectcopybundleidentifierforc

func IOObjectCopyClass

func IOObjectCopyClass(object uint32) corefoundation.CFStringRef

IOObjectCopyClass return the class name of an IOKit object.

It panics if IOObjectCopyClass is unavailable at run time; use TryIOObjectCopyClass to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514781-ioobjectcopyclass

func IOObjectCopySuperclassForClass

func IOObjectCopySuperclassForClass(classname corefoundation.CFStringRef) corefoundation.CFStringRef

IOObjectCopySuperclassForClass return the superclass name of the given class.

It panics if IOObjectCopySuperclassForClass is unavailable at run time; use TryIOObjectCopySuperclassForClass to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514635-ioobjectcopysuperclassforclass

func IOObjectGetClass

func IOObjectGetClass(object uint32, className string) int32

IOObjectGetClass return the class name of an IOKit object.

It panics if IOObjectGetClass is unavailable at run time; use TryIOObjectGetClass to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514756-ioobjectgetclass

func IOObjectGetKernelRetainCount

func IOObjectGetKernelRetainCount(object uint32) uint32

IOObjectGetKernelRetainCount returns kernel retain count of an IOKit object.

It panics if IOObjectGetKernelRetainCount is unavailable at run time; use TryIOObjectGetKernelRetainCount to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514325-ioobjectgetkernelretaincount

func IOObjectGetRetainCount

func IOObjectGetRetainCount(object uint32) uint32

IOObjectGetRetainCount returns kernel retain count of an IOKit object.

It panics if IOObjectGetRetainCount is unavailable at run time; use TryIOObjectGetRetainCount to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514824-ioobjectgetretaincount

func IOObjectGetUserRetainCount

func IOObjectGetUserRetainCount(object uint32) uint32

IOObjectGetUserRetainCount returns the retain count for the current process of an IOKit object.

It panics if IOObjectGetUserRetainCount is unavailable at run time; use TryIOObjectGetUserRetainCount to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514464-ioobjectgetuserretaincount

func IOObjectIsEqualTo

func IOObjectIsEqualTo(object uint32, anObject uint32) int32

IOObjectIsEqualTo checks two object handles to see if they represent the same kernel object.

It panics if IOObjectIsEqualTo is unavailable at run time; use TryIOObjectIsEqualTo to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514563-ioobjectisequalto

func IOObjectRelease

func IOObjectRelease(object uint32) int32

IOObjectRelease releases an object handle previously returned by IOKitLib.

It panics if IOObjectRelease is unavailable at run time; use TryIOObjectRelease to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514627-ioobjectrelease

func IOObjectRetain

func IOObjectRetain(object uint32) int32

IOObjectRetain retains an object handle previously returned by IOKitLib.

It panics if IOObjectRetain is unavailable at run time; use TryIOObjectRetain to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514769-ioobjectretain

func IOOpenFirmwarePathMatching deprecated

func IOOpenFirmwarePathMatching(mainPort uint32, options uint32, path string) corefoundation.CFMutableDictionary

IOOpenFirmwarePathMatching.

It panics if IOOpenFirmwarePathMatching is unavailable at run time; use TryIOOpenFirmwarePathMatching to get an error instead.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/iokit/1514715-ioopenfirmwarepathmatching

func IOPMAssertionCopyProperties

func IOPMAssertionCopyProperties(theAssertion IOPMAssertionID) corefoundation.CFDictionaryRef

IOPMAssertionCopyProperties copies details about an [IOPMAssertion]

It panics if IOPMAssertionCopyProperties is unavailable at run time; use TryIOPMAssertionCopyProperties to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557066-iopmassertioncopyproperties

func IOPMAssertionCreate deprecated

func IOPMAssertionCreate(AssertionType corefoundation.CFStringRef, AssertionLevel IOPMAssertionLevel, AssertionID *IOPMAssertionID) kernel.IOReturn

IOPMAssertionCreate dynamically requests a system behavior from the power management system.

It panics if IOPMAssertionCreate is unavailable at run time; use TryIOPMAssertionCreate to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/iokit/1557118-iopmassertioncreate

func IOPMAssertionCreateWithDescription

func IOPMAssertionCreateWithDescription(AssertionType corefoundation.CFStringRef, Name corefoundation.CFStringRef, Details corefoundation.CFStringRef, HumanReadableReason corefoundation.CFStringRef, LocalizationBundlePath corefoundation.CFStringRef, Timeout corefoundation.CFTimeInterval, TimeoutAction corefoundation.CFStringRef, AssertionID *IOPMAssertionID) kernel.IOReturn

IOPMAssertionCreateWithDescription.

It panics if IOPMAssertionCreateWithDescription is unavailable at run time; use TryIOPMAssertionCreateWithDescription to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557078-iopmassertioncreatewithdescripti

func IOPMAssertionCreateWithName

func IOPMAssertionCreateWithName(AssertionType corefoundation.CFStringRef, AssertionLevel IOPMAssertionLevel, AssertionName corefoundation.CFStringRef, AssertionID *IOPMAssertionID) kernel.IOReturn

IOPMAssertionCreateWithName dynamically requests a system behavior from the power management system.

It panics if IOPMAssertionCreateWithName is unavailable at run time; use TryIOPMAssertionCreateWithName to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557134-iopmassertioncreatewithname

func IOPMAssertionCreateWithProperties

func IOPMAssertionCreateWithProperties(AssertionProperties corefoundation.CFDictionaryRef, AssertionID *IOPMAssertionID) kernel.IOReturn

IOPMAssertionCreateWithProperties creates an IOPMAssertion with more flexibility than IOPMAssertionCreateWithDescription.

It panics if IOPMAssertionCreateWithProperties is unavailable at run time; use TryIOPMAssertionCreateWithProperties to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557082-iopmassertioncreatewithpropertie

func IOPMAssertionDeclareUserActivity

func IOPMAssertionDeclareUserActivity(AssertionName corefoundation.CFStringRef, userType IOPMUserActiveType, AssertionID *IOPMAssertionID) kernel.IOReturn

IOPMAssertionDeclareUserActivity declares that the user is active on the system.

It panics if IOPMAssertionDeclareUserActivity is unavailable at run time; use TryIOPMAssertionDeclareUserActivity to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557127-iopmassertiondeclareuseractivity

func IOPMAssertionRelease

func IOPMAssertionRelease(AssertionID IOPMAssertionID) kernel.IOReturn

IOPMAssertionRelease decrements the assertion's retain count.

It panics if IOPMAssertionRelease is unavailable at run time; use TryIOPMAssertionRelease to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557090-iopmassertionrelease

func IOPMAssertionRetain

func IOPMAssertionRetain(theAssertion IOPMAssertionID)

IOPMAssertionRetain increments the assertion's retain count.

It panics if IOPMAssertionRetain is unavailable at run time; use TryIOPMAssertionRetain to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557071-iopmassertionretain

func IOPMAssertionSetProperty

func IOPMAssertionSetProperty(theAssertion IOPMAssertionID, theProperty corefoundation.CFStringRef, theValue corefoundation.CFTypeRef) kernel.IOReturn

IOPMAssertionSetProperty sets a property in the assertion.

It panics if IOPMAssertionSetProperty is unavailable at run time; use TryIOPMAssertionSetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557107-iopmassertionsetproperty

func IOPMCancelScheduledPowerEvent

func IOPMCancelScheduledPowerEvent(time_to_wake corefoundation.CFDateRef, my_id corefoundation.CFStringRef, type_ corefoundation.CFStringRef) kernel.IOReturn

IOPMCancelScheduledPowerEvent cancel a previously scheduled power event.

It panics if IOPMCancelScheduledPowerEvent is unavailable at run time; use TryIOPMCancelScheduledPowerEvent to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557116-iopmcancelscheduledpowerevent

func IOPMCopyAssertionsByProcess

func IOPMCopyAssertionsByProcess(AssertionsByPID *corefoundation.CFDictionaryRef) kernel.IOReturn

IOPMCopyAssertionsByProcess returns a dictionary listing all assertions, grouped by their owning process.

It panics if IOPMCopyAssertionsByProcess is unavailable at run time; use TryIOPMCopyAssertionsByProcess to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557130-iopmcopyassertionsbyprocess

func IOPMCopyAssertionsStatus

func IOPMCopyAssertionsStatus(AssertionsStatus *corefoundation.CFDictionaryRef) kernel.IOReturn

IOPMCopyAssertionsStatus returns a list of available assertions and their system-wide levels.

It panics if IOPMCopyAssertionsStatus is unavailable at run time; use TryIOPMCopyAssertionsStatus to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557072-iopmcopyassertionsstatus

func IOPMCopyBatteryInfo

func IOPMCopyBatteryInfo(masterPort uint32, info *corefoundation.CFArrayRef) kernel.IOReturn

IOPMCopyBatteryInfo request raw battery data from the system.

It panics if IOPMCopyBatteryInfo is unavailable at run time; use TryIOPMCopyBatteryInfo to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557138-iopmcopybatteryinfo

func IOPMCopyCPUPowerStatus

func IOPMCopyCPUPowerStatus(cpuPowerStatus *corefoundation.CFDictionaryRef) kernel.IOReturn

IOPMCopyCPUPowerStatus copy status of all current CPU power levels.

It panics if IOPMCopyCPUPowerStatus is unavailable at run time; use TryIOPMCopyCPUPowerStatus to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557079-iopmcopycpupowerstatus

func IOPMCopyScheduledPowerEvents

func IOPMCopyScheduledPowerEvents() corefoundation.CFArrayRef

IOPMCopyScheduledPowerEvents list all scheduled system power events

It panics if IOPMCopyScheduledPowerEvents is unavailable at run time; use TryIOPMCopyScheduledPowerEvents to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557109-iopmcopyscheduledpowerevents

func IOPMDeclareNetworkClientActivity

func IOPMDeclareNetworkClientActivity(AssertionName corefoundation.CFStringRef, AssertionID *IOPMAssertionID) kernel.IOReturn

IOPMDeclareNetworkClientActivity.

It panics if IOPMDeclareNetworkClientActivity is unavailable at run time; use TryIOPMDeclareNetworkClientActivity to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557137-iopmdeclarenetworkclientactivity

func IOPMFindPowerManagement

func IOPMFindPowerManagement(master_device_port uint32) uint32

IOPMFindPowerManagement finds the Root Power Domain IOService.

It panics if IOPMFindPowerManagement is unavailable at run time; use TryIOPMFindPowerManagement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557133-iopmfindpowermanagement

func IOPMGetAggressiveness

func IOPMGetAggressiveness(fb uint32, type_ uint, aggressiveness *uint) kernel.IOReturn

IOPMGetAggressiveness retrieves the current value of one of the aggressiveness factors in IOKit Power Management.

It panics if IOPMGetAggressiveness is unavailable at run time; use TryIOPMGetAggressiveness to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557117-iopmgetaggressiveness

func IOPMGetThermalWarningLevel

func IOPMGetThermalWarningLevel(thermalLevel *uint32) kernel.IOReturn

IOPMGetThermalWarningLevel get thermal warning level of the system.

It panics if IOPMGetThermalWarningLevel is unavailable at run time; use TryIOPMGetThermalWarningLevel to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557103-iopmgetthermalwarninglevel

func IOPMSchedulePowerEvent

func IOPMSchedulePowerEvent(time_to_wake corefoundation.CFDateRef, my_id corefoundation.CFStringRef, type_ corefoundation.CFStringRef) kernel.IOReturn

IOPMSchedulePowerEvent schedule the machine to wake from sleep, power on, go to sleep, or shutdown.

It panics if IOPMSchedulePowerEvent is unavailable at run time; use TryIOPMSchedulePowerEvent to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557076-iopmschedulepowerevent

func IOPMSetAggressiveness

func IOPMSetAggressiveness(fb uint32, type_ uint, aggressiveness uint) kernel.IOReturn

IOPMSetAggressiveness sets one of the aggressiveness factors in IOKit Power Management.

It panics if IOPMSetAggressiveness is unavailable at run time; use TryIOPMSetAggressiveness to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557098-iopmsetaggressiveness

func IOPMSleepEnabled

func IOPMSleepEnabled() int32

IOPMSleepEnabled tells whether the system supports full sleep, or just doze

It panics if IOPMSleepEnabled is unavailable at run time; use TryIOPMSleepEnabled to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557074-iopmsleepenabled

func IOPMSleepSystem

func IOPMSleepSystem(fb uint32) kernel.IOReturn

IOPMSleepSystem request that the system initiate sleep.

It panics if IOPMSleepSystem is unavailable at run time; use TryIOPMSleepSystem to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557121-iopmsleepsystem

func IOPSCopyExternalPowerAdapterDetails

func IOPSCopyExternalPowerAdapterDetails() corefoundation.CFDictionaryRef

IOPSCopyExternalPowerAdapterDetails returns a CFDictionary that describes the attached (AC) external power adapter (if any external power adapter is attached.

It panics if IOPSCopyExternalPowerAdapterDetails is unavailable at run time; use TryIOPSCopyExternalPowerAdapterDetails to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523866-iopscopyexternalpoweradapterdeta

func IOPSCopyPowerSourcesInfo

func IOPSCopyPowerSourcesInfo() corefoundation.CFTypeRef

IOPSCopyPowerSourcesInfo returns a blob of Power Source information in an opaque CFTypeRef.

It panics if IOPSCopyPowerSourcesInfo is unavailable at run time; use TryIOPSCopyPowerSourcesInfo to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523839-iopscopypowersourcesinfo

func IOPSCopyPowerSourcesList

func IOPSCopyPowerSourcesList(blob corefoundation.CFTypeRef) corefoundation.CFArrayRef

IOPSCopyPowerSourcesList returns a CFArray of Power Source handles, each of type CFTypeRef.

It panics if IOPSCopyPowerSourcesList is unavailable at run time; use TryIOPSCopyPowerSourcesList to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523856-iopscopypowersourceslist

func IOPSCreateLimitedPowerNotification

func IOPSCreateLimitedPowerNotification(callback unsafe.Pointer, context unsafe.Pointer) corefoundation.CFRunLoopSourceRef

IOPSCreateLimitedPowerNotification.

It panics if IOPSCreateLimitedPowerNotification is unavailable at run time; use TryIOPSCreateLimitedPowerNotification to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523865-iopscreatelimitedpowernotificati

func IOPSGetPowerSourceDescription

func IOPSGetPowerSourceDescription(blob corefoundation.CFTypeRef, ps corefoundation.CFTypeRef) corefoundation.CFDictionaryRef

IOPSGetPowerSourceDescription returns a CFDictionary with readable information about the specific power source.

It panics if IOPSGetPowerSourceDescription is unavailable at run time; use TryIOPSGetPowerSourceDescription to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523867-iopsgetpowersourcedescription

func IOPSGetProvidingPowerSourceType

func IOPSGetProvidingPowerSourceType(snapshot corefoundation.CFTypeRef) corefoundation.CFStringRef

IOPSGetProvidingPowerSourceType.

It panics if IOPSGetProvidingPowerSourceType is unavailable at run time; use TryIOPSGetProvidingPowerSourceType to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523858-iopsgetprovidingpowersourcetype

func IOPSGetTimeRemainingEstimate

func IOPSGetTimeRemainingEstimate() corefoundation.CFTimeInterval

IOPSGetTimeRemainingEstimate returns the estimated minutes remaining until all power sources (battery and/or UPS's) are empty, or returns kIOPSTimeRemainingUnlimited if attached to an unlimited power source.

It panics if IOPSGetTimeRemainingEstimate is unavailable at run time; use TryIOPSGetTimeRemainingEstimate to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523835-iopsgettimeremainingestimate

func IOPSNotificationCreateRunLoopSource

func IOPSNotificationCreateRunLoopSource(callback unsafe.Pointer, context unsafe.Pointer) corefoundation.CFRunLoopSourceRef

IOPSNotificationCreateRunLoopSource returns a CFRunLoopSourceRef that notifies the caller when power source information changes.

It panics if IOPSNotificationCreateRunLoopSource is unavailable at run time; use TryIOPSNotificationCreateRunLoopSource to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523868-iopsnotificationcreaterunloopsou

func IORegisterApp deprecated

func IORegisterApp(refcon uintptr, theDriver uint32, thePortRef *IONotificationPortRef, callback IOServiceInterestCallback, notifier *uint32) uint32

IORegisterApp connects the caller to an IOService for the purpose of receiving power state change notifications for the device controlled by the IOService.

It panics if IORegisterApp is unavailable at run time; use TryIORegisterApp to get an error instead.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/iokit/1557102-ioregisterapp

func IORegisterForSystemPower

func IORegisterForSystemPower(refcon uintptr, thePortRef *IONotificationPortRef, callback IOServiceInterestCallback, notifier *uint32) uint32

IORegisterForSystemPower connects the caller to the Root Power Domain IOService for the purpose of receiving sleep & wake notifications for the system.

It panics if IORegisterForSystemPower is unavailable at run time; use TryIORegisterForSystemPower to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557114-ioregisterforsystempower

func IORegistryCreateIterator

func IORegistryCreateIterator(mainPort uint32, plane string, options uint32, iterator *uint32) int32

IORegistryCreateIterator create an iterator rooted at the registry root.

It panics if IORegistryCreateIterator is unavailable at run time; use TryIORegistryCreateIterator to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514238-ioregistrycreateiterator

func IORegistryEntryCopyFromPath

func IORegistryEntryCopyFromPath(mainPort uint32, path corefoundation.CFStringRef) uint32

IORegistryEntryCopyFromPath.

It panics if IORegistryEntryCopyFromPath is unavailable at run time; use TryIORegistryEntryCopyFromPath to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514248-ioregistryentrycopyfrompath

func IORegistryEntryCopyPath

func IORegistryEntryCopyPath(entry uint32, plane string) corefoundation.CFStringRef

IORegistryEntryCopyPath.

It panics if IORegistryEntryCopyPath is unavailable at run time; use TryIORegistryEntryCopyPath to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514853-ioregistryentrycopypath

func IORegistryEntryCreateCFProperties

func IORegistryEntryCreateCFProperties(entry uint32, properties *corefoundation.CFMutableDictionaryRef, allocator corefoundation.CFAllocatorRef, options uint32) int32

IORegistryEntryCreateCFProperties create a CF dictionary representation of a registry entry's property table.

It panics if IORegistryEntryCreateCFProperties is unavailable at run time; use TryIORegistryEntryCreateCFProperties to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514310-ioregistryentrycreatecfpropertie

func IORegistryEntryCreateCFProperty

func IORegistryEntryCreateCFProperty(entry uint32, key corefoundation.CFStringRef, allocator corefoundation.CFAllocatorRef, options uint32) corefoundation.CFTypeRef

IORegistryEntryCreateCFProperty create a CF representation of a registry entry's property.

It panics if IORegistryEntryCreateCFProperty is unavailable at run time; use TryIORegistryEntryCreateCFProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514293-ioregistryentrycreatecfproperty

func IORegistryEntryCreateIterator

func IORegistryEntryCreateIterator(entry uint32, plane string, options uint32, iterator *uint32) int32

IORegistryEntryCreateIterator create an iterator rooted at a given registry entry.

It panics if IORegistryEntryCreateIterator is unavailable at run time; use TryIORegistryEntryCreateIterator to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514318-ioregistryentrycreateiterator

func IORegistryEntryFromPath

func IORegistryEntryFromPath(mainPort uint32, path string) uint32

IORegistryEntryFromPath looks up a registry entry by path.

It panics if IORegistryEntryFromPath is unavailable at run time; use TryIORegistryEntryFromPath to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514802-ioregistryentryfrompath

func IORegistryEntryGetChildEntry

func IORegistryEntryGetChildEntry(entry uint32, plane string, child *uint32) int32

IORegistryEntryGetChildEntry returns the first child of a registry entry in a plane.

It panics if IORegistryEntryGetChildEntry is unavailable at run time; use TryIORegistryEntryGetChildEntry to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514496-ioregistryentrygetchildentry

func IORegistryEntryGetChildIterator

func IORegistryEntryGetChildIterator(entry uint32, plane string, iterator *uint32) int32

IORegistryEntryGetChildIterator returns an iterator over a registry entry’s child entries in a plane.

It panics if IORegistryEntryGetChildIterator is unavailable at run time; use TryIORegistryEntryGetChildIterator to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514703-ioregistryentrygetchilditerator

func IORegistryEntryGetLocationInPlane

func IORegistryEntryGetLocationInPlane(entry uint32, plane string, location string) int32

IORegistryEntryGetLocationInPlane returns a C-string location assigned to a registry entry, in a specified plane.

It panics if IORegistryEntryGetLocationInPlane is unavailable at run time; use TryIORegistryEntryGetLocationInPlane to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514340-ioregistryentrygetlocationinplan

func IORegistryEntryGetName

func IORegistryEntryGetName(entry uint32, name string) int32

IORegistryEntryGetName returns a C-string name assigned to a registry entry.

It panics if IORegistryEntryGetName is unavailable at run time; use TryIORegistryEntryGetName to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514323-ioregistryentrygetname

func IORegistryEntryGetNameInPlane

func IORegistryEntryGetNameInPlane(entry uint32, plane string, name string) int32

IORegistryEntryGetNameInPlane returns a C-string name assigned to a registry entry, in a specified plane.

It panics if IORegistryEntryGetNameInPlane is unavailable at run time; use TryIORegistryEntryGetNameInPlane to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514475-ioregistryentrygetnameinplane

func IORegistryEntryGetParentEntry

func IORegistryEntryGetParentEntry(entry uint32, plane string, parent *uint32) int32

IORegistryEntryGetParentEntry returns the first parent of a registry entry in a plane.

It panics if IORegistryEntryGetParentEntry is unavailable at run time; use TryIORegistryEntryGetParentEntry to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514454-ioregistryentrygetparententry

func IORegistryEntryGetParentIterator

func IORegistryEntryGetParentIterator(entry uint32, plane string, iterator *uint32) int32

IORegistryEntryGetParentIterator returns an iterator over a registry entry’s parent entries in a plane.

It panics if IORegistryEntryGetParentIterator is unavailable at run time; use TryIORegistryEntryGetParentIterator to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514366-ioregistryentrygetparentiterator

func IORegistryEntryGetPath

func IORegistryEntryGetPath(entry uint32, plane string, path string) int32

IORegistryEntryGetPath create a path for a registry entry.

It panics if IORegistryEntryGetPath is unavailable at run time; use TryIORegistryEntryGetPath to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514229-ioregistryentrygetpath

func IORegistryEntryGetProperty

func IORegistryEntryGetProperty(entry uint32, propertyName string, buffer string, size *uint32) int32

IORegistryEntryGetProperty.

It panics if IORegistryEntryGetProperty is unavailable at run time; use TryIORegistryEntryGetProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514254-ioregistryentrygetproperty

func IORegistryEntryGetRegistryEntryID

func IORegistryEntryGetRegistryEntryID(entry uint32, entryID *uint64) int32

IORegistryEntryGetRegistryEntryID returns an ID for the registry entry that is global to all tasks.

It panics if IORegistryEntryGetRegistryEntryID is unavailable at run time; use TryIORegistryEntryGetRegistryEntryID to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514719-ioregistryentrygetregistryentryi

func IORegistryEntryIDMatching

func IORegistryEntryIDMatching(entryID uint64) corefoundation.CFMutableDictionary

IORegistryEntryIDMatching create a matching dictionary that specifies an IOService match based on a registry entry ID.

It panics if IORegistryEntryIDMatching is unavailable at run time; use TryIORegistryEntryIDMatching to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514880-ioregistryentryidmatching

func IORegistryEntryInPlane

func IORegistryEntryInPlane(entry uint32, plane string) int32

IORegistryEntryInPlane determines if the registry entry is attached in a plane.

It panics if IORegistryEntryInPlane is unavailable at run time; use TryIORegistryEntryInPlane to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514668-ioregistryentryinplane

func IORegistryEntrySearchCFProperty

func IORegistryEntrySearchCFProperty(entry uint32, plane string, key corefoundation.CFStringRef, allocator corefoundation.CFAllocatorRef, options uint32) corefoundation.CFTypeRef

IORegistryEntrySearchCFProperty create a CF representation of a registry entry's property.

It panics if IORegistryEntrySearchCFProperty is unavailable at run time; use TryIORegistryEntrySearchCFProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514537-ioregistryentrysearchcfproperty

func IORegistryEntrySetCFProperties

func IORegistryEntrySetCFProperties(entry uint32, properties corefoundation.CFTypeRef) int32

IORegistryEntrySetCFProperties set CF container based properties in a registry entry.

It panics if IORegistryEntrySetCFProperties is unavailable at run time; use TryIORegistryEntrySetCFProperties to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514414-ioregistryentrysetcfproperties

func IORegistryEntrySetCFProperty

func IORegistryEntrySetCFProperty(entry uint32, propertyName corefoundation.CFStringRef, property corefoundation.CFTypeRef) int32

IORegistryEntrySetCFProperty set a CF container based property in a registry entry.

It panics if IORegistryEntrySetCFProperty is unavailable at run time; use TryIORegistryEntrySetCFProperty to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514882-ioregistryentrysetcfproperty

func IORegistryGetRootEntry

func IORegistryGetRootEntry(mainPort uint32) uint32

IORegistryGetRootEntry return a handle to the registry root.

It panics if IORegistryGetRootEntry is unavailable at run time; use TryIORegistryGetRootEntry to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514878-ioregistrygetrootentry

func IORegistryIteratorEnterEntry

func IORegistryIteratorEnterEntry(iterator uint32) int32

IORegistryIteratorEnterEntry recurse into the current entry in the registry iteration.

It panics if IORegistryIteratorEnterEntry is unavailable at run time; use TryIORegistryIteratorEnterEntry to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514822-ioregistryiteratorenterentry

func IORegistryIteratorExitEntry

func IORegistryIteratorExitEntry(iterator uint32) int32

IORegistryIteratorExitEntry exits a level of recursion, restoring the current entry.

It panics if IORegistryIteratorExitEntry is unavailable at run time; use TryIORegistryIteratorExitEntry to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514334-ioregistryiteratorexitentry

func IOServiceAddInterestNotification

func IOServiceAddInterestNotification(notifyPort IONotificationPortRef, service uint32, interestType string, callback IOServiceInterestCallback, refCon uintptr, notification *uint32) int32

IOServiceAddInterestNotification register for notification of state changes in an IOService.

It panics if IOServiceAddInterestNotification is unavailable at run time; use TryIOServiceAddInterestNotification to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514866-ioserviceaddinterestnotification

func IOServiceAddMatchingNotification

func IOServiceAddMatchingNotification(notifyPort IONotificationPortRef, notificationType string, matching corefoundation.CFDictionaryRef, callback IOServiceMatchingCallback, refCon uintptr, notification *uint32) int32

IOServiceAddMatchingNotification look up registered IOService objects that match a matching dictionary, and install a notification request of new IOServices that match.

It panics if IOServiceAddMatchingNotification is unavailable at run time; use TryIOServiceAddMatchingNotification to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514362-ioserviceaddmatchingnotification

func IOServiceAddNotification deprecated

func IOServiceAddNotification(mainPort uint32, notificationType string, matching corefoundation.CFDictionaryRef, wakePort uint32, reference unsafe.Pointer, notification *uint32) int32

IOServiceAddNotification.

It panics if IOServiceAddNotification is unavailable at run time; use TryIOServiceAddNotification to get an error instead.

Deprecated: Deprecated since macOS 10.6.

See: https://developer.apple.com/documentation/iokit/1514382-ioserviceaddnotification

func IOServiceAuthorize

func IOServiceAuthorize(service uint32, options uint32) int32

IOServiceAuthorize.

It panics if IOServiceAuthorize is unavailable at run time; use TryIOServiceAuthorize to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514533-ioserviceauthorize

func IOServiceClose

func IOServiceClose(connect uint32) int32

IOServiceClose close a connection to an IOService and destroy the connect handle.

It panics if IOServiceClose is unavailable at run time; use TryIOServiceClose to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514646-ioserviceclose

func IOServiceGetBusyState

func IOServiceGetBusyState(service uint32, busyState *uint32) int32

IOServiceGetBusyState returns the busyState of an IOService.

It panics if IOServiceGetBusyState is unavailable at run time; use TryIOServiceGetBusyState to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514607-ioservicegetbusystate

func IOServiceGetMatchingService

func IOServiceGetMatchingService(mainPort uint32, matching corefoundation.CFDictionaryRef) uint32

IOServiceGetMatchingService look up a registered IOService object that matches a matching dictionary.

It panics if IOServiceGetMatchingService is unavailable at run time; use TryIOServiceGetMatchingService to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514535-ioservicegetmatchingservice

func IOServiceGetMatchingServices

func IOServiceGetMatchingServices(mainPort uint32, matching corefoundation.CFDictionaryRef, existing *uint32) int32

IOServiceGetMatchingServices look up registered IOService objects that match a matching dictionary.

It panics if IOServiceGetMatchingServices is unavailable at run time; use TryIOServiceGetMatchingServices to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514494-ioservicegetmatchingservices

func IOServiceMatchPropertyTable

func IOServiceMatchPropertyTable(service uint32, matching corefoundation.CFDictionaryRef, matches *bool) int32

IOServiceMatchPropertyTable match an IOService objects with matching dictionary.

It panics if IOServiceMatchPropertyTable is unavailable at run time; use TryIOServiceMatchPropertyTable to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514685-ioservicematchpropertytable

func IOServiceMatching

func IOServiceMatching(name string) corefoundation.CFMutableDictionary

IOServiceMatching create a matching dictionary that specifies an IOService class match.

It panics if IOServiceMatching is unavailable at run time; use TryIOServiceMatching to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514687-ioservicematching

func IOServiceNameMatching

func IOServiceNameMatching(name string) corefoundation.CFMutableDictionary

IOServiceNameMatching create a matching dictionary that specifies an IOService name match.

It panics if IOServiceNameMatching is unavailable at run time; use TryIOServiceNameMatching to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514416-ioservicenamematching

func IOServiceOFPathToBSDName deprecated

func IOServiceOFPathToBSDName(mainPort uint32, openFirmwarePath string, bsdName string) int32

IOServiceOFPathToBSDName.

It panics if IOServiceOFPathToBSDName is unavailable at run time; use TryIOServiceOFPathToBSDName to get an error instead.

Deprecated: Deprecated since macOS 10.8.

See: https://developer.apple.com/documentation/iokit/1514661-ioserviceofpathtobsdname

func IOServiceOpen

func IOServiceOpen(service uint32, owningTask uint32, type_ uint32, connect *uint32) int32

IOServiceOpen a request to create a connection to an IOService.

It panics if IOServiceOpen is unavailable at run time; use TryIOServiceOpen to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514515-ioserviceopen

func IOServiceOpenAsFileDescriptor

func IOServiceOpenAsFileDescriptor(service uint32, oflag int32) int32

IOServiceOpenAsFileDescriptor.

It panics if IOServiceOpenAsFileDescriptor is unavailable at run time; use TryIOServiceOpenAsFileDescriptor to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514879-ioserviceopenasfiledescriptor

func IOServiceRequestProbe

func IOServiceRequestProbe(service uint32, options uint32) int32

IOServiceRequestProbe a request to rescan a bus for device changes.

It panics if IOServiceRequestProbe is unavailable at run time; use TryIOServiceRequestProbe to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514364-ioservicerequestprobe

func IOServiceWaitQuiet

func IOServiceWaitQuiet(service uint32, waitTime *kernel.MachTimespec) int32

IOServiceWaitQuiet wait for an IOService's busyState to be zero.

It panics if IOServiceWaitQuiet is unavailable at run time; use TryIOServiceWaitQuiet to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514573-ioservicewaitquiet

func IOURLCreateDataAndPropertiesFromResource

func IOURLCreateDataAndPropertiesFromResource(alloc corefoundation.CFAllocatorRef, url corefoundation.CFURLRef, resourceData *corefoundation.CFDataRef, properties *corefoundation.CFDictionaryRef, desiredProperties corefoundation.CFArrayRef, errorCode *int32) bool

IOURLCreateDataAndPropertiesFromResource.

It panics if IOURLCreateDataAndPropertiesFromResource is unavailable at run time; use TryIOURLCreateDataAndPropertiesFromResource to get an error instead.

See: https://developer.apple.com/documentation/iokit/1390335-iourlcreatedataandpropertiesfrom

func IOURLCreatePropertyFromResource

func IOURLCreatePropertyFromResource(alloc corefoundation.CFAllocatorRef, url corefoundation.CFURLRef, property corefoundation.CFStringRef, errorCode *int32) corefoundation.CFTypeRef

IOURLCreatePropertyFromResource.

It panics if IOURLCreatePropertyFromResource is unavailable at run time; use TryIOURLCreatePropertyFromResource to get an error instead.

See: https://developer.apple.com/documentation/iokit/1390322-iourlcreatepropertyfromresource

func KextManagerCopyLoadedKextInfo

func KextManagerCopyLoadedKextInfo(kextIdentifiers corefoundation.CFArrayRef, infoKeys corefoundation.CFArrayRef) corefoundation.CFDictionaryRef

KextManagerCopyLoadedKextInfo returns information about loaded kexts in a dictionary.

It panics if KextManagerCopyLoadedKextInfo is unavailable at run time; use TryKextManagerCopyLoadedKextInfo to get an error instead.

See: https://developer.apple.com/documentation/iokit/1562908-kextmanagercopyloadedkextinfo

func KextManagerCreateURLForBundleIdentifier

func KextManagerCreateURLForBundleIdentifier(allocator corefoundation.CFAllocatorRef, kextIdentifier corefoundation.CFStringRef) corefoundation.CFURLRef

KextManagerCreateURLForBundleIdentifier create a URL locating a kext with a given bundle identifier.

It panics if KextManagerCreateURLForBundleIdentifier is unavailable at run time; use TryKextManagerCreateURLForBundleIdentifier to get an error instead.

See: https://developer.apple.com/documentation/iokit/1562905-kextmanagercreateurlforbundleide

func KextManagerLoadKextWithIdentifier

func KextManagerLoadKextWithIdentifier(kextIdentifier corefoundation.CFStringRef, dependencyKextAndFolderURLs corefoundation.CFArrayRef) int32

KextManagerLoadKextWithIdentifier request the kext loading system to load a kext with a given bundle identifier.

It panics if KextManagerLoadKextWithIdentifier is unavailable at run time; use TryKextManagerLoadKextWithIdentifier to get an error instead.

See: https://developer.apple.com/documentation/iokit/1562907-kextmanagerloadkextwithidentifie

func KextManagerLoadKextWithURL

func KextManagerLoadKextWithURL(kextURL corefoundation.CFURLRef, dependencyKextAndFolderURLs corefoundation.CFArrayRef) int32

KextManagerLoadKextWithURL request the kext loading system to load a kext with a given URL.

It panics if KextManagerLoadKextWithURL is unavailable at run time; use TryKextManagerLoadKextWithURL to get an error instead.

See: https://developer.apple.com/documentation/iokit/1562906-kextmanagerloadkextwithurl

func KextManagerUnloadKextWithIdentifier

func KextManagerUnloadKextWithIdentifier(kextIdentifier corefoundation.CFStringRef) int32

KextManagerUnloadKextWithIdentifier request the kernel to unload a kext with a given bundle identifier.

It panics if KextManagerUnloadKextWithIdentifier is unavailable at run time; use TryKextManagerUnloadKextWithIdentifier to get an error instead.

See: https://developer.apple.com/documentation/iokit/1562904-kextmanagerunloadkextwithidentif

func NXClickTime deprecated

func NXClickTime(handle NXEventHandle) float64

NXClickTime.

It panics if NXClickTime is unavailable at run time; use TryNXClickTime to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574526-nxclicktime

func NXCloseEventStatus deprecated

func NXCloseEventStatus(handle NXEventHandle)

NXCloseEventStatus.

It panics if NXCloseEventStatus is unavailable at run time; use TryNXCloseEventStatus to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574524-nxcloseeventstatus

func NXGetClickSpace deprecated

func NXGetClickSpace(handle NXEventHandle, area *NXSize)

NXGetClickSpace.

It panics if NXGetClickSpace is unavailable at run time; use TryNXGetClickSpace to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574518-nxgetclickspace

func NXKeyRepeatInterval deprecated

func NXKeyRepeatInterval(handle NXEventHandle) float64

NXKeyRepeatInterval.

It panics if NXKeyRepeatInterval is unavailable at run time; use TryNXKeyRepeatInterval to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574515-nxkeyrepeatinterval

func NXKeyRepeatThreshold deprecated

func NXKeyRepeatThreshold(handle NXEventHandle) float64

NXKeyRepeatThreshold.

It panics if NXKeyRepeatThreshold is unavailable at run time; use TryNXKeyRepeatThreshold to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574514-nxkeyrepeatthreshold

func NXResetKeyboard deprecated

func NXResetKeyboard(handle NXEventHandle)

NXResetKeyboard.

It panics if NXResetKeyboard is unavailable at run time; use TryNXResetKeyboard to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574523-nxresetkeyboard

func NXResetMouse deprecated

func NXResetMouse(handle NXEventHandle)

NXResetMouse.

It panics if NXResetMouse is unavailable at run time; use TryNXResetMouse to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574520-nxresetmouse

func NXSetClickSpace deprecated

func NXSetClickSpace(handle NXEventHandle, area *NXSize)

NXSetClickSpace.

It panics if NXSetClickSpace is unavailable at run time; use TryNXSetClickSpace to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574525-nxsetclickspace

func NXSetClickTime deprecated

func NXSetClickTime(handle NXEventHandle, seconds float64)

NXSetClickTime.

It panics if NXSetClickTime is unavailable at run time; use TryNXSetClickTime to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574522-nxsetclicktime

func NXSetKeyRepeatInterval deprecated

func NXSetKeyRepeatInterval(handle NXEventHandle, seconds float64)

NXSetKeyRepeatInterval.

It panics if NXSetKeyRepeatInterval is unavailable at run time; use TryNXSetKeyRepeatInterval to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574519-nxsetkeyrepeatinterval

func NXSetKeyRepeatThreshold deprecated

func NXSetKeyRepeatThreshold(handle NXEventHandle, threshold float64)

NXSetKeyRepeatThreshold.

It panics if NXSetKeyRepeatThreshold is unavailable at run time; use TryNXSetKeyRepeatThreshold to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574516-nxsetkeyrepeatthreshold

func NewIOAsyncCallback0Block added in v0.6.16

func NewIOAsyncCallback0Block(handler IOAsyncCallback0) (objc.ID, func())

NewIOAsyncCallback0Block wraps a Go IOAsyncCallback0 as an Objective-C block. The caller must defer the returned cleanup function.

func NewIOAsyncCallback1Block added in v0.6.16

func NewIOAsyncCallback1Block(handler IOAsyncCallback1) (objc.ID, func())

NewIOAsyncCallback1Block wraps a Go IOAsyncCallback1 as an Objective-C block. The caller must defer the returned cleanup function.

func NewIOAsyncCallback2Block added in v0.6.16

func NewIOAsyncCallback2Block(handler IOAsyncCallback2) (objc.ID, func())

NewIOAsyncCallback2Block wraps a Go IOAsyncCallback2 as an Objective-C block. The caller must defer the returned cleanup function.

func NewIOAsyncCallbackBlock added in v0.6.16

func NewIOAsyncCallbackBlock(handler IOAsyncCallback) (objc.ID, func())

NewIOAsyncCallbackBlock wraps a Go IOAsyncCallback as an Objective-C block. The caller must defer the returned cleanup function.

func NewIOServiceInterestCallbackBlock added in v0.6.16

func NewIOServiceInterestCallbackBlock(handler IOServiceInterestCallback) (objc.ID, func())

NewIOServiceInterestCallbackBlock wraps a Go IOServiceInterestCallback as an Objective-C block. The caller must defer the returned cleanup function.

func NewIOServiceMatchingCallbackBlock added in v0.6.16

func NewIOServiceMatchingCallbackBlock(handler IOServiceMatchingCallback) (objc.ID, func())

NewIOServiceMatchingCallbackBlock wraps a Go IOServiceMatchingCallback as an Objective-C block. The caller must defer the returned cleanup function.

func OSGetNotificationFromMessage

func OSGetNotificationFromMessage(msg unsafe.Pointer, index uint32, type_ *uint32, reference unsafe.Pointer, content unsafe.Pointer, size *uintptr) int32

OSGetNotificationFromMessage.

It panics if OSGetNotificationFromMessage is unavailable at run time; use TryOSGetNotificationFromMessage to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514263-osgetnotificationfrommessage

func SymbolAddress

func SymbolAddress(name string) (uintptr, error)

SymbolAddress returns the address of name in iokit, whether or not this package generated a binding for it.

What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.

The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.

func TryIOAccelFindAccelerator

func TryIOAccelFindAccelerator(framebuffer uint32, pAccelerator *uint32, pFramebufferIndex *uint32) (kernel.IOReturn, error)

TryIOAccelFindAccelerator is like IOAccelFindAccelerator but returns an error instead of panicking if IOAccelFindAccelerator is unavailable at run time.

func TryIOAllowPowerChange

func TryIOAllowPowerChange(kernelPort uint32, notificationID int) (kernel.IOReturn, error)

TryIOAllowPowerChange is like IOAllowPowerChange but returns an error instead of panicking if IOAllowPowerChange is unavailable at run time.

func TryIOBSDNameMatching

func TryIOBSDNameMatching(mainPort uint32, options uint32, bsdName string) (corefoundation.CFMutableDictionary, error)

TryIOBSDNameMatching is like IOBSDNameMatching but returns an error instead of panicking if IOBSDNameMatching is unavailable at run time.

func TryIOCFSerialize

func TryIOCFSerialize(object corefoundation.CFTypeRef, options uint) (corefoundation.CFDataRef, error)

TryIOCFSerialize is like IOCFSerialize but returns an error instead of panicking if IOCFSerialize is unavailable at run time.

func TryIOCFUnserialize

func TryIOCFUnserialize(buffer string, allocator corefoundation.CFAllocatorRef, options uint, errorString *corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOCFUnserialize is like IOCFUnserialize but returns an error instead of panicking if IOCFUnserialize is unavailable at run time.

func TryIOCFUnserializeBinary

func TryIOCFUnserializeBinary(buffer string, bufferSize unsafe.Pointer, allocator corefoundation.CFAllocatorRef, options uint, errorString *corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOCFUnserializeBinary is like IOCFUnserializeBinary but returns an error instead of panicking if IOCFUnserializeBinary is unavailable at run time.

func TryIOCFUnserializeWithSize

func TryIOCFUnserializeWithSize(buffer string, bufferSize unsafe.Pointer, allocator corefoundation.CFAllocatorRef, options uint, errorString *corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOCFUnserializeWithSize is like IOCFUnserializeWithSize but returns an error instead of panicking if IOCFUnserializeWithSize is unavailable at run time.

func TryIOCancelPowerChange

func TryIOCancelPowerChange(kernelPort uint32, notificationID int) (kernel.IOReturn, error)

TryIOCancelPowerChange is like IOCancelPowerChange but returns an error instead of panicking if IOCancelPowerChange is unavailable at run time.

func TryIOCatalogueGetData

func TryIOCatalogueGetData(mainPort uint32, flag uint32, buffer string, size *uint32) (int32, error)

TryIOCatalogueGetData is like IOCatalogueGetData but returns an error instead of panicking if IOCatalogueGetData is unavailable at run time.

func TryIOCatalogueModuleLoaded

func TryIOCatalogueModuleLoaded(mainPort uint32, name string) (int32, error)

TryIOCatalogueModuleLoaded is like IOCatalogueModuleLoaded but returns an error instead of panicking if IOCatalogueModuleLoaded is unavailable at run time.

func TryIOCatalogueReset

func TryIOCatalogueReset(mainPort uint32, flag uint32) (int32, error)

TryIOCatalogueReset is like IOCatalogueReset but returns an error instead of panicking if IOCatalogueReset is unavailable at run time.

func TryIOCatalogueSendData

func TryIOCatalogueSendData(mainPort uint32, flag uint32, buffer string, size uint32) (int32, error)

TryIOCatalogueSendData is like IOCatalogueSendData but returns an error instead of panicking if IOCatalogueSendData is unavailable at run time.

func TryIOCatalogueTerminate

func TryIOCatalogueTerminate(mainPort uint32, flag uint32, description string) (int32, error)

TryIOCatalogueTerminate is like IOCatalogueTerminate but returns an error instead of panicking if IOCatalogueTerminate is unavailable at run time.

func TryIOConnectAddClient

func TryIOConnectAddClient(connect uint32, client uint32) (int32, error)

TryIOConnectAddClient is like IOConnectAddClient but returns an error instead of panicking if IOConnectAddClient is unavailable at run time.

func TryIOConnectAddRef

func TryIOConnectAddRef(connect uint32) (int32, error)

TryIOConnectAddRef is like IOConnectAddRef but returns an error instead of panicking if IOConnectAddRef is unavailable at run time.

func TryIOConnectCallAsyncMethod

func TryIOConnectCallAsyncMethod(connection uint32, selector uint32, wake_port uint32, reference *uint64, referenceCnt uint32, input *uint64, inputCnt uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, output *uint64, outputCnt *uint32, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) (int32, error)

TryIOConnectCallAsyncMethod is like IOConnectCallAsyncMethod but returns an error instead of panicking if IOConnectCallAsyncMethod is unavailable at run time.

func TryIOConnectCallAsyncScalarMethod

func TryIOConnectCallAsyncScalarMethod(connection uint32, selector uint32, wake_port uint32, reference *uint64, referenceCnt uint32, input *uint64, inputCnt uint32, output *uint64, outputCnt *uint32) (int32, error)

TryIOConnectCallAsyncScalarMethod is like IOConnectCallAsyncScalarMethod but returns an error instead of panicking if IOConnectCallAsyncScalarMethod is unavailable at run time.

func TryIOConnectCallAsyncStructMethod

func TryIOConnectCallAsyncStructMethod(connection uint32, selector uint32, wake_port uint32, reference *uint64, referenceCnt uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) (int32, error)

TryIOConnectCallAsyncStructMethod is like IOConnectCallAsyncStructMethod but returns an error instead of panicking if IOConnectCallAsyncStructMethod is unavailable at run time.

func TryIOConnectCallMethod

func TryIOConnectCallMethod(connection uint32, selector uint32, input *uint64, inputCnt uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, output *uint64, outputCnt *uint32, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) (int32, error)

TryIOConnectCallMethod is like IOConnectCallMethod but returns an error instead of panicking if IOConnectCallMethod is unavailable at run time.

func TryIOConnectCallScalarMethod

func TryIOConnectCallScalarMethod(connection uint32, selector uint32, input *uint64, inputCnt uint32, output *uint64, outputCnt *uint32) (int32, error)

TryIOConnectCallScalarMethod is like IOConnectCallScalarMethod but returns an error instead of panicking if IOConnectCallScalarMethod is unavailable at run time.

func TryIOConnectCallStructMethod

func TryIOConnectCallStructMethod(connection uint32, selector uint32, inputStruct unsafe.Pointer, inputStructCnt unsafe.Pointer, outputStruct unsafe.Pointer, outputStructCnt unsafe.Pointer) (int32, error)

TryIOConnectCallStructMethod is like IOConnectCallStructMethod but returns an error instead of panicking if IOConnectCallStructMethod is unavailable at run time.

func TryIOConnectGetService

func TryIOConnectGetService(connect uint32, service *uint32) (int32, error)

TryIOConnectGetService is like IOConnectGetService but returns an error instead of panicking if IOConnectGetService is unavailable at run time.

func TryIOConnectMapMemory

func TryIOConnectMapMemory(connect uint32, memoryType uint32, intoTask uint32, atAddress *uint64, ofSize *uint64, options uint32) (int32, error)

TryIOConnectMapMemory is like IOConnectMapMemory but returns an error instead of panicking if IOConnectMapMemory is unavailable at run time.

func TryIOConnectMapMemory64

func TryIOConnectMapMemory64(connect uint32, memoryType uint32, intoTask uint32, atAddress *uint64, ofSize *uint64, options uint32) (int32, error)

TryIOConnectMapMemory64 is like IOConnectMapMemory64 but returns an error instead of panicking if IOConnectMapMemory64 is unavailable at run time.

func TryIOConnectRelease

func TryIOConnectRelease(connect uint32) (int32, error)

TryIOConnectRelease is like IOConnectRelease but returns an error instead of panicking if IOConnectRelease is unavailable at run time.

func TryIOConnectSetCFProperties

func TryIOConnectSetCFProperties(connect uint32, properties corefoundation.CFTypeRef) (int32, error)

TryIOConnectSetCFProperties is like IOConnectSetCFProperties but returns an error instead of panicking if IOConnectSetCFProperties is unavailable at run time.

func TryIOConnectSetCFProperty

func TryIOConnectSetCFProperty(connect uint32, propertyName corefoundation.CFStringRef, property corefoundation.CFTypeRef) (int32, error)

TryIOConnectSetCFProperty is like IOConnectSetCFProperty but returns an error instead of panicking if IOConnectSetCFProperty is unavailable at run time.

func TryIOConnectSetNotificationPort

func TryIOConnectSetNotificationPort(connect uint32, type_ uint32, port uint32, reference unsafe.Pointer) (int32, error)

TryIOConnectSetNotificationPort is like IOConnectSetNotificationPort but returns an error instead of panicking if IOConnectSetNotificationPort is unavailable at run time.

func TryIOConnectTrap0

func TryIOConnectTrap0(connect uint32, index uint32) (int32, error)

TryIOConnectTrap0 is like IOConnectTrap0 but returns an error instead of panicking if IOConnectTrap0 is unavailable at run time.

func TryIOConnectTrap1

func TryIOConnectTrap1(connect uint32, index uint32, p1 unsafe.Pointer) (int32, error)

TryIOConnectTrap1 is like IOConnectTrap1 but returns an error instead of panicking if IOConnectTrap1 is unavailable at run time.

func TryIOConnectTrap2

func TryIOConnectTrap2(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer) (int32, error)

TryIOConnectTrap2 is like IOConnectTrap2 but returns an error instead of panicking if IOConnectTrap2 is unavailable at run time.

func TryIOConnectTrap3

func TryIOConnectTrap3(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer) (int32, error)

TryIOConnectTrap3 is like IOConnectTrap3 but returns an error instead of panicking if IOConnectTrap3 is unavailable at run time.

func TryIOConnectTrap4

func TryIOConnectTrap4(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer, p4 unsafe.Pointer) (int32, error)

TryIOConnectTrap4 is like IOConnectTrap4 but returns an error instead of panicking if IOConnectTrap4 is unavailable at run time.

func TryIOConnectTrap5

func TryIOConnectTrap5(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer, p4 unsafe.Pointer, p5 unsafe.Pointer) (int32, error)

TryIOConnectTrap5 is like IOConnectTrap5 but returns an error instead of panicking if IOConnectTrap5 is unavailable at run time.

func TryIOConnectTrap6

func TryIOConnectTrap6(connect uint32, index uint32, p1 unsafe.Pointer, p2 unsafe.Pointer, p3 unsafe.Pointer, p4 unsafe.Pointer, p5 unsafe.Pointer, p6 unsafe.Pointer) (int32, error)

TryIOConnectTrap6 is like IOConnectTrap6 but returns an error instead of panicking if IOConnectTrap6 is unavailable at run time.

func TryIOConnectUnmapMemory

func TryIOConnectUnmapMemory(connect uint32, memoryType uint32, fromTask uint32, atAddress uint64) (int32, error)

TryIOConnectUnmapMemory is like IOConnectUnmapMemory but returns an error instead of panicking if IOConnectUnmapMemory is unavailable at run time.

func TryIOConnectUnmapMemory64

func TryIOConnectUnmapMemory64(connect uint32, memoryType uint32, fromTask uint32, atAddress uint64) (int32, error)

TryIOConnectUnmapMemory64 is like IOConnectUnmapMemory64 but returns an error instead of panicking if IOConnectUnmapMemory64 is unavailable at run time.

func TryIOCopySystemLoadAdvisoryDetailed

func TryIOCopySystemLoadAdvisoryDetailed() (corefoundation.CFDictionaryRef, error)

TryIOCopySystemLoadAdvisoryDetailed is like IOCopySystemLoadAdvisoryDetailed but returns an error instead of panicking if IOCopySystemLoadAdvisoryDetailed is unavailable at run time.

func TryIOCreatePlugInInterfaceForService

func TryIOCreatePlugInInterfaceForService(service uint32, pluginType corefoundation.CFUUIDRef, interfaceType corefoundation.CFUUIDRef, theInterface *IOCFPlugInInterface, theScore int32) (int32, error)

TryIOCreatePlugInInterfaceForService is like IOCreatePlugInInterfaceForService but returns an error instead of panicking if IOCreatePlugInInterfaceForService is unavailable at run time.

func TryIOCreateReceivePort

func TryIOCreateReceivePort(msgType uint32, recvPort *uint32) (int32, error)

TryIOCreateReceivePort is like IOCreateReceivePort but returns an error instead of panicking if IOCreateReceivePort is unavailable at run time.

func TryIODataQueueAllocateNotificationPort

func TryIODataQueueAllocateNotificationPort() (uint32, error)

TryIODataQueueAllocateNotificationPort is like IODataQueueAllocateNotificationPort but returns an error instead of panicking if IODataQueueAllocateNotificationPort is unavailable at run time.

func TryIODataQueueDataAvailable

func TryIODataQueueDataAvailable(dataQueue *IODataQueueMemory) (bool, error)

TryIODataQueueDataAvailable is like IODataQueueDataAvailable but returns an error instead of panicking if IODataQueueDataAvailable is unavailable at run time.

func TryIODataQueueDequeue

func TryIODataQueueDequeue(dataQueue *IODataQueueMemory, data unsafe.Pointer, dataSize *uint32) (kernel.IOReturn, error)

TryIODataQueueDequeue is like IODataQueueDequeue but returns an error instead of panicking if IODataQueueDequeue is unavailable at run time.

func TryIODataQueueEnqueue

func TryIODataQueueEnqueue(dataQueue *IODataQueueMemory, data unsafe.Pointer, dataSize uint32) (kernel.IOReturn, error)

TryIODataQueueEnqueue is like IODataQueueEnqueue but returns an error instead of panicking if IODataQueueEnqueue is unavailable at run time.

func TryIODataQueueSetNotificationPort

func TryIODataQueueSetNotificationPort(dataQueue *IODataQueueMemory, notifyPort uint32) (kernel.IOReturn, error)

TryIODataQueueSetNotificationPort is like IODataQueueSetNotificationPort but returns an error instead of panicking if IODataQueueSetNotificationPort is unavailable at run time.

func TryIODataQueueWaitForAvailableData

func TryIODataQueueWaitForAvailableData(dataQueue *IODataQueueMemory, notificationPort uint32) (kernel.IOReturn, error)

TryIODataQueueWaitForAvailableData is like IODataQueueWaitForAvailableData but returns an error instead of panicking if IODataQueueWaitForAvailableData is unavailable at run time.

func TryIODeregisterApp

func TryIODeregisterApp(notifier *uint32) (kernel.IOReturn, error)

TryIODeregisterApp is like IODeregisterApp but returns an error instead of panicking if IODeregisterApp is unavailable at run time.

func TryIODeregisterForSystemPower

func TryIODeregisterForSystemPower(notifier *uint32) (kernel.IOReturn, error)

TryIODeregisterForSystemPower is like IODeregisterForSystemPower but returns an error instead of panicking if IODeregisterForSystemPower is unavailable at run time.

func TryIODestroyPlugInInterface

func TryIODestroyPlugInInterface(interface_ *IOCFPlugInInterface) (int32, error)

TryIODestroyPlugInInterface is like IODestroyPlugInInterface but returns an error instead of panicking if IODestroyPlugInInterface is unavailable at run time.

func TryIODispatchCalloutFromMessage

func TryIODispatchCalloutFromMessage(unused unsafe.Pointer, msg unsafe.Pointer, reference unsafe.Pointer) error

TryIODispatchCalloutFromMessage is like IODispatchCalloutFromMessage but returns an error instead of panicking if IODispatchCalloutFromMessage is unavailable at run time.

func TryIODisplayCommitParameters

func TryIODisplayCommitParameters(service uint32, options uint32) (kernel.IOReturn, error)

TryIODisplayCommitParameters is like IODisplayCommitParameters but returns an error instead of panicking if IODisplayCommitParameters is unavailable at run time.

func TryIODisplayCopyFloatParameters

func TryIODisplayCopyFloatParameters(service uint32, options uint32, params *corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIODisplayCopyFloatParameters is like IODisplayCopyFloatParameters but returns an error instead of panicking if IODisplayCopyFloatParameters is unavailable at run time.

func TryIODisplayCopyParameters

func TryIODisplayCopyParameters(service uint32, options uint32, params *corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIODisplayCopyParameters is like IODisplayCopyParameters but returns an error instead of panicking if IODisplayCopyParameters is unavailable at run time.

func TryIODisplayCreateInfoDictionary

func TryIODisplayCreateInfoDictionary(framebuffer uint32, options uint32) (corefoundation.CFDictionaryRef, error)

TryIODisplayCreateInfoDictionary is like IODisplayCreateInfoDictionary but returns an error instead of panicking if IODisplayCreateInfoDictionary is unavailable at run time.

func TryIODisplayForFramebuffer

func TryIODisplayForFramebuffer(framebuffer uint32, options uint32) (uint32, error)

TryIODisplayForFramebuffer is like IODisplayForFramebuffer but returns an error instead of panicking if IODisplayForFramebuffer is unavailable at run time.

func TryIODisplayGetFloatParameter

func TryIODisplayGetFloatParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value []float32) (kernel.IOReturn, error)

TryIODisplayGetFloatParameter is like IODisplayGetFloatParameter but returns an error instead of panicking if IODisplayGetFloatParameter is unavailable at run time.

func TryIODisplayGetIntegerRangeParameter

func TryIODisplayGetIntegerRangeParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value *int32, min *int32, max *int32) (kernel.IOReturn, error)

TryIODisplayGetIntegerRangeParameter is like IODisplayGetIntegerRangeParameter but returns an error instead of panicking if IODisplayGetIntegerRangeParameter is unavailable at run time.

func TryIODisplayMatchDictionaries

func TryIODisplayMatchDictionaries(matching1 corefoundation.CFDictionaryRef, matching2 corefoundation.CFDictionaryRef, options uint32) (int32, error)

TryIODisplayMatchDictionaries is like IODisplayMatchDictionaries but returns an error instead of panicking if IODisplayMatchDictionaries is unavailable at run time.

func TryIODisplaySetFloatParameter

func TryIODisplaySetFloatParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value float32) (kernel.IOReturn, error)

TryIODisplaySetFloatParameter is like IODisplaySetFloatParameter but returns an error instead of panicking if IODisplaySetFloatParameter is unavailable at run time.

func TryIODisplaySetIntegerParameter

func TryIODisplaySetIntegerParameter(service uint32, options uint32, parameterName corefoundation.CFStringRef, value int32) (kernel.IOReturn, error)

TryIODisplaySetIntegerParameter is like IODisplaySetIntegerParameter but returns an error instead of panicking if IODisplaySetIntegerParameter is unavailable at run time.

func TryIODisplaySetParameters

func TryIODisplaySetParameters(service uint32, options uint32, params corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIODisplaySetParameters is like IODisplaySetParameters but returns an error instead of panicking if IODisplaySetParameters is unavailable at run time.

func TryIOFBCopyI2CInterfaceForBus

func TryIOFBCopyI2CInterfaceForBus(framebuffer uint32, bus uint32, interface_ *uint32) (kernel.IOReturn, error)

TryIOFBCopyI2CInterfaceForBus is like IOFBCopyI2CInterfaceForBus but returns an error instead of panicking if IOFBCopyI2CInterfaceForBus is unavailable at run time.

func TryIOFBGetI2CInterfaceCount

func TryIOFBGetI2CInterfaceCount(framebuffer uint32, count *uint32) (kernel.IOReturn, error)

TryIOFBGetI2CInterfaceCount is like IOFBGetI2CInterfaceCount but returns an error instead of panicking if IOFBGetI2CInterfaceCount is unavailable at run time.

func TryIOFramebufferOpen

func TryIOFramebufferOpen(service uint32, owningTask uint32, type_ uint32, connect *uint32) (int32, error)

TryIOFramebufferOpen is like IOFramebufferOpen but returns an error instead of panicking if IOFramebufferOpen is unavailable at run time.

func TryIOHIDAccessCheckAuditToken

func TryIOHIDAccessCheckAuditToken(requestType IOHIDRequestType, token [32]byte) (bool, error)

TryIOHIDAccessCheckAuditToken is like IOHIDAccessCheckAuditToken but returns an error instead of panicking if IOHIDAccessCheckAuditToken is unavailable at run time.

func TryIOHIDCopyCFTypeParameter

func TryIOHIDCopyCFTypeParameter(handle uint32, key corefoundation.CFStringRef, parameter *corefoundation.CFTypeRef) (int32, error)

TryIOHIDCopyCFTypeParameter is like IOHIDCopyCFTypeParameter but returns an error instead of panicking if IOHIDCopyCFTypeParameter is unavailable at run time.

func TryIOHIDCreateSharedMemory

func TryIOHIDCreateSharedMemory(connect uint32, version uint32) (int32, error)

TryIOHIDCreateSharedMemory is like IOHIDCreateSharedMemory but returns an error instead of panicking if IOHIDCreateSharedMemory is unavailable at run time.

func TryIOHIDDeviceActivate

func TryIOHIDDeviceActivate(device IOHIDDeviceRef) error

TryIOHIDDeviceActivate is like IOHIDDeviceActivate but returns an error instead of panicking if IOHIDDeviceActivate is unavailable at run time.

func TryIOHIDDeviceCancel

func TryIOHIDDeviceCancel(device IOHIDDeviceRef) error

TryIOHIDDeviceCancel is like IOHIDDeviceCancel but returns an error instead of panicking if IOHIDDeviceCancel is unavailable at run time.

func TryIOHIDDeviceClose

func TryIOHIDDeviceClose(device IOHIDDeviceRef, options uint32) (kernel.IOReturn, error)

TryIOHIDDeviceClose is like IOHIDDeviceClose but returns an error instead of panicking if IOHIDDeviceClose is unavailable at run time.

func TryIOHIDDeviceConformsTo

func TryIOHIDDeviceConformsTo(device IOHIDDeviceRef, usagePage uint32, usage uint32) (bool, error)

TryIOHIDDeviceConformsTo is like IOHIDDeviceConformsTo but returns an error instead of panicking if IOHIDDeviceConformsTo is unavailable at run time.

func TryIOHIDDeviceCopyMatchingElements

func TryIOHIDDeviceCopyMatchingElements(device IOHIDDeviceRef, matching corefoundation.CFDictionaryRef, options uint32) (corefoundation.CFArrayRef, error)

TryIOHIDDeviceCopyMatchingElements is like IOHIDDeviceCopyMatchingElements but returns an error instead of panicking if IOHIDDeviceCopyMatchingElements is unavailable at run time.

func TryIOHIDDeviceCopyValueMultiple

func TryIOHIDDeviceCopyValueMultiple(device IOHIDDeviceRef, elements corefoundation.CFArrayRef, pMultiple *corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIOHIDDeviceCopyValueMultiple is like IOHIDDeviceCopyValueMultiple but returns an error instead of panicking if IOHIDDeviceCopyValueMultiple is unavailable at run time.

func TryIOHIDDeviceCopyValueMultipleWithCallback

func TryIOHIDDeviceCopyValueMultipleWithCallback(device IOHIDDeviceRef, elements corefoundation.CFArrayRef, pMultiple *corefoundation.CFDictionaryRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) (kernel.IOReturn, error)

TryIOHIDDeviceCopyValueMultipleWithCallback is like IOHIDDeviceCopyValueMultipleWithCallback but returns an error instead of panicking if IOHIDDeviceCopyValueMultipleWithCallback is unavailable at run time.

func TryIOHIDDeviceGetProperty

func TryIOHIDDeviceGetProperty(device IOHIDDeviceRef, key corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOHIDDeviceGetProperty is like IOHIDDeviceGetProperty but returns an error instead of panicking if IOHIDDeviceGetProperty is unavailable at run time.

func TryIOHIDDeviceGetReport

func TryIOHIDDeviceGetReport(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, pReportLength *int) (kernel.IOReturn, error)

TryIOHIDDeviceGetReport is like IOHIDDeviceGetReport but returns an error instead of panicking if IOHIDDeviceGetReport is unavailable at run time.

func TryIOHIDDeviceGetReportWithCallback

func TryIOHIDDeviceGetReportWithCallback(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, pReportLength *int, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) (kernel.IOReturn, error)

TryIOHIDDeviceGetReportWithCallback is like IOHIDDeviceGetReportWithCallback but returns an error instead of panicking if IOHIDDeviceGetReportWithCallback is unavailable at run time.

func TryIOHIDDeviceGetService

func TryIOHIDDeviceGetService(device IOHIDDeviceRef) (uint32, error)

TryIOHIDDeviceGetService is like IOHIDDeviceGetService but returns an error instead of panicking if IOHIDDeviceGetService is unavailable at run time.

func TryIOHIDDeviceGetTypeID

func TryIOHIDDeviceGetTypeID() (uint, error)

TryIOHIDDeviceGetTypeID is like IOHIDDeviceGetTypeID but returns an error instead of panicking if IOHIDDeviceGetTypeID is unavailable at run time.

func TryIOHIDDeviceGetValue

func TryIOHIDDeviceGetValue(device IOHIDDeviceRef, element IOHIDElementRef, pValue *IOHIDValueRef) (kernel.IOReturn, error)

TryIOHIDDeviceGetValue is like IOHIDDeviceGetValue but returns an error instead of panicking if IOHIDDeviceGetValue is unavailable at run time.

func TryIOHIDDeviceGetValueWithCallback

func TryIOHIDDeviceGetValueWithCallback(device IOHIDDeviceRef, element IOHIDElementRef, pValue *IOHIDValueRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) (kernel.IOReturn, error)

TryIOHIDDeviceGetValueWithCallback is like IOHIDDeviceGetValueWithCallback but returns an error instead of panicking if IOHIDDeviceGetValueWithCallback is unavailable at run time.

func TryIOHIDDeviceGetValueWithOptions

func TryIOHIDDeviceGetValueWithOptions(device IOHIDDeviceRef, element IOHIDElementRef, pValue *IOHIDValueRef, options uint32) (kernel.IOReturn, error)

TryIOHIDDeviceGetValueWithOptions is like IOHIDDeviceGetValueWithOptions but returns an error instead of panicking if IOHIDDeviceGetValueWithOptions is unavailable at run time.

func TryIOHIDDeviceOpen

func TryIOHIDDeviceOpen(device IOHIDDeviceRef, options uint32) (kernel.IOReturn, error)

TryIOHIDDeviceOpen is like IOHIDDeviceOpen but returns an error instead of panicking if IOHIDDeviceOpen is unavailable at run time.

func TryIOHIDDeviceRegisterInputReportCallback

func TryIOHIDDeviceRegisterInputReportCallback(device IOHIDDeviceRef, report []byte, reportLength corefoundation.CFIndex, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDDeviceRegisterInputReportCallback is like IOHIDDeviceRegisterInputReportCallback but returns an error instead of panicking if IOHIDDeviceRegisterInputReportCallback is unavailable at run time.

func TryIOHIDDeviceRegisterInputReportWithTimeStampCallback

func TryIOHIDDeviceRegisterInputReportWithTimeStampCallback(device IOHIDDeviceRef, report []byte, reportLength corefoundation.CFIndex, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDDeviceRegisterInputReportWithTimeStampCallback is like IOHIDDeviceRegisterInputReportWithTimeStampCallback but returns an error instead of panicking if IOHIDDeviceRegisterInputReportWithTimeStampCallback is unavailable at run time.

func TryIOHIDDeviceRegisterInputValueCallback

func TryIOHIDDeviceRegisterInputValueCallback(device IOHIDDeviceRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDDeviceRegisterInputValueCallback is like IOHIDDeviceRegisterInputValueCallback but returns an error instead of panicking if IOHIDDeviceRegisterInputValueCallback is unavailable at run time.

func TryIOHIDDeviceRegisterRemovalCallback

func TryIOHIDDeviceRegisterRemovalCallback(device IOHIDDeviceRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDDeviceRegisterRemovalCallback is like IOHIDDeviceRegisterRemovalCallback but returns an error instead of panicking if IOHIDDeviceRegisterRemovalCallback is unavailable at run time.

func TryIOHIDDeviceScheduleWithRunLoop

func TryIOHIDDeviceScheduleWithRunLoop(device IOHIDDeviceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDDeviceScheduleWithRunLoop is like IOHIDDeviceScheduleWithRunLoop but returns an error instead of panicking if IOHIDDeviceScheduleWithRunLoop is unavailable at run time.

func TryIOHIDDeviceSetCancelHandler

func TryIOHIDDeviceSetCancelHandler(device IOHIDDeviceRef, handler unsafe.Pointer) error

TryIOHIDDeviceSetCancelHandler is like IOHIDDeviceSetCancelHandler but returns an error instead of panicking if IOHIDDeviceSetCancelHandler is unavailable at run time.

func TryIOHIDDeviceSetDispatchQueue

func TryIOHIDDeviceSetDispatchQueue(device IOHIDDeviceRef, queue dispatch.Queue) error

TryIOHIDDeviceSetDispatchQueue is like IOHIDDeviceSetDispatchQueue but returns an error instead of panicking if IOHIDDeviceSetDispatchQueue is unavailable at run time.

func TryIOHIDDeviceSetInputValueMatching

func TryIOHIDDeviceSetInputValueMatching(device IOHIDDeviceRef, matching corefoundation.CFDictionaryRef) error

TryIOHIDDeviceSetInputValueMatching is like IOHIDDeviceSetInputValueMatching but returns an error instead of panicking if IOHIDDeviceSetInputValueMatching is unavailable at run time.

func TryIOHIDDeviceSetInputValueMatchingMultiple

func TryIOHIDDeviceSetInputValueMatchingMultiple(device IOHIDDeviceRef, multiple corefoundation.CFArrayRef) error

TryIOHIDDeviceSetInputValueMatchingMultiple is like IOHIDDeviceSetInputValueMatchingMultiple but returns an error instead of panicking if IOHIDDeviceSetInputValueMatchingMultiple is unavailable at run time.

func TryIOHIDDeviceSetProperty

func TryIOHIDDeviceSetProperty(device IOHIDDeviceRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) (bool, error)

TryIOHIDDeviceSetProperty is like IOHIDDeviceSetProperty but returns an error instead of panicking if IOHIDDeviceSetProperty is unavailable at run time.

func TryIOHIDDeviceSetReport

func TryIOHIDDeviceSetReport(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, reportLength corefoundation.CFIndex) (kernel.IOReturn, error)

TryIOHIDDeviceSetReport is like IOHIDDeviceSetReport but returns an error instead of panicking if IOHIDDeviceSetReport is unavailable at run time.

func TryIOHIDDeviceSetReportWithCallback

func TryIOHIDDeviceSetReportWithCallback(device IOHIDDeviceRef, reportType IOHIDReportType, reportID corefoundation.CFIndex, report []byte, reportLength corefoundation.CFIndex, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) (kernel.IOReturn, error)

TryIOHIDDeviceSetReportWithCallback is like IOHIDDeviceSetReportWithCallback but returns an error instead of panicking if IOHIDDeviceSetReportWithCallback is unavailable at run time.

func TryIOHIDDeviceSetValue

func TryIOHIDDeviceSetValue(device IOHIDDeviceRef, element IOHIDElementRef, value IOHIDValueRef) (kernel.IOReturn, error)

TryIOHIDDeviceSetValue is like IOHIDDeviceSetValue but returns an error instead of panicking if IOHIDDeviceSetValue is unavailable at run time.

func TryIOHIDDeviceSetValueMultiple

func TryIOHIDDeviceSetValueMultiple(device IOHIDDeviceRef, multiple corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIOHIDDeviceSetValueMultiple is like IOHIDDeviceSetValueMultiple but returns an error instead of panicking if IOHIDDeviceSetValueMultiple is unavailable at run time.

func TryIOHIDDeviceSetValueMultipleWithCallback

func TryIOHIDDeviceSetValueMultipleWithCallback(device IOHIDDeviceRef, multiple corefoundation.CFDictionaryRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) (kernel.IOReturn, error)

TryIOHIDDeviceSetValueMultipleWithCallback is like IOHIDDeviceSetValueMultipleWithCallback but returns an error instead of panicking if IOHIDDeviceSetValueMultipleWithCallback is unavailable at run time.

func TryIOHIDDeviceSetValueWithCallback

func TryIOHIDDeviceSetValueWithCallback(device IOHIDDeviceRef, element IOHIDElementRef, value IOHIDValueRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) (kernel.IOReturn, error)

TryIOHIDDeviceSetValueWithCallback is like IOHIDDeviceSetValueWithCallback but returns an error instead of panicking if IOHIDDeviceSetValueWithCallback is unavailable at run time.

func TryIOHIDDeviceUnscheduleFromRunLoop

func TryIOHIDDeviceUnscheduleFromRunLoop(device IOHIDDeviceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDDeviceUnscheduleFromRunLoop is like IOHIDDeviceUnscheduleFromRunLoop but returns an error instead of panicking if IOHIDDeviceUnscheduleFromRunLoop is unavailable at run time.

func TryIOHIDElementAttach

func TryIOHIDElementAttach(element IOHIDElementRef, toAttach IOHIDElementRef) error

TryIOHIDElementAttach is like IOHIDElementAttach but returns an error instead of panicking if IOHIDElementAttach is unavailable at run time.

func TryIOHIDElementCopyAttached

func TryIOHIDElementCopyAttached(element IOHIDElementRef) (corefoundation.CFArrayRef, error)

TryIOHIDElementCopyAttached is like IOHIDElementCopyAttached but returns an error instead of panicking if IOHIDElementCopyAttached is unavailable at run time.

func TryIOHIDElementDetach

func TryIOHIDElementDetach(element IOHIDElementRef, toDetach IOHIDElementRef) error

TryIOHIDElementDetach is like IOHIDElementDetach but returns an error instead of panicking if IOHIDElementDetach is unavailable at run time.

func TryIOHIDElementGetChildren

func TryIOHIDElementGetChildren(element IOHIDElementRef) (corefoundation.CFArrayRef, error)

TryIOHIDElementGetChildren is like IOHIDElementGetChildren but returns an error instead of panicking if IOHIDElementGetChildren is unavailable at run time.

func TryIOHIDElementGetCookie

func TryIOHIDElementGetCookie(element IOHIDElementRef) (kernel.IOHIDElementCookie, error)

TryIOHIDElementGetCookie is like IOHIDElementGetCookie but returns an error instead of panicking if IOHIDElementGetCookie is unavailable at run time.

func TryIOHIDElementGetLogicalMax

func TryIOHIDElementGetLogicalMax(element IOHIDElementRef) (corefoundation.CFIndex, error)

TryIOHIDElementGetLogicalMax is like IOHIDElementGetLogicalMax but returns an error instead of panicking if IOHIDElementGetLogicalMax is unavailable at run time.

func TryIOHIDElementGetLogicalMin

func TryIOHIDElementGetLogicalMin(element IOHIDElementRef) (corefoundation.CFIndex, error)

TryIOHIDElementGetLogicalMin is like IOHIDElementGetLogicalMin but returns an error instead of panicking if IOHIDElementGetLogicalMin is unavailable at run time.

func TryIOHIDElementGetName

func TryIOHIDElementGetName(element IOHIDElementRef) (corefoundation.CFStringRef, error)

TryIOHIDElementGetName is like IOHIDElementGetName but returns an error instead of panicking if IOHIDElementGetName is unavailable at run time.

func TryIOHIDElementGetPhysicalMax

func TryIOHIDElementGetPhysicalMax(element IOHIDElementRef) (corefoundation.CFIndex, error)

TryIOHIDElementGetPhysicalMax is like IOHIDElementGetPhysicalMax but returns an error instead of panicking if IOHIDElementGetPhysicalMax is unavailable at run time.

func TryIOHIDElementGetPhysicalMin

func TryIOHIDElementGetPhysicalMin(element IOHIDElementRef) (corefoundation.CFIndex, error)

TryIOHIDElementGetPhysicalMin is like IOHIDElementGetPhysicalMin but returns an error instead of panicking if IOHIDElementGetPhysicalMin is unavailable at run time.

func TryIOHIDElementGetProperty

func TryIOHIDElementGetProperty(element IOHIDElementRef, key corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOHIDElementGetProperty is like IOHIDElementGetProperty but returns an error instead of panicking if IOHIDElementGetProperty is unavailable at run time.

func TryIOHIDElementGetReportCount

func TryIOHIDElementGetReportCount(element IOHIDElementRef) (uint32, error)

TryIOHIDElementGetReportCount is like IOHIDElementGetReportCount but returns an error instead of panicking if IOHIDElementGetReportCount is unavailable at run time.

func TryIOHIDElementGetReportID

func TryIOHIDElementGetReportID(element IOHIDElementRef) (uint32, error)

TryIOHIDElementGetReportID is like IOHIDElementGetReportID but returns an error instead of panicking if IOHIDElementGetReportID is unavailable at run time.

func TryIOHIDElementGetReportSize

func TryIOHIDElementGetReportSize(element IOHIDElementRef) (uint32, error)

TryIOHIDElementGetReportSize is like IOHIDElementGetReportSize but returns an error instead of panicking if IOHIDElementGetReportSize is unavailable at run time.

func TryIOHIDElementGetTypeID

func TryIOHIDElementGetTypeID() (uint, error)

TryIOHIDElementGetTypeID is like IOHIDElementGetTypeID but returns an error instead of panicking if IOHIDElementGetTypeID is unavailable at run time.

func TryIOHIDElementGetUnit

func TryIOHIDElementGetUnit(element IOHIDElementRef) (uint32, error)

TryIOHIDElementGetUnit is like IOHIDElementGetUnit but returns an error instead of panicking if IOHIDElementGetUnit is unavailable at run time.

func TryIOHIDElementGetUnitExponent

func TryIOHIDElementGetUnitExponent(element IOHIDElementRef) (uint32, error)

TryIOHIDElementGetUnitExponent is like IOHIDElementGetUnitExponent but returns an error instead of panicking if IOHIDElementGetUnitExponent is unavailable at run time.

func TryIOHIDElementGetUsage

func TryIOHIDElementGetUsage(element IOHIDElementRef) (uint32, error)

TryIOHIDElementGetUsage is like IOHIDElementGetUsage but returns an error instead of panicking if IOHIDElementGetUsage is unavailable at run time.

func TryIOHIDElementGetUsagePage

func TryIOHIDElementGetUsagePage(element IOHIDElementRef) (uint32, error)

TryIOHIDElementGetUsagePage is like IOHIDElementGetUsagePage but returns an error instead of panicking if IOHIDElementGetUsagePage is unavailable at run time.

func TryIOHIDElementHasNullState

func TryIOHIDElementHasNullState(element IOHIDElementRef) (bool, error)

TryIOHIDElementHasNullState is like IOHIDElementHasNullState but returns an error instead of panicking if IOHIDElementHasNullState is unavailable at run time.

func TryIOHIDElementHasPreferredState

func TryIOHIDElementHasPreferredState(element IOHIDElementRef) (bool, error)

TryIOHIDElementHasPreferredState is like IOHIDElementHasPreferredState but returns an error instead of panicking if IOHIDElementHasPreferredState is unavailable at run time.

func TryIOHIDElementIsArray

func TryIOHIDElementIsArray(element IOHIDElementRef) (bool, error)

TryIOHIDElementIsArray is like IOHIDElementIsArray but returns an error instead of panicking if IOHIDElementIsArray is unavailable at run time.

func TryIOHIDElementIsNonLinear

func TryIOHIDElementIsNonLinear(element IOHIDElementRef) (bool, error)

TryIOHIDElementIsNonLinear is like IOHIDElementIsNonLinear but returns an error instead of panicking if IOHIDElementIsNonLinear is unavailable at run time.

func TryIOHIDElementIsRelative

func TryIOHIDElementIsRelative(element IOHIDElementRef) (bool, error)

TryIOHIDElementIsRelative is like IOHIDElementIsRelative but returns an error instead of panicking if IOHIDElementIsRelative is unavailable at run time.

func TryIOHIDElementIsVirtual

func TryIOHIDElementIsVirtual(element IOHIDElementRef) (bool, error)

TryIOHIDElementIsVirtual is like IOHIDElementIsVirtual but returns an error instead of panicking if IOHIDElementIsVirtual is unavailable at run time.

func TryIOHIDElementIsWrapping

func TryIOHIDElementIsWrapping(element IOHIDElementRef) (bool, error)

TryIOHIDElementIsWrapping is like IOHIDElementIsWrapping but returns an error instead of panicking if IOHIDElementIsWrapping is unavailable at run time.

func TryIOHIDElementSetProperty

func TryIOHIDElementSetProperty(element IOHIDElementRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) (bool, error)

TryIOHIDElementSetProperty is like IOHIDElementSetProperty but returns an error instead of panicking if IOHIDElementSetProperty is unavailable at run time.

func TryIOHIDEventSystemClientCopyProperty

func TryIOHIDEventSystemClientCopyProperty(client IOHIDEventSystemClientRef, key corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOHIDEventSystemClientCopyProperty is like IOHIDEventSystemClientCopyProperty but returns an error instead of panicking if IOHIDEventSystemClientCopyProperty is unavailable at run time.

func TryIOHIDEventSystemClientCopyServices

func TryIOHIDEventSystemClientCopyServices(client IOHIDEventSystemClientRef) (corefoundation.CFArrayRef, error)

TryIOHIDEventSystemClientCopyServices is like IOHIDEventSystemClientCopyServices but returns an error instead of panicking if IOHIDEventSystemClientCopyServices is unavailable at run time.

func TryIOHIDEventSystemClientGetTypeID

func TryIOHIDEventSystemClientGetTypeID() (uint, error)

TryIOHIDEventSystemClientGetTypeID is like IOHIDEventSystemClientGetTypeID but returns an error instead of panicking if IOHIDEventSystemClientGetTypeID is unavailable at run time.

func TryIOHIDEventSystemClientSetProperty

func TryIOHIDEventSystemClientSetProperty(client IOHIDEventSystemClientRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) (bool, error)

TryIOHIDEventSystemClientSetProperty is like IOHIDEventSystemClientSetProperty but returns an error instead of panicking if IOHIDEventSystemClientSetProperty is unavailable at run time.

func TryIOHIDGetAccelerationWithKey

func TryIOHIDGetAccelerationWithKey(handle uint32, key corefoundation.CFStringRef, acceleration []float64) (int32, error)

TryIOHIDGetAccelerationWithKey is like IOHIDGetAccelerationWithKey but returns an error instead of panicking if IOHIDGetAccelerationWithKey is unavailable at run time.

func TryIOHIDGetActivityState

func TryIOHIDGetActivityState(handle uint32, hidActivityIdle *bool) (int32, error)

TryIOHIDGetActivityState is like IOHIDGetActivityState but returns an error instead of panicking if IOHIDGetActivityState is unavailable at run time.

func TryIOHIDGetButtonEventNum

func TryIOHIDGetButtonEventNum(connect uint32, button NXMouseButton, eventNum *int32) (int32, error)

TryIOHIDGetButtonEventNum is like IOHIDGetButtonEventNum but returns an error instead of panicking if IOHIDGetButtonEventNum is unavailable at run time.

func TryIOHIDGetModifierLockState

func TryIOHIDGetModifierLockState(handle uint32, selector int32, state *bool) (int32, error)

TryIOHIDGetModifierLockState is like IOHIDGetModifierLockState but returns an error instead of panicking if IOHIDGetModifierLockState is unavailable at run time.

func TryIOHIDGetMouseAcceleration

func TryIOHIDGetMouseAcceleration(handle uint32, acceleration []float64) (int32, error)

TryIOHIDGetMouseAcceleration is like IOHIDGetMouseAcceleration but returns an error instead of panicking if IOHIDGetMouseAcceleration is unavailable at run time.

func TryIOHIDGetMouseButtonMode

func TryIOHIDGetMouseButtonMode(handle uint32, mode *int32) (int32, error)

TryIOHIDGetMouseButtonMode is like IOHIDGetMouseButtonMode but returns an error instead of panicking if IOHIDGetMouseButtonMode is unavailable at run time.

func TryIOHIDGetParameter

func TryIOHIDGetParameter(handle uint32, key corefoundation.CFStringRef, maxSize uint, bytes unsafe.Pointer, actualSize *uint) (int32, error)

TryIOHIDGetParameter is like IOHIDGetParameter but returns an error instead of panicking if IOHIDGetParameter is unavailable at run time.

func TryIOHIDGetScrollAcceleration

func TryIOHIDGetScrollAcceleration(handle uint32, acceleration []float64) (int32, error)

TryIOHIDGetScrollAcceleration is like IOHIDGetScrollAcceleration but returns an error instead of panicking if IOHIDGetScrollAcceleration is unavailable at run time.

func TryIOHIDGetStateForSelector

func TryIOHIDGetStateForSelector(handle uint32, selector int32, state *uint32) (int32, error)

TryIOHIDGetStateForSelector is like IOHIDGetStateForSelector but returns an error instead of panicking if IOHIDGetStateForSelector is unavailable at run time.

func TryIOHIDManagerActivate

func TryIOHIDManagerActivate(manager IOHIDManagerRef) error

TryIOHIDManagerActivate is like IOHIDManagerActivate but returns an error instead of panicking if IOHIDManagerActivate is unavailable at run time.

func TryIOHIDManagerCancel

func TryIOHIDManagerCancel(manager IOHIDManagerRef) error

TryIOHIDManagerCancel is like IOHIDManagerCancel but returns an error instead of panicking if IOHIDManagerCancel is unavailable at run time.

func TryIOHIDManagerClose

func TryIOHIDManagerClose(manager IOHIDManagerRef, options uint32) (kernel.IOReturn, error)

TryIOHIDManagerClose is like IOHIDManagerClose but returns an error instead of panicking if IOHIDManagerClose is unavailable at run time.

func TryIOHIDManagerCopyDevices

func TryIOHIDManagerCopyDevices(manager IOHIDManagerRef) (corefoundation.CFSet, error)

TryIOHIDManagerCopyDevices is like IOHIDManagerCopyDevices but returns an error instead of panicking if IOHIDManagerCopyDevices is unavailable at run time.

func TryIOHIDManagerGetProperty

func TryIOHIDManagerGetProperty(manager IOHIDManagerRef, key corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOHIDManagerGetProperty is like IOHIDManagerGetProperty but returns an error instead of panicking if IOHIDManagerGetProperty is unavailable at run time.

func TryIOHIDManagerGetTypeID

func TryIOHIDManagerGetTypeID() (uint, error)

TryIOHIDManagerGetTypeID is like IOHIDManagerGetTypeID but returns an error instead of panicking if IOHIDManagerGetTypeID is unavailable at run time.

func TryIOHIDManagerOpen

func TryIOHIDManagerOpen(manager IOHIDManagerRef, options uint32) (kernel.IOReturn, error)

TryIOHIDManagerOpen is like IOHIDManagerOpen but returns an error instead of panicking if IOHIDManagerOpen is unavailable at run time.

func TryIOHIDManagerRegisterDeviceMatchingCallback

func TryIOHIDManagerRegisterDeviceMatchingCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDManagerRegisterDeviceMatchingCallback is like IOHIDManagerRegisterDeviceMatchingCallback but returns an error instead of panicking if IOHIDManagerRegisterDeviceMatchingCallback is unavailable at run time.

func TryIOHIDManagerRegisterDeviceRemovalCallback

func TryIOHIDManagerRegisterDeviceRemovalCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDManagerRegisterDeviceRemovalCallback is like IOHIDManagerRegisterDeviceRemovalCallback but returns an error instead of panicking if IOHIDManagerRegisterDeviceRemovalCallback is unavailable at run time.

func TryIOHIDManagerRegisterInputReportCallback

func TryIOHIDManagerRegisterInputReportCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDManagerRegisterInputReportCallback is like IOHIDManagerRegisterInputReportCallback but returns an error instead of panicking if IOHIDManagerRegisterInputReportCallback is unavailable at run time.

func TryIOHIDManagerRegisterInputReportWithTimeStampCallback

func TryIOHIDManagerRegisterInputReportWithTimeStampCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDManagerRegisterInputReportWithTimeStampCallback is like IOHIDManagerRegisterInputReportWithTimeStampCallback but returns an error instead of panicking if IOHIDManagerRegisterInputReportWithTimeStampCallback is unavailable at run time.

func TryIOHIDManagerRegisterInputValueCallback

func TryIOHIDManagerRegisterInputValueCallback(manager IOHIDManagerRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDManagerRegisterInputValueCallback is like IOHIDManagerRegisterInputValueCallback but returns an error instead of panicking if IOHIDManagerRegisterInputValueCallback is unavailable at run time.

func TryIOHIDManagerSaveToPropertyDomain

func TryIOHIDManagerSaveToPropertyDomain(manager IOHIDManagerRef, applicationID corefoundation.CFStringRef, userName corefoundation.CFStringRef, hostName corefoundation.CFStringRef, options uint32) error

TryIOHIDManagerSaveToPropertyDomain is like IOHIDManagerSaveToPropertyDomain but returns an error instead of panicking if IOHIDManagerSaveToPropertyDomain is unavailable at run time.

func TryIOHIDManagerScheduleWithRunLoop

func TryIOHIDManagerScheduleWithRunLoop(manager IOHIDManagerRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDManagerScheduleWithRunLoop is like IOHIDManagerScheduleWithRunLoop but returns an error instead of panicking if IOHIDManagerScheduleWithRunLoop is unavailable at run time.

func TryIOHIDManagerSetCancelHandler

func TryIOHIDManagerSetCancelHandler(manager IOHIDManagerRef, handler unsafe.Pointer) error

TryIOHIDManagerSetCancelHandler is like IOHIDManagerSetCancelHandler but returns an error instead of panicking if IOHIDManagerSetCancelHandler is unavailable at run time.

func TryIOHIDManagerSetDeviceMatching

func TryIOHIDManagerSetDeviceMatching(manager IOHIDManagerRef, matching corefoundation.CFDictionaryRef) error

TryIOHIDManagerSetDeviceMatching is like IOHIDManagerSetDeviceMatching but returns an error instead of panicking if IOHIDManagerSetDeviceMatching is unavailable at run time.

func TryIOHIDManagerSetDeviceMatchingMultiple

func TryIOHIDManagerSetDeviceMatchingMultiple(manager IOHIDManagerRef, multiple corefoundation.CFArrayRef) error

TryIOHIDManagerSetDeviceMatchingMultiple is like IOHIDManagerSetDeviceMatchingMultiple but returns an error instead of panicking if IOHIDManagerSetDeviceMatchingMultiple is unavailable at run time.

func TryIOHIDManagerSetDispatchQueue

func TryIOHIDManagerSetDispatchQueue(manager IOHIDManagerRef, queue dispatch.Queue) error

TryIOHIDManagerSetDispatchQueue is like IOHIDManagerSetDispatchQueue but returns an error instead of panicking if IOHIDManagerSetDispatchQueue is unavailable at run time.

func TryIOHIDManagerSetInputValueMatching

func TryIOHIDManagerSetInputValueMatching(manager IOHIDManagerRef, matching corefoundation.CFDictionaryRef) error

TryIOHIDManagerSetInputValueMatching is like IOHIDManagerSetInputValueMatching but returns an error instead of panicking if IOHIDManagerSetInputValueMatching is unavailable at run time.

func TryIOHIDManagerSetInputValueMatchingMultiple

func TryIOHIDManagerSetInputValueMatchingMultiple(manager IOHIDManagerRef, multiple corefoundation.CFArrayRef) error

TryIOHIDManagerSetInputValueMatchingMultiple is like IOHIDManagerSetInputValueMatchingMultiple but returns an error instead of panicking if IOHIDManagerSetInputValueMatchingMultiple is unavailable at run time.

func TryIOHIDManagerSetProperty

func TryIOHIDManagerSetProperty(manager IOHIDManagerRef, key corefoundation.CFStringRef, value corefoundation.CFTypeRef) (bool, error)

TryIOHIDManagerSetProperty is like IOHIDManagerSetProperty but returns an error instead of panicking if IOHIDManagerSetProperty is unavailable at run time.

func TryIOHIDManagerUnscheduleFromRunLoop

func TryIOHIDManagerUnscheduleFromRunLoop(manager IOHIDManagerRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDManagerUnscheduleFromRunLoop is like IOHIDManagerUnscheduleFromRunLoop but returns an error instead of panicking if IOHIDManagerUnscheduleFromRunLoop is unavailable at run time.

func TryIOHIDPostEvent

func TryIOHIDPostEvent(connect uint32, eventType uint32, location IOGPoint, eventData *kernel.NXEventData, eventDataVersion uint32, eventFlags uint32, options uint32) (int32, error)

TryIOHIDPostEvent is like IOHIDPostEvent but returns an error instead of panicking if IOHIDPostEvent is unavailable at run time.

func TryIOHIDQueueActivate

func TryIOHIDQueueActivate(queue IOHIDQueueRef) error

TryIOHIDQueueActivate is like IOHIDQueueActivate but returns an error instead of panicking if IOHIDQueueActivate is unavailable at run time.

func TryIOHIDQueueAddElement

func TryIOHIDQueueAddElement(queue IOHIDQueueRef, element IOHIDElementRef) error

TryIOHIDQueueAddElement is like IOHIDQueueAddElement but returns an error instead of panicking if IOHIDQueueAddElement is unavailable at run time.

func TryIOHIDQueueCancel

func TryIOHIDQueueCancel(queue IOHIDQueueRef) error

TryIOHIDQueueCancel is like IOHIDQueueCancel but returns an error instead of panicking if IOHIDQueueCancel is unavailable at run time.

func TryIOHIDQueueContainsElement

func TryIOHIDQueueContainsElement(queue IOHIDQueueRef, element IOHIDElementRef) (bool, error)

TryIOHIDQueueContainsElement is like IOHIDQueueContainsElement but returns an error instead of panicking if IOHIDQueueContainsElement is unavailable at run time.

func TryIOHIDQueueGetDepth

func TryIOHIDQueueGetDepth(queue IOHIDQueueRef) (corefoundation.CFIndex, error)

TryIOHIDQueueGetDepth is like IOHIDQueueGetDepth but returns an error instead of panicking if IOHIDQueueGetDepth is unavailable at run time.

func TryIOHIDQueueGetTypeID

func TryIOHIDQueueGetTypeID() (uint, error)

TryIOHIDQueueGetTypeID is like IOHIDQueueGetTypeID but returns an error instead of panicking if IOHIDQueueGetTypeID is unavailable at run time.

func TryIOHIDQueueRegisterValueAvailableCallback

func TryIOHIDQueueRegisterValueAvailableCallback(queue IOHIDQueueRef, callback unsafe.Pointer, context unsafe.Pointer) error

TryIOHIDQueueRegisterValueAvailableCallback is like IOHIDQueueRegisterValueAvailableCallback but returns an error instead of panicking if IOHIDQueueRegisterValueAvailableCallback is unavailable at run time.

func TryIOHIDQueueRemoveElement

func TryIOHIDQueueRemoveElement(queue IOHIDQueueRef, element IOHIDElementRef) error

TryIOHIDQueueRemoveElement is like IOHIDQueueRemoveElement but returns an error instead of panicking if IOHIDQueueRemoveElement is unavailable at run time.

func TryIOHIDQueueScheduleWithRunLoop

func TryIOHIDQueueScheduleWithRunLoop(queue IOHIDQueueRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDQueueScheduleWithRunLoop is like IOHIDQueueScheduleWithRunLoop but returns an error instead of panicking if IOHIDQueueScheduleWithRunLoop is unavailable at run time.

func TryIOHIDQueueSetCancelHandler

func TryIOHIDQueueSetCancelHandler(queue IOHIDQueueRef, handler unsafe.Pointer) error

TryIOHIDQueueSetCancelHandler is like IOHIDQueueSetCancelHandler but returns an error instead of panicking if IOHIDQueueSetCancelHandler is unavailable at run time.

func TryIOHIDQueueSetDepth

func TryIOHIDQueueSetDepth(queue IOHIDQueueRef, depth corefoundation.CFIndex) error

TryIOHIDQueueSetDepth is like IOHIDQueueSetDepth but returns an error instead of panicking if IOHIDQueueSetDepth is unavailable at run time.

func TryIOHIDQueueSetDispatchQueue

func TryIOHIDQueueSetDispatchQueue(queue IOHIDQueueRef, dispatchQueue dispatch.Queue) error

TryIOHIDQueueSetDispatchQueue is like IOHIDQueueSetDispatchQueue but returns an error instead of panicking if IOHIDQueueSetDispatchQueue is unavailable at run time.

func TryIOHIDQueueStart

func TryIOHIDQueueStart(queue IOHIDQueueRef) error

TryIOHIDQueueStart is like IOHIDQueueStart but returns an error instead of panicking if IOHIDQueueStart is unavailable at run time.

func TryIOHIDQueueStop

func TryIOHIDQueueStop(queue IOHIDQueueRef) error

TryIOHIDQueueStop is like IOHIDQueueStop but returns an error instead of panicking if IOHIDQueueStop is unavailable at run time.

func TryIOHIDQueueUnscheduleFromRunLoop

func TryIOHIDQueueUnscheduleFromRunLoop(queue IOHIDQueueRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDQueueUnscheduleFromRunLoop is like IOHIDQueueUnscheduleFromRunLoop but returns an error instead of panicking if IOHIDQueueUnscheduleFromRunLoop is unavailable at run time.

func TryIOHIDRegisterVirtualDisplay

func TryIOHIDRegisterVirtualDisplay(handle uint32, display_token *uint32) (int32, error)

TryIOHIDRegisterVirtualDisplay is like IOHIDRegisterVirtualDisplay but returns an error instead of panicking if IOHIDRegisterVirtualDisplay is unavailable at run time.

func TryIOHIDRequestAccess

func TryIOHIDRequestAccess(requestType IOHIDRequestType) (bool, error)

TryIOHIDRequestAccess is like IOHIDRequestAccess but returns an error instead of panicking if IOHIDRequestAccess is unavailable at run time.

func TryIOHIDServiceClientConformsTo

func TryIOHIDServiceClientConformsTo(service IOHIDServiceClientRef, usagePage uint32, usage uint32) (int32, error)

TryIOHIDServiceClientConformsTo is like IOHIDServiceClientConformsTo but returns an error instead of panicking if IOHIDServiceClientConformsTo is unavailable at run time.

func TryIOHIDServiceClientCopyProperty

func TryIOHIDServiceClientCopyProperty(service IOHIDServiceClientRef, key corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOHIDServiceClientCopyProperty is like IOHIDServiceClientCopyProperty but returns an error instead of panicking if IOHIDServiceClientCopyProperty is unavailable at run time.

func TryIOHIDServiceClientGetRegistryID

func TryIOHIDServiceClientGetRegistryID(service IOHIDServiceClientRef) (corefoundation.CFTypeRef, error)

TryIOHIDServiceClientGetRegistryID is like IOHIDServiceClientGetRegistryID but returns an error instead of panicking if IOHIDServiceClientGetRegistryID is unavailable at run time.

func TryIOHIDServiceClientGetTypeID

func TryIOHIDServiceClientGetTypeID() (uint, error)

TryIOHIDServiceClientGetTypeID is like IOHIDServiceClientGetTypeID but returns an error instead of panicking if IOHIDServiceClientGetTypeID is unavailable at run time.

func TryIOHIDServiceClientSetProperty

func TryIOHIDServiceClientSetProperty(service IOHIDServiceClientRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) (bool, error)

TryIOHIDServiceClientSetProperty is like IOHIDServiceClientSetProperty but returns an error instead of panicking if IOHIDServiceClientSetProperty is unavailable at run time.

func TryIOHIDSetAccelerationWithKey

func TryIOHIDSetAccelerationWithKey(handle uint32, key corefoundation.CFStringRef, acceleration float64) (int32, error)

TryIOHIDSetAccelerationWithKey is like IOHIDSetAccelerationWithKey but returns an error instead of panicking if IOHIDSetAccelerationWithKey is unavailable at run time.

func TryIOHIDSetCFTypeParameter

func TryIOHIDSetCFTypeParameter(handle uint32, key corefoundation.CFStringRef, parameter corefoundation.CFTypeRef) (int32, error)

TryIOHIDSetCFTypeParameter is like IOHIDSetCFTypeParameter but returns an error instead of panicking if IOHIDSetCFTypeParameter is unavailable at run time.

func TryIOHIDSetCursorEnable

func TryIOHIDSetCursorEnable(connect uint32, enable int32) (int32, error)

TryIOHIDSetCursorEnable is like IOHIDSetCursorEnable but returns an error instead of panicking if IOHIDSetCursorEnable is unavailable at run time.

func TryIOHIDSetEventsEnable

func TryIOHIDSetEventsEnable(connect uint32, enable int32) (int32, error)

TryIOHIDSetEventsEnable is like IOHIDSetEventsEnable but returns an error instead of panicking if IOHIDSetEventsEnable is unavailable at run time.

func TryIOHIDSetModifierLockState

func TryIOHIDSetModifierLockState(handle uint32, selector int32, state bool) (int32, error)

TryIOHIDSetModifierLockState is like IOHIDSetModifierLockState but returns an error instead of panicking if IOHIDSetModifierLockState is unavailable at run time.

func TryIOHIDSetMouseAcceleration

func TryIOHIDSetMouseAcceleration(handle uint32, acceleration float64) (int32, error)

TryIOHIDSetMouseAcceleration is like IOHIDSetMouseAcceleration but returns an error instead of panicking if IOHIDSetMouseAcceleration is unavailable at run time.

func TryIOHIDSetMouseButtonMode

func TryIOHIDSetMouseButtonMode(handle uint32, mode int32) (int32, error)

TryIOHIDSetMouseButtonMode is like IOHIDSetMouseButtonMode but returns an error instead of panicking if IOHIDSetMouseButtonMode is unavailable at run time.

func TryIOHIDSetMouseLocation

func TryIOHIDSetMouseLocation(connect uint32, x int32, y int32) (int32, error)

TryIOHIDSetMouseLocation is like IOHIDSetMouseLocation but returns an error instead of panicking if IOHIDSetMouseLocation is unavailable at run time.

func TryIOHIDSetParameter

func TryIOHIDSetParameter(handle uint32, key corefoundation.CFStringRef, bytes unsafe.Pointer, size uint) (int32, error)

TryIOHIDSetParameter is like IOHIDSetParameter but returns an error instead of panicking if IOHIDSetParameter is unavailable at run time.

func TryIOHIDSetScrollAcceleration

func TryIOHIDSetScrollAcceleration(handle uint32, acceleration float64) (int32, error)

TryIOHIDSetScrollAcceleration is like IOHIDSetScrollAcceleration but returns an error instead of panicking if IOHIDSetScrollAcceleration is unavailable at run time.

func TryIOHIDSetStateForSelector

func TryIOHIDSetStateForSelector(handle uint32, selector int32, state uint32) (int32, error)

TryIOHIDSetStateForSelector is like IOHIDSetStateForSelector but returns an error instead of panicking if IOHIDSetStateForSelector is unavailable at run time.

func TryIOHIDSetVirtualDisplayBounds

func TryIOHIDSetVirtualDisplayBounds(handle uint32, display_token uint32, bounds *IOGBounds) (int32, error)

TryIOHIDSetVirtualDisplayBounds is like IOHIDSetVirtualDisplayBounds but returns an error instead of panicking if IOHIDSetVirtualDisplayBounds is unavailable at run time.

func TryIOHIDTransactionAddElement

func TryIOHIDTransactionAddElement(transaction IOHIDTransactionRef, element IOHIDElementRef) error

TryIOHIDTransactionAddElement is like IOHIDTransactionAddElement but returns an error instead of panicking if IOHIDTransactionAddElement is unavailable at run time.

func TryIOHIDTransactionClear

func TryIOHIDTransactionClear(transaction IOHIDTransactionRef) error

TryIOHIDTransactionClear is like IOHIDTransactionClear but returns an error instead of panicking if IOHIDTransactionClear is unavailable at run time.

func TryIOHIDTransactionCommit

func TryIOHIDTransactionCommit(transaction IOHIDTransactionRef) (kernel.IOReturn, error)

TryIOHIDTransactionCommit is like IOHIDTransactionCommit but returns an error instead of panicking if IOHIDTransactionCommit is unavailable at run time.

func TryIOHIDTransactionCommitWithCallback

func TryIOHIDTransactionCommitWithCallback(transaction IOHIDTransactionRef, timeout corefoundation.CFTimeInterval, callback unsafe.Pointer, context unsafe.Pointer) (kernel.IOReturn, error)

TryIOHIDTransactionCommitWithCallback is like IOHIDTransactionCommitWithCallback but returns an error instead of panicking if IOHIDTransactionCommitWithCallback is unavailable at run time.

func TryIOHIDTransactionContainsElement

func TryIOHIDTransactionContainsElement(transaction IOHIDTransactionRef, element IOHIDElementRef) (bool, error)

TryIOHIDTransactionContainsElement is like IOHIDTransactionContainsElement but returns an error instead of panicking if IOHIDTransactionContainsElement is unavailable at run time.

func TryIOHIDTransactionGetTypeID

func TryIOHIDTransactionGetTypeID() (uint, error)

TryIOHIDTransactionGetTypeID is like IOHIDTransactionGetTypeID but returns an error instead of panicking if IOHIDTransactionGetTypeID is unavailable at run time.

func TryIOHIDTransactionRemoveElement

func TryIOHIDTransactionRemoveElement(transaction IOHIDTransactionRef, element IOHIDElementRef) error

TryIOHIDTransactionRemoveElement is like IOHIDTransactionRemoveElement but returns an error instead of panicking if IOHIDTransactionRemoveElement is unavailable at run time.

func TryIOHIDTransactionScheduleWithRunLoop

func TryIOHIDTransactionScheduleWithRunLoop(transaction IOHIDTransactionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDTransactionScheduleWithRunLoop is like IOHIDTransactionScheduleWithRunLoop but returns an error instead of panicking if IOHIDTransactionScheduleWithRunLoop is unavailable at run time.

func TryIOHIDTransactionSetDirection

func TryIOHIDTransactionSetDirection(transaction IOHIDTransactionRef, direction IOHIDTransactionDirectionType) error

TryIOHIDTransactionSetDirection is like IOHIDTransactionSetDirection but returns an error instead of panicking if IOHIDTransactionSetDirection is unavailable at run time.

func TryIOHIDTransactionSetValue

func TryIOHIDTransactionSetValue(transaction IOHIDTransactionRef, element IOHIDElementRef, value IOHIDValueRef, options uint32) error

TryIOHIDTransactionSetValue is like IOHIDTransactionSetValue but returns an error instead of panicking if IOHIDTransactionSetValue is unavailable at run time.

func TryIOHIDTransactionUnscheduleFromRunLoop

func TryIOHIDTransactionUnscheduleFromRunLoop(transaction IOHIDTransactionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) error

TryIOHIDTransactionUnscheduleFromRunLoop is like IOHIDTransactionUnscheduleFromRunLoop but returns an error instead of panicking if IOHIDTransactionUnscheduleFromRunLoop is unavailable at run time.

func TryIOHIDUnregisterVirtualDisplay

func TryIOHIDUnregisterVirtualDisplay(handle uint32, display_token uint32) (int32, error)

TryIOHIDUnregisterVirtualDisplay is like IOHIDUnregisterVirtualDisplay but returns an error instead of panicking if IOHIDUnregisterVirtualDisplay is unavailable at run time.

func TryIOHIDUserDeviceActivate

func TryIOHIDUserDeviceActivate(device IOHIDUserDeviceRef) error

TryIOHIDUserDeviceActivate is like IOHIDUserDeviceActivate but returns an error instead of panicking if IOHIDUserDeviceActivate is unavailable at run time.

func TryIOHIDUserDeviceCancel

func TryIOHIDUserDeviceCancel(device IOHIDUserDeviceRef) error

TryIOHIDUserDeviceCancel is like IOHIDUserDeviceCancel but returns an error instead of panicking if IOHIDUserDeviceCancel is unavailable at run time.

func TryIOHIDUserDeviceCopyProperty

func TryIOHIDUserDeviceCopyProperty(device IOHIDUserDeviceRef, key corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TryIOHIDUserDeviceCopyProperty is like IOHIDUserDeviceCopyProperty but returns an error instead of panicking if IOHIDUserDeviceCopyProperty is unavailable at run time.

func TryIOHIDUserDeviceGetTypeID

func TryIOHIDUserDeviceGetTypeID() (uint, error)

TryIOHIDUserDeviceGetTypeID is like IOHIDUserDeviceGetTypeID but returns an error instead of panicking if IOHIDUserDeviceGetTypeID is unavailable at run time.

func TryIOHIDUserDeviceHandleReportWithTimeStamp

func TryIOHIDUserDeviceHandleReportWithTimeStamp(device IOHIDUserDeviceRef, timestamp uint64, report []byte, reportLength corefoundation.CFIndex) (kernel.IOReturn, error)

TryIOHIDUserDeviceHandleReportWithTimeStamp is like IOHIDUserDeviceHandleReportWithTimeStamp but returns an error instead of panicking if IOHIDUserDeviceHandleReportWithTimeStamp is unavailable at run time.

func TryIOHIDUserDeviceRegisterGetReportBlock

func TryIOHIDUserDeviceRegisterGetReportBlock(device IOHIDUserDeviceRef, block IOHIDUserDeviceGetReportBlock) error

TryIOHIDUserDeviceRegisterGetReportBlock is like IOHIDUserDeviceRegisterGetReportBlock but returns an error instead of panicking if IOHIDUserDeviceRegisterGetReportBlock is unavailable at run time.

func TryIOHIDUserDeviceRegisterSetReportBlock

func TryIOHIDUserDeviceRegisterSetReportBlock(device IOHIDUserDeviceRef, block IOHIDUserDeviceSetReportBlock) error

TryIOHIDUserDeviceRegisterSetReportBlock is like IOHIDUserDeviceRegisterSetReportBlock but returns an error instead of panicking if IOHIDUserDeviceRegisterSetReportBlock is unavailable at run time.

func TryIOHIDUserDeviceSetCancelHandler

func TryIOHIDUserDeviceSetCancelHandler(device IOHIDUserDeviceRef, handler unsafe.Pointer) error

TryIOHIDUserDeviceSetCancelHandler is like IOHIDUserDeviceSetCancelHandler but returns an error instead of panicking if IOHIDUserDeviceSetCancelHandler is unavailable at run time.

func TryIOHIDUserDeviceSetDispatchQueue

func TryIOHIDUserDeviceSetDispatchQueue(device IOHIDUserDeviceRef, queue dispatch.Queue) error

TryIOHIDUserDeviceSetDispatchQueue is like IOHIDUserDeviceSetDispatchQueue but returns an error instead of panicking if IOHIDUserDeviceSetDispatchQueue is unavailable at run time.

func TryIOHIDUserDeviceSetProperty

func TryIOHIDUserDeviceSetProperty(device IOHIDUserDeviceRef, key corefoundation.CFStringRef, property corefoundation.CFTypeRef) (bool, error)

TryIOHIDUserDeviceSetProperty is like IOHIDUserDeviceSetProperty but returns an error instead of panicking if IOHIDUserDeviceSetProperty is unavailable at run time.

func TryIOHIDValueGetBytePtr

func TryIOHIDValueGetBytePtr(value IOHIDValueRef) (*uint8, error)

TryIOHIDValueGetBytePtr is like IOHIDValueGetBytePtr but returns an error instead of panicking if IOHIDValueGetBytePtr is unavailable at run time.

func TryIOHIDValueGetIntegerValue

func TryIOHIDValueGetIntegerValue(value IOHIDValueRef) (corefoundation.CFIndex, error)

TryIOHIDValueGetIntegerValue is like IOHIDValueGetIntegerValue but returns an error instead of panicking if IOHIDValueGetIntegerValue is unavailable at run time.

func TryIOHIDValueGetLength

func TryIOHIDValueGetLength(value IOHIDValueRef) (corefoundation.CFIndex, error)

TryIOHIDValueGetLength is like IOHIDValueGetLength but returns an error instead of panicking if IOHIDValueGetLength is unavailable at run time.

func TryIOHIDValueGetScaledValue

func TryIOHIDValueGetScaledValue(value IOHIDValueRef, type_ kernel.IOHIDValueScaleType) (float64, error)

TryIOHIDValueGetScaledValue is like IOHIDValueGetScaledValue but returns an error instead of panicking if IOHIDValueGetScaledValue is unavailable at run time.

func TryIOHIDValueGetTimeStamp

func TryIOHIDValueGetTimeStamp(value IOHIDValueRef) (uint64, error)

TryIOHIDValueGetTimeStamp is like IOHIDValueGetTimeStamp but returns an error instead of panicking if IOHIDValueGetTimeStamp is unavailable at run time.

func TryIOHIDValueGetTypeID

func TryIOHIDValueGetTypeID() (uint, error)

TryIOHIDValueGetTypeID is like IOHIDValueGetTypeID but returns an error instead of panicking if IOHIDValueGetTypeID is unavailable at run time.

func TryIOI2CCopyInterfaceForID

func TryIOI2CCopyInterfaceForID(identifier corefoundation.CFTypeRef, interface_ *uint32) (kernel.IOReturn, error)

TryIOI2CCopyInterfaceForID is like IOI2CCopyInterfaceForID but returns an error instead of panicking if IOI2CCopyInterfaceForID is unavailable at run time.

func TryIOI2CInterfaceClose

func TryIOI2CInterfaceClose(connect IOI2CConnectRef, options uint32) (kernel.IOReturn, error)

TryIOI2CInterfaceClose is like IOI2CInterfaceClose but returns an error instead of panicking if IOI2CInterfaceClose is unavailable at run time.

func TryIOI2CInterfaceOpen

func TryIOI2CInterfaceOpen(interface_ uint32, options uint32, connect *IOI2CConnectRef) (kernel.IOReturn, error)

TryIOI2CInterfaceOpen is like IOI2CInterfaceOpen but returns an error instead of panicking if IOI2CInterfaceOpen is unavailable at run time.

func TryIOI2CSendRequest

func TryIOI2CSendRequest(connect IOI2CConnectRef, options uint32, request *IOI2CRequest) (kernel.IOReturn, error)

TryIOI2CSendRequest is like IOI2CSendRequest but returns an error instead of panicking if IOI2CSendRequest is unavailable at run time.

func TryIOIteratorIsValid

func TryIOIteratorIsValid(iterator uint32) (int32, error)

TryIOIteratorIsValid is like IOIteratorIsValid but returns an error instead of panicking if IOIteratorIsValid is unavailable at run time.

func TryIOIteratorNext

func TryIOIteratorNext(iterator uint32) (uint32, error)

TryIOIteratorNext is like IOIteratorNext but returns an error instead of panicking if IOIteratorNext is unavailable at run time.

func TryIOIteratorReset

func TryIOIteratorReset(iterator uint32) error

TryIOIteratorReset is like IOIteratorReset but returns an error instead of panicking if IOIteratorReset is unavailable at run time.

func TryIOKitGetBusyState

func TryIOKitGetBusyState(mainPort uint32, busyState *uint32) (int32, error)

TryIOKitGetBusyState is like IOKitGetBusyState but returns an error instead of panicking if IOKitGetBusyState is unavailable at run time.

func TryIOKitWaitQuiet

func TryIOKitWaitQuiet(mainPort uint32, waitTime *kernel.MachTimespec) (int32, error)

TryIOKitWaitQuiet is like IOKitWaitQuiet but returns an error instead of panicking if IOKitWaitQuiet is unavailable at run time.

func TryIOMainPort

func TryIOMainPort(bootstrapPort uint32, mainPort *uint32) (int32, error)

TryIOMainPort is like IOMainPort but returns an error instead of panicking if IOMainPort is unavailable at run time.

func TryIOMasterPort

func TryIOMasterPort(bootstrapPort uint32, mainPort *uint32) (int32, error)

TryIOMasterPort is like IOMasterPort but returns an error instead of panicking if IOMasterPort is unavailable at run time.

func TryIONetworkClose

func TryIONetworkClose(con uint32) (kernel.IOReturn, error)

TryIONetworkClose is like IONetworkClose but returns an error instead of panicking if IONetworkClose is unavailable at run time.

func TryIONetworkGetDataCapacity

func TryIONetworkGetDataCapacity(conObject uint32, dataHandle IONDHandle, capacityP *uint32) (kernel.IOReturn, error)

TryIONetworkGetDataCapacity is like IONetworkGetDataCapacity but returns an error instead of panicking if IONetworkGetDataCapacity is unavailable at run time.

func TryIONetworkGetDataHandle

func TryIONetworkGetDataHandle(conObject uint32, dataName string, dataHandleP *IONDHandle) (kernel.IOReturn, error)

TryIONetworkGetDataHandle is like IONetworkGetDataHandle but returns an error instead of panicking if IONetworkGetDataHandle is unavailable at run time.

func TryIONetworkGetPacketFiltersMask

func TryIONetworkGetPacketFiltersMask(connect uint32, filterGroup unsafe.Pointer, filtersMask *uint32, options uint32) (kernel.IOReturn, error)

TryIONetworkGetPacketFiltersMask is like IONetworkGetPacketFiltersMask but returns an error instead of panicking if IONetworkGetPacketFiltersMask is unavailable at run time.

func TryIONetworkOpen

func TryIONetworkOpen(obj uint32, con *uint32) (kernel.IOReturn, error)

TryIONetworkOpen is like IONetworkOpen but returns an error instead of panicking if IONetworkOpen is unavailable at run time.

func TryIONetworkReadData

func TryIONetworkReadData(conObj uint32, dataHandle IONDHandle, destBuf []byte, inOutSizeP *uint32) (kernel.IOReturn, error)

TryIONetworkReadData is like IONetworkReadData but returns an error instead of panicking if IONetworkReadData is unavailable at run time.

func TryIONetworkResetData

func TryIONetworkResetData(conObject uint32, dataHandle IONDHandle) (kernel.IOReturn, error)

TryIONetworkResetData is like IONetworkResetData but returns an error instead of panicking if IONetworkResetData is unavailable at run time.

func TryIONetworkSetPacketFiltersMask

func TryIONetworkSetPacketFiltersMask(connect uint32, filterGroup unsafe.Pointer, filtersMask uint32, options uint32) (kernel.IOReturn, error)

TryIONetworkSetPacketFiltersMask is like IONetworkSetPacketFiltersMask but returns an error instead of panicking if IONetworkSetPacketFiltersMask is unavailable at run time.

func TryIONetworkWriteData

func TryIONetworkWriteData(conObj uint32, dataHandle IONDHandle, srcBuf []byte, inSize uint32) (kernel.IOReturn, error)

TryIONetworkWriteData is like IONetworkWriteData but returns an error instead of panicking if IONetworkWriteData is unavailable at run time.

func TryIONotificationPortDestroy

func TryIONotificationPortDestroy(notify IONotificationPortRef) error

TryIONotificationPortDestroy is like IONotificationPortDestroy but returns an error instead of panicking if IONotificationPortDestroy is unavailable at run time.

func TryIONotificationPortGetMachPort

func TryIONotificationPortGetMachPort(notify IONotificationPortRef) (uint32, error)

TryIONotificationPortGetMachPort is like IONotificationPortGetMachPort but returns an error instead of panicking if IONotificationPortGetMachPort is unavailable at run time.

func TryIONotificationPortGetRunLoopSource

func TryIONotificationPortGetRunLoopSource(notify IONotificationPortRef) (corefoundation.CFRunLoopSourceRef, error)

TryIONotificationPortGetRunLoopSource is like IONotificationPortGetRunLoopSource but returns an error instead of panicking if IONotificationPortGetRunLoopSource is unavailable at run time.

func TryIONotificationPortSetDispatchQueue

func TryIONotificationPortSetDispatchQueue(notify IONotificationPortRef, queue dispatch.Queue) error

TryIONotificationPortSetDispatchQueue is like IONotificationPortSetDispatchQueue but returns an error instead of panicking if IONotificationPortSetDispatchQueue is unavailable at run time.

func TryIONotificationPortSetImportanceReceiver

func TryIONotificationPortSetImportanceReceiver(notify IONotificationPortRef) (int32, error)

TryIONotificationPortSetImportanceReceiver is like IONotificationPortSetImportanceReceiver but returns an error instead of panicking if IONotificationPortSetImportanceReceiver is unavailable at run time.

func TryIOObjectConformsTo

func TryIOObjectConformsTo(object uint32, className string) (int32, error)

TryIOObjectConformsTo is like IOObjectConformsTo but returns an error instead of panicking if IOObjectConformsTo is unavailable at run time.

func TryIOObjectCopyBundleIdentifierForClass

func TryIOObjectCopyBundleIdentifierForClass(classname corefoundation.CFStringRef) (corefoundation.CFStringRef, error)

TryIOObjectCopyBundleIdentifierForClass is like IOObjectCopyBundleIdentifierForClass but returns an error instead of panicking if IOObjectCopyBundleIdentifierForClass is unavailable at run time.

func TryIOObjectCopyClass

func TryIOObjectCopyClass(object uint32) (corefoundation.CFStringRef, error)

TryIOObjectCopyClass is like IOObjectCopyClass but returns an error instead of panicking if IOObjectCopyClass is unavailable at run time.

func TryIOObjectCopySuperclassForClass

func TryIOObjectCopySuperclassForClass(classname corefoundation.CFStringRef) (corefoundation.CFStringRef, error)

TryIOObjectCopySuperclassForClass is like IOObjectCopySuperclassForClass but returns an error instead of panicking if IOObjectCopySuperclassForClass is unavailable at run time.

func TryIOObjectGetClass

func TryIOObjectGetClass(object uint32, className string) (int32, error)

TryIOObjectGetClass is like IOObjectGetClass but returns an error instead of panicking if IOObjectGetClass is unavailable at run time.

func TryIOObjectGetKernelRetainCount

func TryIOObjectGetKernelRetainCount(object uint32) (uint32, error)

TryIOObjectGetKernelRetainCount is like IOObjectGetKernelRetainCount but returns an error instead of panicking if IOObjectGetKernelRetainCount is unavailable at run time.

func TryIOObjectGetRetainCount

func TryIOObjectGetRetainCount(object uint32) (uint32, error)

TryIOObjectGetRetainCount is like IOObjectGetRetainCount but returns an error instead of panicking if IOObjectGetRetainCount is unavailable at run time.

func TryIOObjectGetUserRetainCount

func TryIOObjectGetUserRetainCount(object uint32) (uint32, error)

TryIOObjectGetUserRetainCount is like IOObjectGetUserRetainCount but returns an error instead of panicking if IOObjectGetUserRetainCount is unavailable at run time.

func TryIOObjectIsEqualTo

func TryIOObjectIsEqualTo(object uint32, anObject uint32) (int32, error)

TryIOObjectIsEqualTo is like IOObjectIsEqualTo but returns an error instead of panicking if IOObjectIsEqualTo is unavailable at run time.

func TryIOObjectRelease

func TryIOObjectRelease(object uint32) (int32, error)

TryIOObjectRelease is like IOObjectRelease but returns an error instead of panicking if IOObjectRelease is unavailable at run time.

func TryIOObjectRetain

func TryIOObjectRetain(object uint32) (int32, error)

TryIOObjectRetain is like IOObjectRetain but returns an error instead of panicking if IOObjectRetain is unavailable at run time.

func TryIOOpenFirmwarePathMatching

func TryIOOpenFirmwarePathMatching(mainPort uint32, options uint32, path string) (corefoundation.CFMutableDictionary, error)

TryIOOpenFirmwarePathMatching is like IOOpenFirmwarePathMatching but returns an error instead of panicking if IOOpenFirmwarePathMatching is unavailable at run time.

func TryIOPMAssertionCopyProperties

func TryIOPMAssertionCopyProperties(theAssertion IOPMAssertionID) (corefoundation.CFDictionaryRef, error)

TryIOPMAssertionCopyProperties is like IOPMAssertionCopyProperties but returns an error instead of panicking if IOPMAssertionCopyProperties is unavailable at run time.

func TryIOPMAssertionCreate

func TryIOPMAssertionCreate(AssertionType corefoundation.CFStringRef, AssertionLevel IOPMAssertionLevel, AssertionID *IOPMAssertionID) (kernel.IOReturn, error)

TryIOPMAssertionCreate is like IOPMAssertionCreate but returns an error instead of panicking if IOPMAssertionCreate is unavailable at run time.

func TryIOPMAssertionCreateWithDescription

func TryIOPMAssertionCreateWithDescription(AssertionType corefoundation.CFStringRef, Name corefoundation.CFStringRef, Details corefoundation.CFStringRef, HumanReadableReason corefoundation.CFStringRef, LocalizationBundlePath corefoundation.CFStringRef, Timeout corefoundation.CFTimeInterval, TimeoutAction corefoundation.CFStringRef, AssertionID *IOPMAssertionID) (kernel.IOReturn, error)

TryIOPMAssertionCreateWithDescription is like IOPMAssertionCreateWithDescription but returns an error instead of panicking if IOPMAssertionCreateWithDescription is unavailable at run time.

func TryIOPMAssertionCreateWithName

func TryIOPMAssertionCreateWithName(AssertionType corefoundation.CFStringRef, AssertionLevel IOPMAssertionLevel, AssertionName corefoundation.CFStringRef, AssertionID *IOPMAssertionID) (kernel.IOReturn, error)

TryIOPMAssertionCreateWithName is like IOPMAssertionCreateWithName but returns an error instead of panicking if IOPMAssertionCreateWithName is unavailable at run time.

func TryIOPMAssertionCreateWithProperties

func TryIOPMAssertionCreateWithProperties(AssertionProperties corefoundation.CFDictionaryRef, AssertionID *IOPMAssertionID) (kernel.IOReturn, error)

TryIOPMAssertionCreateWithProperties is like IOPMAssertionCreateWithProperties but returns an error instead of panicking if IOPMAssertionCreateWithProperties is unavailable at run time.

func TryIOPMAssertionDeclareUserActivity

func TryIOPMAssertionDeclareUserActivity(AssertionName corefoundation.CFStringRef, userType IOPMUserActiveType, AssertionID *IOPMAssertionID) (kernel.IOReturn, error)

TryIOPMAssertionDeclareUserActivity is like IOPMAssertionDeclareUserActivity but returns an error instead of panicking if IOPMAssertionDeclareUserActivity is unavailable at run time.

func TryIOPMAssertionRelease

func TryIOPMAssertionRelease(AssertionID IOPMAssertionID) (kernel.IOReturn, error)

TryIOPMAssertionRelease is like IOPMAssertionRelease but returns an error instead of panicking if IOPMAssertionRelease is unavailable at run time.

func TryIOPMAssertionRetain

func TryIOPMAssertionRetain(theAssertion IOPMAssertionID) error

TryIOPMAssertionRetain is like IOPMAssertionRetain but returns an error instead of panicking if IOPMAssertionRetain is unavailable at run time.

func TryIOPMAssertionSetProperty

func TryIOPMAssertionSetProperty(theAssertion IOPMAssertionID, theProperty corefoundation.CFStringRef, theValue corefoundation.CFTypeRef) (kernel.IOReturn, error)

TryIOPMAssertionSetProperty is like IOPMAssertionSetProperty but returns an error instead of panicking if IOPMAssertionSetProperty is unavailable at run time.

func TryIOPMCancelScheduledPowerEvent

func TryIOPMCancelScheduledPowerEvent(time_to_wake corefoundation.CFDateRef, my_id corefoundation.CFStringRef, type_ corefoundation.CFStringRef) (kernel.IOReturn, error)

TryIOPMCancelScheduledPowerEvent is like IOPMCancelScheduledPowerEvent but returns an error instead of panicking if IOPMCancelScheduledPowerEvent is unavailable at run time.

func TryIOPMCopyAssertionsByProcess

func TryIOPMCopyAssertionsByProcess(AssertionsByPID *corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIOPMCopyAssertionsByProcess is like IOPMCopyAssertionsByProcess but returns an error instead of panicking if IOPMCopyAssertionsByProcess is unavailable at run time.

func TryIOPMCopyAssertionsStatus

func TryIOPMCopyAssertionsStatus(AssertionsStatus *corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIOPMCopyAssertionsStatus is like IOPMCopyAssertionsStatus but returns an error instead of panicking if IOPMCopyAssertionsStatus is unavailable at run time.

func TryIOPMCopyBatteryInfo

func TryIOPMCopyBatteryInfo(masterPort uint32, info *corefoundation.CFArrayRef) (kernel.IOReturn, error)

TryIOPMCopyBatteryInfo is like IOPMCopyBatteryInfo but returns an error instead of panicking if IOPMCopyBatteryInfo is unavailable at run time.

func TryIOPMCopyCPUPowerStatus

func TryIOPMCopyCPUPowerStatus(cpuPowerStatus *corefoundation.CFDictionaryRef) (kernel.IOReturn, error)

TryIOPMCopyCPUPowerStatus is like IOPMCopyCPUPowerStatus but returns an error instead of panicking if IOPMCopyCPUPowerStatus is unavailable at run time.

func TryIOPMCopyScheduledPowerEvents

func TryIOPMCopyScheduledPowerEvents() (corefoundation.CFArrayRef, error)

TryIOPMCopyScheduledPowerEvents is like IOPMCopyScheduledPowerEvents but returns an error instead of panicking if IOPMCopyScheduledPowerEvents is unavailable at run time.

func TryIOPMDeclareNetworkClientActivity

func TryIOPMDeclareNetworkClientActivity(AssertionName corefoundation.CFStringRef, AssertionID *IOPMAssertionID) (kernel.IOReturn, error)

TryIOPMDeclareNetworkClientActivity is like IOPMDeclareNetworkClientActivity but returns an error instead of panicking if IOPMDeclareNetworkClientActivity is unavailable at run time.

func TryIOPMFindPowerManagement

func TryIOPMFindPowerManagement(master_device_port uint32) (uint32, error)

TryIOPMFindPowerManagement is like IOPMFindPowerManagement but returns an error instead of panicking if IOPMFindPowerManagement is unavailable at run time.

func TryIOPMGetAggressiveness

func TryIOPMGetAggressiveness(fb uint32, type_ uint, aggressiveness *uint) (kernel.IOReturn, error)

TryIOPMGetAggressiveness is like IOPMGetAggressiveness but returns an error instead of panicking if IOPMGetAggressiveness is unavailable at run time.

func TryIOPMGetThermalWarningLevel

func TryIOPMGetThermalWarningLevel(thermalLevel *uint32) (kernel.IOReturn, error)

TryIOPMGetThermalWarningLevel is like IOPMGetThermalWarningLevel but returns an error instead of panicking if IOPMGetThermalWarningLevel is unavailable at run time.

func TryIOPMSchedulePowerEvent

func TryIOPMSchedulePowerEvent(time_to_wake corefoundation.CFDateRef, my_id corefoundation.CFStringRef, type_ corefoundation.CFStringRef) (kernel.IOReturn, error)

TryIOPMSchedulePowerEvent is like IOPMSchedulePowerEvent but returns an error instead of panicking if IOPMSchedulePowerEvent is unavailable at run time.

func TryIOPMSetAggressiveness

func TryIOPMSetAggressiveness(fb uint32, type_ uint, aggressiveness uint) (kernel.IOReturn, error)

TryIOPMSetAggressiveness is like IOPMSetAggressiveness but returns an error instead of panicking if IOPMSetAggressiveness is unavailable at run time.

func TryIOPMSleepEnabled

func TryIOPMSleepEnabled() (int32, error)

TryIOPMSleepEnabled is like IOPMSleepEnabled but returns an error instead of panicking if IOPMSleepEnabled is unavailable at run time.

func TryIOPMSleepSystem

func TryIOPMSleepSystem(fb uint32) (kernel.IOReturn, error)

TryIOPMSleepSystem is like IOPMSleepSystem but returns an error instead of panicking if IOPMSleepSystem is unavailable at run time.

func TryIOPSCopyExternalPowerAdapterDetails

func TryIOPSCopyExternalPowerAdapterDetails() (corefoundation.CFDictionaryRef, error)

TryIOPSCopyExternalPowerAdapterDetails is like IOPSCopyExternalPowerAdapterDetails but returns an error instead of panicking if IOPSCopyExternalPowerAdapterDetails is unavailable at run time.

func TryIOPSCopyPowerSourcesInfo

func TryIOPSCopyPowerSourcesInfo() (corefoundation.CFTypeRef, error)

TryIOPSCopyPowerSourcesInfo is like IOPSCopyPowerSourcesInfo but returns an error instead of panicking if IOPSCopyPowerSourcesInfo is unavailable at run time.

func TryIOPSCopyPowerSourcesList

func TryIOPSCopyPowerSourcesList(blob corefoundation.CFTypeRef) (corefoundation.CFArrayRef, error)

TryIOPSCopyPowerSourcesList is like IOPSCopyPowerSourcesList but returns an error instead of panicking if IOPSCopyPowerSourcesList is unavailable at run time.

func TryIOPSCreateLimitedPowerNotification

func TryIOPSCreateLimitedPowerNotification(callback unsafe.Pointer, context unsafe.Pointer) (corefoundation.CFRunLoopSourceRef, error)

TryIOPSCreateLimitedPowerNotification is like IOPSCreateLimitedPowerNotification but returns an error instead of panicking if IOPSCreateLimitedPowerNotification is unavailable at run time.

func TryIOPSGetPowerSourceDescription

func TryIOPSGetPowerSourceDescription(blob corefoundation.CFTypeRef, ps corefoundation.CFTypeRef) (corefoundation.CFDictionaryRef, error)

TryIOPSGetPowerSourceDescription is like IOPSGetPowerSourceDescription but returns an error instead of panicking if IOPSGetPowerSourceDescription is unavailable at run time.

func TryIOPSGetProvidingPowerSourceType

func TryIOPSGetProvidingPowerSourceType(snapshot corefoundation.CFTypeRef) (corefoundation.CFStringRef, error)

TryIOPSGetProvidingPowerSourceType is like IOPSGetProvidingPowerSourceType but returns an error instead of panicking if IOPSGetProvidingPowerSourceType is unavailable at run time.

func TryIOPSGetTimeRemainingEstimate

func TryIOPSGetTimeRemainingEstimate() (corefoundation.CFTimeInterval, error)

TryIOPSGetTimeRemainingEstimate is like IOPSGetTimeRemainingEstimate but returns an error instead of panicking if IOPSGetTimeRemainingEstimate is unavailable at run time.

func TryIOPSNotificationCreateRunLoopSource

func TryIOPSNotificationCreateRunLoopSource(callback unsafe.Pointer, context unsafe.Pointer) (corefoundation.CFRunLoopSourceRef, error)

TryIOPSNotificationCreateRunLoopSource is like IOPSNotificationCreateRunLoopSource but returns an error instead of panicking if IOPSNotificationCreateRunLoopSource is unavailable at run time.

func TryIORegisterApp

func TryIORegisterApp(refcon uintptr, theDriver uint32, thePortRef *IONotificationPortRef, callback IOServiceInterestCallback, notifier *uint32) (uint32, error)

TryIORegisterApp is like IORegisterApp but returns an error instead of panicking if IORegisterApp is unavailable at run time.

func TryIORegisterForSystemPower

func TryIORegisterForSystemPower(refcon uintptr, thePortRef *IONotificationPortRef, callback IOServiceInterestCallback, notifier *uint32) (uint32, error)

TryIORegisterForSystemPower is like IORegisterForSystemPower but returns an error instead of panicking if IORegisterForSystemPower is unavailable at run time.

func TryIORegistryCreateIterator

func TryIORegistryCreateIterator(mainPort uint32, plane string, options uint32, iterator *uint32) (int32, error)

TryIORegistryCreateIterator is like IORegistryCreateIterator but returns an error instead of panicking if IORegistryCreateIterator is unavailable at run time.

func TryIORegistryEntryCopyFromPath

func TryIORegistryEntryCopyFromPath(mainPort uint32, path corefoundation.CFStringRef) (uint32, error)

TryIORegistryEntryCopyFromPath is like IORegistryEntryCopyFromPath but returns an error instead of panicking if IORegistryEntryCopyFromPath is unavailable at run time.

func TryIORegistryEntryCopyPath

func TryIORegistryEntryCopyPath(entry uint32, plane string) (corefoundation.CFStringRef, error)

TryIORegistryEntryCopyPath is like IORegistryEntryCopyPath but returns an error instead of panicking if IORegistryEntryCopyPath is unavailable at run time.

func TryIORegistryEntryCreateCFProperties

func TryIORegistryEntryCreateCFProperties(entry uint32, properties *corefoundation.CFMutableDictionaryRef, allocator corefoundation.CFAllocatorRef, options uint32) (int32, error)

TryIORegistryEntryCreateCFProperties is like IORegistryEntryCreateCFProperties but returns an error instead of panicking if IORegistryEntryCreateCFProperties is unavailable at run time.

func TryIORegistryEntryCreateCFProperty

func TryIORegistryEntryCreateCFProperty(entry uint32, key corefoundation.CFStringRef, allocator corefoundation.CFAllocatorRef, options uint32) (corefoundation.CFTypeRef, error)

TryIORegistryEntryCreateCFProperty is like IORegistryEntryCreateCFProperty but returns an error instead of panicking if IORegistryEntryCreateCFProperty is unavailable at run time.

func TryIORegistryEntryCreateIterator

func TryIORegistryEntryCreateIterator(entry uint32, plane string, options uint32, iterator *uint32) (int32, error)

TryIORegistryEntryCreateIterator is like IORegistryEntryCreateIterator but returns an error instead of panicking if IORegistryEntryCreateIterator is unavailable at run time.

func TryIORegistryEntryFromPath

func TryIORegistryEntryFromPath(mainPort uint32, path string) (uint32, error)

TryIORegistryEntryFromPath is like IORegistryEntryFromPath but returns an error instead of panicking if IORegistryEntryFromPath is unavailable at run time.

func TryIORegistryEntryGetChildEntry

func TryIORegistryEntryGetChildEntry(entry uint32, plane string, child *uint32) (int32, error)

TryIORegistryEntryGetChildEntry is like IORegistryEntryGetChildEntry but returns an error instead of panicking if IORegistryEntryGetChildEntry is unavailable at run time.

func TryIORegistryEntryGetChildIterator

func TryIORegistryEntryGetChildIterator(entry uint32, plane string, iterator *uint32) (int32, error)

TryIORegistryEntryGetChildIterator is like IORegistryEntryGetChildIterator but returns an error instead of panicking if IORegistryEntryGetChildIterator is unavailable at run time.

func TryIORegistryEntryGetLocationInPlane

func TryIORegistryEntryGetLocationInPlane(entry uint32, plane string, location string) (int32, error)

TryIORegistryEntryGetLocationInPlane is like IORegistryEntryGetLocationInPlane but returns an error instead of panicking if IORegistryEntryGetLocationInPlane is unavailable at run time.

func TryIORegistryEntryGetName

func TryIORegistryEntryGetName(entry uint32, name string) (int32, error)

TryIORegistryEntryGetName is like IORegistryEntryGetName but returns an error instead of panicking if IORegistryEntryGetName is unavailable at run time.

func TryIORegistryEntryGetNameInPlane

func TryIORegistryEntryGetNameInPlane(entry uint32, plane string, name string) (int32, error)

TryIORegistryEntryGetNameInPlane is like IORegistryEntryGetNameInPlane but returns an error instead of panicking if IORegistryEntryGetNameInPlane is unavailable at run time.

func TryIORegistryEntryGetParentEntry

func TryIORegistryEntryGetParentEntry(entry uint32, plane string, parent *uint32) (int32, error)

TryIORegistryEntryGetParentEntry is like IORegistryEntryGetParentEntry but returns an error instead of panicking if IORegistryEntryGetParentEntry is unavailable at run time.

func TryIORegistryEntryGetParentIterator

func TryIORegistryEntryGetParentIterator(entry uint32, plane string, iterator *uint32) (int32, error)

TryIORegistryEntryGetParentIterator is like IORegistryEntryGetParentIterator but returns an error instead of panicking if IORegistryEntryGetParentIterator is unavailable at run time.

func TryIORegistryEntryGetPath

func TryIORegistryEntryGetPath(entry uint32, plane string, path string) (int32, error)

TryIORegistryEntryGetPath is like IORegistryEntryGetPath but returns an error instead of panicking if IORegistryEntryGetPath is unavailable at run time.

func TryIORegistryEntryGetProperty

func TryIORegistryEntryGetProperty(entry uint32, propertyName string, buffer string, size *uint32) (int32, error)

TryIORegistryEntryGetProperty is like IORegistryEntryGetProperty but returns an error instead of panicking if IORegistryEntryGetProperty is unavailable at run time.

func TryIORegistryEntryGetRegistryEntryID

func TryIORegistryEntryGetRegistryEntryID(entry uint32, entryID *uint64) (int32, error)

TryIORegistryEntryGetRegistryEntryID is like IORegistryEntryGetRegistryEntryID but returns an error instead of panicking if IORegistryEntryGetRegistryEntryID is unavailable at run time.

func TryIORegistryEntryIDMatching

func TryIORegistryEntryIDMatching(entryID uint64) (corefoundation.CFMutableDictionary, error)

TryIORegistryEntryIDMatching is like IORegistryEntryIDMatching but returns an error instead of panicking if IORegistryEntryIDMatching is unavailable at run time.

func TryIORegistryEntryInPlane

func TryIORegistryEntryInPlane(entry uint32, plane string) (int32, error)

TryIORegistryEntryInPlane is like IORegistryEntryInPlane but returns an error instead of panicking if IORegistryEntryInPlane is unavailable at run time.

func TryIORegistryEntrySearchCFProperty

func TryIORegistryEntrySearchCFProperty(entry uint32, plane string, key corefoundation.CFStringRef, allocator corefoundation.CFAllocatorRef, options uint32) (corefoundation.CFTypeRef, error)

TryIORegistryEntrySearchCFProperty is like IORegistryEntrySearchCFProperty but returns an error instead of panicking if IORegistryEntrySearchCFProperty is unavailable at run time.

func TryIORegistryEntrySetCFProperties

func TryIORegistryEntrySetCFProperties(entry uint32, properties corefoundation.CFTypeRef) (int32, error)

TryIORegistryEntrySetCFProperties is like IORegistryEntrySetCFProperties but returns an error instead of panicking if IORegistryEntrySetCFProperties is unavailable at run time.

func TryIORegistryEntrySetCFProperty

func TryIORegistryEntrySetCFProperty(entry uint32, propertyName corefoundation.CFStringRef, property corefoundation.CFTypeRef) (int32, error)

TryIORegistryEntrySetCFProperty is like IORegistryEntrySetCFProperty but returns an error instead of panicking if IORegistryEntrySetCFProperty is unavailable at run time.

func TryIORegistryGetRootEntry

func TryIORegistryGetRootEntry(mainPort uint32) (uint32, error)

TryIORegistryGetRootEntry is like IORegistryGetRootEntry but returns an error instead of panicking if IORegistryGetRootEntry is unavailable at run time.

func TryIORegistryIteratorEnterEntry

func TryIORegistryIteratorEnterEntry(iterator uint32) (int32, error)

TryIORegistryIteratorEnterEntry is like IORegistryIteratorEnterEntry but returns an error instead of panicking if IORegistryIteratorEnterEntry is unavailable at run time.

func TryIORegistryIteratorExitEntry

func TryIORegistryIteratorExitEntry(iterator uint32) (int32, error)

TryIORegistryIteratorExitEntry is like IORegistryIteratorExitEntry but returns an error instead of panicking if IORegistryIteratorExitEntry is unavailable at run time.

func TryIOServiceAddInterestNotification

func TryIOServiceAddInterestNotification(notifyPort IONotificationPortRef, service uint32, interestType string, callback IOServiceInterestCallback, refCon uintptr, notification *uint32) (int32, error)

TryIOServiceAddInterestNotification is like IOServiceAddInterestNotification but returns an error instead of panicking if IOServiceAddInterestNotification is unavailable at run time.

func TryIOServiceAddMatchingNotification

func TryIOServiceAddMatchingNotification(notifyPort IONotificationPortRef, notificationType string, matching corefoundation.CFDictionaryRef, callback IOServiceMatchingCallback, refCon uintptr, notification *uint32) (int32, error)

TryIOServiceAddMatchingNotification is like IOServiceAddMatchingNotification but returns an error instead of panicking if IOServiceAddMatchingNotification is unavailable at run time.

func TryIOServiceAddNotification

func TryIOServiceAddNotification(mainPort uint32, notificationType string, matching corefoundation.CFDictionaryRef, wakePort uint32, reference unsafe.Pointer, notification *uint32) (int32, error)

TryIOServiceAddNotification is like IOServiceAddNotification but returns an error instead of panicking if IOServiceAddNotification is unavailable at run time.

func TryIOServiceAuthorize

func TryIOServiceAuthorize(service uint32, options uint32) (int32, error)

TryIOServiceAuthorize is like IOServiceAuthorize but returns an error instead of panicking if IOServiceAuthorize is unavailable at run time.

func TryIOServiceClose

func TryIOServiceClose(connect uint32) (int32, error)

TryIOServiceClose is like IOServiceClose but returns an error instead of panicking if IOServiceClose is unavailable at run time.

func TryIOServiceGetBusyState

func TryIOServiceGetBusyState(service uint32, busyState *uint32) (int32, error)

TryIOServiceGetBusyState is like IOServiceGetBusyState but returns an error instead of panicking if IOServiceGetBusyState is unavailable at run time.

func TryIOServiceGetMatchingService

func TryIOServiceGetMatchingService(mainPort uint32, matching corefoundation.CFDictionaryRef) (uint32, error)

TryIOServiceGetMatchingService is like IOServiceGetMatchingService but returns an error instead of panicking if IOServiceGetMatchingService is unavailable at run time.

func TryIOServiceGetMatchingServices

func TryIOServiceGetMatchingServices(mainPort uint32, matching corefoundation.CFDictionaryRef, existing *uint32) (int32, error)

TryIOServiceGetMatchingServices is like IOServiceGetMatchingServices but returns an error instead of panicking if IOServiceGetMatchingServices is unavailable at run time.

func TryIOServiceMatchPropertyTable

func TryIOServiceMatchPropertyTable(service uint32, matching corefoundation.CFDictionaryRef, matches *bool) (int32, error)

TryIOServiceMatchPropertyTable is like IOServiceMatchPropertyTable but returns an error instead of panicking if IOServiceMatchPropertyTable is unavailable at run time.

func TryIOServiceMatching

func TryIOServiceMatching(name string) (corefoundation.CFMutableDictionary, error)

TryIOServiceMatching is like IOServiceMatching but returns an error instead of panicking if IOServiceMatching is unavailable at run time.

func TryIOServiceNameMatching

func TryIOServiceNameMatching(name string) (corefoundation.CFMutableDictionary, error)

TryIOServiceNameMatching is like IOServiceNameMatching but returns an error instead of panicking if IOServiceNameMatching is unavailable at run time.

func TryIOServiceOFPathToBSDName

func TryIOServiceOFPathToBSDName(mainPort uint32, openFirmwarePath string, bsdName string) (int32, error)

TryIOServiceOFPathToBSDName is like IOServiceOFPathToBSDName but returns an error instead of panicking if IOServiceOFPathToBSDName is unavailable at run time.

func TryIOServiceOpen

func TryIOServiceOpen(service uint32, owningTask uint32, type_ uint32, connect *uint32) (int32, error)

TryIOServiceOpen is like IOServiceOpen but returns an error instead of panicking if IOServiceOpen is unavailable at run time.

func TryIOServiceOpenAsFileDescriptor

func TryIOServiceOpenAsFileDescriptor(service uint32, oflag int32) (int32, error)

TryIOServiceOpenAsFileDescriptor is like IOServiceOpenAsFileDescriptor but returns an error instead of panicking if IOServiceOpenAsFileDescriptor is unavailable at run time.

func TryIOServiceRequestProbe

func TryIOServiceRequestProbe(service uint32, options uint32) (int32, error)

TryIOServiceRequestProbe is like IOServiceRequestProbe but returns an error instead of panicking if IOServiceRequestProbe is unavailable at run time.

func TryIOServiceWaitQuiet

func TryIOServiceWaitQuiet(service uint32, waitTime *kernel.MachTimespec) (int32, error)

TryIOServiceWaitQuiet is like IOServiceWaitQuiet but returns an error instead of panicking if IOServiceWaitQuiet is unavailable at run time.

func TryIOURLCreateDataAndPropertiesFromResource

func TryIOURLCreateDataAndPropertiesFromResource(alloc corefoundation.CFAllocatorRef, url corefoundation.CFURLRef, resourceData *corefoundation.CFDataRef, properties *corefoundation.CFDictionaryRef, desiredProperties corefoundation.CFArrayRef, errorCode *int32) (bool, error)

TryIOURLCreateDataAndPropertiesFromResource is like IOURLCreateDataAndPropertiesFromResource but returns an error instead of panicking if IOURLCreateDataAndPropertiesFromResource is unavailable at run time.

func TryIOURLCreatePropertyFromResource

func TryIOURLCreatePropertyFromResource(alloc corefoundation.CFAllocatorRef, url corefoundation.CFURLRef, property corefoundation.CFStringRef, errorCode *int32) (corefoundation.CFTypeRef, error)

TryIOURLCreatePropertyFromResource is like IOURLCreatePropertyFromResource but returns an error instead of panicking if IOURLCreatePropertyFromResource is unavailable at run time.

func TryKextManagerCopyLoadedKextInfo

func TryKextManagerCopyLoadedKextInfo(kextIdentifiers corefoundation.CFArrayRef, infoKeys corefoundation.CFArrayRef) (corefoundation.CFDictionaryRef, error)

TryKextManagerCopyLoadedKextInfo is like KextManagerCopyLoadedKextInfo but returns an error instead of panicking if KextManagerCopyLoadedKextInfo is unavailable at run time.

func TryKextManagerCreateURLForBundleIdentifier

func TryKextManagerCreateURLForBundleIdentifier(allocator corefoundation.CFAllocatorRef, kextIdentifier corefoundation.CFStringRef) (corefoundation.CFURLRef, error)

TryKextManagerCreateURLForBundleIdentifier is like KextManagerCreateURLForBundleIdentifier but returns an error instead of panicking if KextManagerCreateURLForBundleIdentifier is unavailable at run time.

func TryKextManagerLoadKextWithIdentifier

func TryKextManagerLoadKextWithIdentifier(kextIdentifier corefoundation.CFStringRef, dependencyKextAndFolderURLs corefoundation.CFArrayRef) (int32, error)

TryKextManagerLoadKextWithIdentifier is like KextManagerLoadKextWithIdentifier but returns an error instead of panicking if KextManagerLoadKextWithIdentifier is unavailable at run time.

func TryKextManagerLoadKextWithURL

func TryKextManagerLoadKextWithURL(kextURL corefoundation.CFURLRef, dependencyKextAndFolderURLs corefoundation.CFArrayRef) (int32, error)

TryKextManagerLoadKextWithURL is like KextManagerLoadKextWithURL but returns an error instead of panicking if KextManagerLoadKextWithURL is unavailable at run time.

func TryKextManagerUnloadKextWithIdentifier

func TryKextManagerUnloadKextWithIdentifier(kextIdentifier corefoundation.CFStringRef) (int32, error)

TryKextManagerUnloadKextWithIdentifier is like KextManagerUnloadKextWithIdentifier but returns an error instead of panicking if KextManagerUnloadKextWithIdentifier is unavailable at run time.

func TryNXClickTime

func TryNXClickTime(handle NXEventHandle) (float64, error)

TryNXClickTime is like NXClickTime but returns an error instead of panicking if NXClickTime is unavailable at run time.

func TryNXCloseEventStatus

func TryNXCloseEventStatus(handle NXEventHandle) error

TryNXCloseEventStatus is like NXCloseEventStatus but returns an error instead of panicking if NXCloseEventStatus is unavailable at run time.

func TryNXGetClickSpace

func TryNXGetClickSpace(handle NXEventHandle, area *NXSize) error

TryNXGetClickSpace is like NXGetClickSpace but returns an error instead of panicking if NXGetClickSpace is unavailable at run time.

func TryNXKeyRepeatInterval

func TryNXKeyRepeatInterval(handle NXEventHandle) (float64, error)

TryNXKeyRepeatInterval is like NXKeyRepeatInterval but returns an error instead of panicking if NXKeyRepeatInterval is unavailable at run time.

func TryNXKeyRepeatThreshold

func TryNXKeyRepeatThreshold(handle NXEventHandle) (float64, error)

TryNXKeyRepeatThreshold is like NXKeyRepeatThreshold but returns an error instead of panicking if NXKeyRepeatThreshold is unavailable at run time.

func TryNXResetKeyboard

func TryNXResetKeyboard(handle NXEventHandle) error

TryNXResetKeyboard is like NXResetKeyboard but returns an error instead of panicking if NXResetKeyboard is unavailable at run time.

func TryNXResetMouse

func TryNXResetMouse(handle NXEventHandle) error

TryNXResetMouse is like NXResetMouse but returns an error instead of panicking if NXResetMouse is unavailable at run time.

func TryNXSetClickSpace

func TryNXSetClickSpace(handle NXEventHandle, area *NXSize) error

TryNXSetClickSpace is like NXSetClickSpace but returns an error instead of panicking if NXSetClickSpace is unavailable at run time.

func TryNXSetClickTime

func TryNXSetClickTime(handle NXEventHandle, seconds float64) error

TryNXSetClickTime is like NXSetClickTime but returns an error instead of panicking if NXSetClickTime is unavailable at run time.

func TryNXSetKeyRepeatInterval

func TryNXSetKeyRepeatInterval(handle NXEventHandle, seconds float64) error

TryNXSetKeyRepeatInterval is like NXSetKeyRepeatInterval but returns an error instead of panicking if NXSetKeyRepeatInterval is unavailable at run time.

func TryNXSetKeyRepeatThreshold

func TryNXSetKeyRepeatThreshold(handle NXEventHandle, threshold float64) error

TryNXSetKeyRepeatThreshold is like NXSetKeyRepeatThreshold but returns an error instead of panicking if NXSetKeyRepeatThreshold is unavailable at run time.

func TryOSGetNotificationFromMessage

func TryOSGetNotificationFromMessage(msg unsafe.Pointer, index uint32, type_ *uint32, reference unsafe.Pointer, content unsafe.Pointer, size *uintptr) (int32, error)

TryOSGetNotificationFromMessage is like OSGetNotificationFromMessage but returns an error instead of panicking if OSGetNotificationFromMessage is unavailable at run time.

Types

type ATASMARTData

type ATASMARTData [512]byte

See: https://developer.apple.com/documentation/iokit/atasmartdata ATASMARTData is opaque storage with the size and alignment C gives ATASMARTData: 512 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 512 into.

type ATASMARTDataThresholds

type ATASMARTDataThresholds [512]byte

See: https://developer.apple.com/documentation/iokit/atasmartdatathresholds ATASMARTDataThresholds is opaque storage with the size and alignment C gives ATASMARTDataThresholds: 512 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 512 into.

type ATASMARTLogDirectory

type ATASMARTLogDirectory [512]byte

See: https://developer.apple.com/documentation/iokit/atasmartlogdirectory ATASMARTLogDirectory is opaque storage with the size and alignment C gives ATASMARTLogDirectory: 512 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 512 into.

type ATASMARTLogEntry

type ATASMARTLogEntry [2]byte

See: https://developer.apple.com/documentation/iokit/atasmartlogentry ATASMARTLogEntry is opaque storage with the size and alignment C gives ATASMARTLogEntry: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type BDDiscInfo

type BDDiscInfo [34]byte

See: https://developer.apple.com/documentation/iokit/bddiscinfo BDDiscInfo is opaque storage with the size and alignment C gives BDDiscInfo: 34 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 34 into.

type BDTrackInfo

type BDTrackInfo [36]byte

See: https://developer.apple.com/documentation/iokit/bdtrackinfo BDTrackInfo is opaque storage with the size and alignment C gives BDTrackInfo: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type Block0

type Block0 [512]byte

See: https://developer.apple.com/documentation/iokit/block0 Block0 is opaque storage with the size and alignment C gives Block0: 512 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 512 into.

type Bm12Cursor

type Bm12Cursor struct {
	Image [4][16]uint32 // This array contains the cursor images.
	Mask  [4][16]uint32 // This array contains the cursor mask.
	Save  [16]uint32    // This array stores the pixel values of the region underneath the cursor in its last drawn position.

}

Bm12Cursor - Cursor image for 1-bit cursor.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/bm12cursor

type Bm18Cursor

type Bm18Cursor struct {
	Image [4][256]uint8 // This array contains cursor color values, which are converted to displayed colors through the color table. The array is two dimensional and its first index is the cursor frame and the second index is the cursor pixel.
	Mask  [4][256]uint8 // This array contains the cursor alpha mask. The array is two dimensional with the same indexing as the image. If an alpha mask pixel is 0 and the corresponding image pixel is set to white for the display, then this cursor pixel will invert pixels on the display.
	Save  [256]uint8    // This array stores the color values of the region underneath the cursor in its last drawn position.

}

Bm18Cursor - Cursor image for 8-bit cursor.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/bm18cursor

type Bm34Cursor

type Bm34Cursor struct {
	Image [4][256]uint16 // This array defines the cursor color values and transparency. The array is two dimensional and its first index is the cursor frame and the second index is the cursor pixel. A value of 0 means the pixel is transparent.
	Save  [256]uint16    // This array stores the color values of the region underneath the cursor in its last drawn position.

}

Bm34Cursor - Cursor image for 15-bit cursor.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/bm34cursor

type Bm38Cursor

type Bm38Cursor struct {
	Image [4][256]uint32 // This array defines the cursor color values and transparency. The array is two dimensional and its first index is the cursor frame and the second index is the cursor pixel. The lower 24 bits of a pixel's value contain the RGB color, while the upper 8 bits contain the alpha value.
	Save  [256]uint32    // This array stores the color values of the region underneath the cursor in its last drawn position.

}

Bm38Cursor - Cursor image for 24-bit cursor.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/bm38cursor

type CDATIP

type CDATIP [28]byte

See: https://developer.apple.com/documentation/iokit/cdatip CDATIP is opaque storage with the size and alignment C gives CDATIP: 28 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 28 into.

type CDAudioStatus

type CDAudioStatus [9]byte

See: https://developer.apple.com/documentation/iokit/cdaudiostatus CDAudioStatus is opaque storage with the size and alignment C gives CDAudioStatus: 9 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 9 into.

type CDDiscInfo

type CDDiscInfo [34]byte

See: https://developer.apple.com/documentation/iokit/cddiscinfo CDDiscInfo is opaque storage with the size and alignment C gives CDDiscInfo: 34 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 34 into.

type CDMSF

type CDMSF [3]byte

See: https://developer.apple.com/documentation/iokit/cdmsf CDMSF is opaque storage with the size and alignment C gives CDMSF: 3 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 3 into.

type CDPMA

type CDPMA [4]byte

See: https://developer.apple.com/documentation/iokit/cdpma CDPMA is opaque storage with the size and alignment C gives CDPMA: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type CDPMADescriptor

type CDPMADescriptor [11]byte

See: https://developer.apple.com/documentation/iokit/cdpmadescriptor CDPMADescriptor is opaque storage with the size and alignment C gives CDPMADescriptor: 11 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 11 into.

type CDTEXT

type CDTEXT [4]byte

See: https://developer.apple.com/documentation/iokit/cdtext CDTEXT is opaque storage with the size and alignment C gives CDTEXT: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type CDTEXTDescriptor

type CDTEXTDescriptor [18]byte

See: https://developer.apple.com/documentation/iokit/cdtextdescriptor CDTEXTDescriptor is opaque storage with the size and alignment C gives CDTEXTDescriptor: 18 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 18 into.

type CDTOC

type CDTOC [4]byte

See: https://developer.apple.com/documentation/iokit/cdtoc CDTOC is opaque storage with the size and alignment C gives CDTOC: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type CDTOCDescriptor

type CDTOCDescriptor [11]byte

See: https://developer.apple.com/documentation/iokit/cdtocdescriptor CDTOCDescriptor is opaque storage with the size and alignment C gives CDTOCDescriptor: 11 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 11 into.

type CDTrackInfo

type CDTrackInfo [36]byte

See: https://developer.apple.com/documentation/iokit/cdtrackinfo CDTrackInfo is opaque storage with the size and alignment C gives CDTrackInfo: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type ColorSpec

type ColorSpec [4]uint16

See: https://developer.apple.com/documentation/iokit/colorspec ColorSpec is opaque storage with the size and alignment C gives ColorSpec: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type DASDModeParameterBlockDescriptor

type DASDModeParameterBlockDescriptor [8]byte

See: https://developer.apple.com/documentation/iokit/dasdmodeparameterblockdescriptor DASDModeParameterBlockDescriptor is opaque storage with the size and alignment C gives DASDModeParameterBlockDescriptor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type DCLCallProc

type DCLCallProc [4]uint64

See: https://developer.apple.com/documentation/iokit/dclcallproc DCLCallProc is opaque storage with the size and alignment C gives DCLCallProc: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type DCLCommand

type DCLCommand [3]uint64

See: https://developer.apple.com/documentation/iokit/dclcommand DCLCommand is opaque storage with the size and alignment C gives DCLCommand: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type DCLJump

type DCLJump [3]uint64

See: https://developer.apple.com/documentation/iokit/dcljump DCLJump is opaque storage with the size and alignment C gives DCLJump: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type DCLLabel

type DCLLabel [2]uint64

See: https://developer.apple.com/documentation/iokit/dcllabel DCLLabel is opaque storage with the size and alignment C gives DCLLabel: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type DCLNuDCLLeader

type DCLNuDCLLeader [3]uint64

See: https://developer.apple.com/documentation/iokit/dclnudclleader DCLNuDCLLeader is opaque storage with the size and alignment C gives DCLNuDCLLeader: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type DCLPtrTimeStamp

type DCLPtrTimeStamp [3]uint64

See: https://developer.apple.com/documentation/iokit/dclptrtimestamp DCLPtrTimeStamp is opaque storage with the size and alignment C gives DCLPtrTimeStamp: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type DCLSetTagSyncBits

type DCLSetTagSyncBits [3]uint64

See: https://developer.apple.com/documentation/iokit/dclsettagsyncbits DCLSetTagSyncBits is opaque storage with the size and alignment C gives DCLSetTagSyncBits: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type DCLTimeStamp

type DCLTimeStamp [3]uint64

See: https://developer.apple.com/documentation/iokit/dcltimestamp DCLTimeStamp is opaque storage with the size and alignment C gives DCLTimeStamp: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type DCLTransferBuffer

type DCLTransferBuffer [5]uint64

See: https://developer.apple.com/documentation/iokit/dcltransferbuffer DCLTransferBuffer is opaque storage with the size and alignment C gives DCLTransferBuffer: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type DCLTransferPacket

type DCLTransferPacket [4]uint64

See: https://developer.apple.com/documentation/iokit/dcltransferpacket DCLTransferPacket is opaque storage with the size and alignment C gives DCLTransferPacket: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type DCLUpdateDCLList

type DCLUpdateDCLList [4]uint64

See: https://developer.apple.com/documentation/iokit/dclupdatedcllist DCLUpdateDCLList is opaque storage with the size and alignment C gives DCLUpdateDCLList: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type DDMap

type DDMap [8]byte

See: https://developer.apple.com/documentation/iokit/ddmap DDMap is opaque storage with the size and alignment C gives DDMap: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type DPME

type DPME [512]byte

See: https://developer.apple.com/documentation/iokit/dpme DPME is opaque storage with the size and alignment C gives DPME: 512 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 512 into.

type DVDAuthenticationGrantIDInfo

type DVDAuthenticationGrantIDInfo [8]byte

See: https://developer.apple.com/documentation/iokit/dvdauthenticationgrantidinfo DVDAuthenticationGrantIDInfo is opaque storage with the size and alignment C gives DVDAuthenticationGrantIDInfo: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type DVDAuthenticationSuccessFlagInfo

type DVDAuthenticationSuccessFlagInfo [8]byte

See: https://developer.apple.com/documentation/iokit/dvdauthenticationsuccessflaginfo DVDAuthenticationSuccessFlagInfo is opaque storage with the size and alignment C gives DVDAuthenticationSuccessFlagInfo: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type DVDChallengeKeyInfo

type DVDChallengeKeyInfo [16]byte

See: https://developer.apple.com/documentation/iokit/dvdchallengekeyinfo DVDChallengeKeyInfo is opaque storage with the size and alignment C gives DVDChallengeKeyInfo: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type DVDCopyrightInfo

type DVDCopyrightInfo [8]byte

See: https://developer.apple.com/documentation/iokit/dvdcopyrightinfo DVDCopyrightInfo is opaque storage with the size and alignment C gives DVDCopyrightInfo: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type DVDDiscInfo

type DVDDiscInfo [34]byte

See: https://developer.apple.com/documentation/iokit/dvddiscinfo DVDDiscInfo is opaque storage with the size and alignment C gives DVDDiscInfo: 34 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 34 into.

type DVDDiscKeyInfo

type DVDDiscKeyInfo [2052]byte

See: https://developer.apple.com/documentation/iokit/dvddisckeyinfo DVDDiscKeyInfo is opaque storage with the size and alignment C gives DVDDiscKeyInfo: 2052 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2052 into.

type DVDKey1Info

type DVDKey1Info [12]byte

See: https://developer.apple.com/documentation/iokit/dvdkey1info DVDKey1Info is opaque storage with the size and alignment C gives DVDKey1Info: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type DVDKey2Info

type DVDKey2Info [12]byte

See: https://developer.apple.com/documentation/iokit/dvdkey2info DVDKey2Info is opaque storage with the size and alignment C gives DVDKey2Info: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type DVDManufacturingInfo

type DVDManufacturingInfo [2052]byte

See: https://developer.apple.com/documentation/iokit/dvdmanufacturinginfo DVDManufacturingInfo is opaque storage with the size and alignment C gives DVDManufacturingInfo: 2052 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2052 into.

type DVDPhysicalFormatInfo

type DVDPhysicalFormatInfo [2052]byte

See: https://developer.apple.com/documentation/iokit/dvdphysicalformatinfo DVDPhysicalFormatInfo is opaque storage with the size and alignment C gives DVDPhysicalFormatInfo: 2052 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2052 into.

type DVDRZoneInfo

type DVDRZoneInfo [36]byte

See: https://developer.apple.com/documentation/iokit/dvdrzoneinfo DVDRZoneInfo is opaque storage with the size and alignment C gives DVDRZoneInfo: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type DVDRegionPlaybackControlInfo

type DVDRegionPlaybackControlInfo [8]byte

See: https://developer.apple.com/documentation/iokit/dvdregionplaybackcontrolinfo DVDRegionPlaybackControlInfo is opaque storage with the size and alignment C gives DVDRegionPlaybackControlInfo: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type DVDTitleKeyInfo

type DVDTitleKeyInfo [12]byte

See: https://developer.apple.com/documentation/iokit/dvdtitlekeyinfo DVDTitleKeyInfo is opaque storage with the size and alignment C gives DVDTitleKeyInfo: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type Disk_blk0

type Disk_blk0 struct {
	Bootcode  [446]uint8
	Parts     [4]Fdisk_part
	Signature uint16
}

Disk_blk0

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/disk_blk0

type DkBdReadDiscInfo added in v0.6.4

type DkBdReadDiscInfo = Dk_bd_read_disc_info_t

DkBdReadDiscInfo is a Go-name alias for Dk_bd_read_disc_info_t.

type DkBdReadStructure added in v0.6.4

type DkBdReadStructure = Dk_bd_read_structure_t

DkBdReadStructure is a Go-name alias for Dk_bd_read_structure_t.

type DkBdReadTrackInfo added in v0.6.4

type DkBdReadTrackInfo = Dk_bd_read_track_info_t

DkBdReadTrackInfo is a Go-name alias for Dk_bd_read_track_info_t.

type DkBdReportKey added in v0.6.4

type DkBdReportKey = Dk_bd_report_key_t

DkBdReportKey is a Go-name alias for Dk_bd_report_key_t.

type DkBdSendKey added in v0.6.4

type DkBdSendKey = Dk_bd_send_key_t

DkBdSendKey is a Go-name alias for Dk_bd_send_key_t.

type DkCdRead added in v0.6.4

type DkCdRead = Dk_cd_read_t

DkCdRead is a Go-name alias for Dk_cd_read_t.

type DkCdReadDiscInfo added in v0.6.4

type DkCdReadDiscInfo = Dk_cd_read_disc_info_t

DkCdReadDiscInfo is a Go-name alias for Dk_cd_read_disc_info_t.

type DkCdReadIsrc added in v0.6.4

type DkCdReadIsrc = Dk_cd_read_isrc_t

DkCdReadIsrc is a Go-name alias for Dk_cd_read_isrc_t.

type DkCdReadMcn added in v0.6.4

type DkCdReadMcn = Dk_cd_read_mcn_t

DkCdReadMcn is a Go-name alias for Dk_cd_read_mcn_t.

type DkCdReadToc added in v0.6.4

type DkCdReadToc = Dk_cd_read_toc_t

DkCdReadToc is a Go-name alias for Dk_cd_read_toc_t.

type DkCdReadTrackInfo added in v0.6.4

type DkCdReadTrackInfo = Dk_cd_read_track_info_t

DkCdReadTrackInfo is a Go-name alias for Dk_cd_read_track_info_t.

type DkDvdReadDiscInfo added in v0.6.4

type DkDvdReadDiscInfo = Dk_dvd_read_disc_info_t

DkDvdReadDiscInfo is a Go-name alias for Dk_dvd_read_disc_info_t.

type DkDvdReadRzoneInfo added in v0.6.4

type DkDvdReadRzoneInfo = Dk_dvd_read_rzone_info_t

DkDvdReadRzoneInfo is a Go-name alias for Dk_dvd_read_rzone_info_t.

type DkDvdReadStructure added in v0.6.4

type DkDvdReadStructure = Dk_dvd_read_structure_t

DkDvdReadStructure is a Go-name alias for Dk_dvd_read_structure_t.

type DkDvdReportKey added in v0.6.4

type DkDvdReportKey = Dk_dvd_report_key_t

DkDvdReportKey is a Go-name alias for Dk_dvd_report_key_t.

type DkDvdSendKey added in v0.6.4

type DkDvdSendKey = Dk_dvd_send_key_t

DkDvdSendKey is a Go-name alias for Dk_dvd_send_key_t.

type Dk_bd_read_disc_info_t

type Dk_bd_read_disc_info_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_bd_read_disc_info_t Dk_bd_read_disc_info_t is opaque storage with the size and alignment C gives dk_bd_read_disc_info_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_bd_read_structure_t

type Dk_bd_read_structure_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_bd_read_structure_t Dk_bd_read_structure_t is opaque storage with the size and alignment C gives dk_bd_read_structure_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_bd_read_track_info_t

type Dk_bd_read_track_info_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_bd_read_track_info_t Dk_bd_read_track_info_t is opaque storage with the size and alignment C gives dk_bd_read_track_info_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_bd_report_key_t

type Dk_bd_report_key_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_bd_report_key_t Dk_bd_report_key_t is opaque storage with the size and alignment C gives dk_bd_report_key_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_bd_send_key_t

type Dk_bd_send_key_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_bd_send_key_t Dk_bd_send_key_t is opaque storage with the size and alignment C gives dk_bd_send_key_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_cd_read_disc_info_t

type Dk_cd_read_disc_info_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_cd_read_disc_info_t Dk_cd_read_disc_info_t is opaque storage with the size and alignment C gives dk_cd_read_disc_info_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_cd_read_isrc_t

type Dk_cd_read_isrc_t [16]byte

See: https://developer.apple.com/documentation/iokit/dk_cd_read_isrc_t Dk_cd_read_isrc_t is opaque storage with the size and alignment C gives dk_cd_read_isrc_t: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type Dk_cd_read_mcn_t

type Dk_cd_read_mcn_t [16]byte

See: https://developer.apple.com/documentation/iokit/dk_cd_read_mcn_t Dk_cd_read_mcn_t is opaque storage with the size and alignment C gives dk_cd_read_mcn_t: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type Dk_cd_read_t

type Dk_cd_read_t [4]uint64

See: https://developer.apple.com/documentation/iokit/dk_cd_read_t Dk_cd_read_t is opaque storage with the size and alignment C gives dk_cd_read_t: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type Dk_cd_read_toc_t

type Dk_cd_read_toc_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_cd_read_toc_t Dk_cd_read_toc_t is opaque storage with the size and alignment C gives dk_cd_read_toc_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_cd_read_track_info_t

type Dk_cd_read_track_info_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_cd_read_track_info_t Dk_cd_read_track_info_t is opaque storage with the size and alignment C gives dk_cd_read_track_info_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_dvd_read_disc_info_t

type Dk_dvd_read_disc_info_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_dvd_read_disc_info_t Dk_dvd_read_disc_info_t is opaque storage with the size and alignment C gives dk_dvd_read_disc_info_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_dvd_read_rzone_info_t

type Dk_dvd_read_rzone_info_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_dvd_read_rzone_info_t Dk_dvd_read_rzone_info_t is opaque storage with the size and alignment C gives dk_dvd_read_rzone_info_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_dvd_read_structure_t

type Dk_dvd_read_structure_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_dvd_read_structure_t Dk_dvd_read_structure_t is opaque storage with the size and alignment C gives dk_dvd_read_structure_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_dvd_report_key_t

type Dk_dvd_report_key_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_dvd_report_key_t Dk_dvd_report_key_t is opaque storage with the size and alignment C gives dk_dvd_report_key_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type Dk_dvd_send_key_t

type Dk_dvd_send_key_t [3]uint64

See: https://developer.apple.com/documentation/iokit/dk_dvd_send_key_t Dk_dvd_send_key_t is opaque storage with the size and alignment C gives dk_dvd_send_key_t: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type EvGlobals

type EvGlobals [5816]uint32

See: https://developer.apple.com/documentation/iokit/evglobals EvGlobals is opaque storage with the size and alignment C gives EvGlobals: 23264 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 23264 into.

type EvOffsets

type EvOffsets [2]uint32

See: https://developer.apple.com/documentation/iokit/evoffsets EvOffsets is opaque storage with the size and alignment C gives EvOffsets: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type EvioSpecialKeyMsg added in v0.6.4

type EvioSpecialKeyMsg = EvioSpecialKeyMsg_t

EvioSpecialKeyMsg is a Go-name alias for EvioSpecialKeyMsg_t.

type EvioSpecialKeyMsg_t

type EvioSpecialKeyMsg_t unsafe.Pointer

See: https://developer.apple.com/documentation/iokit/eviospecialkeymsg_t EvioSpecialKeyMsg_t is an unresolved C aggregate typedef.

type FWAddress

type FWAddress [2]uint32

See: https://developer.apple.com/documentation/iokit/fwaddress FWAddress is opaque storage with the size and alignment C gives FWAddress: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type FWSBP2LoginCompleteParams

type FWSBP2LoginCompleteParams [5]uint64

See: https://developer.apple.com/documentation/iokit/fwsbp2logincompleteparams FWSBP2LoginCompleteParams is opaque storage with the size and alignment C gives FWSBP2LoginCompleteParams: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type FWSBP2LoginResponse

type FWSBP2LoginResponse [4]uint32

See: https://developer.apple.com/documentation/iokit/fwsbp2loginresponse FWSBP2LoginResponse is opaque storage with the size and alignment C gives FWSBP2LoginResponse: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type FWSBP2LogoutCompleteParams

type FWSBP2LogoutCompleteParams [4]uint64

See: https://developer.apple.com/documentation/iokit/fwsbp2logoutcompleteparams FWSBP2LogoutCompleteParams is opaque storage with the size and alignment C gives FWSBP2LogoutCompleteParams: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type FWSBP2NotifyParams

type FWSBP2NotifyParams [4]uint64

See: https://developer.apple.com/documentation/iokit/fwsbp2notifyparams FWSBP2NotifyParams is opaque storage with the size and alignment C gives FWSBP2NotifyParams: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type FWSBP2ReconnectParams

type FWSBP2ReconnectParams [4]uint64

See: https://developer.apple.com/documentation/iokit/fwsbp2reconnectparams FWSBP2ReconnectParams is opaque storage with the size and alignment C gives FWSBP2ReconnectParams: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type FWSBP2StatusBlock

type FWSBP2StatusBlock [8]uint32

See: https://developer.apple.com/documentation/iokit/fwsbp2statusblock FWSBP2StatusBlock is opaque storage with the size and alignment C gives FWSBP2StatusBlock: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type FWSBP2VirtualRange

type FWSBP2VirtualRange [2]uint64

See: https://developer.apple.com/documentation/iokit/fwsbp2virtualrange FWSBP2VirtualRange is opaque storage with the size and alignment C gives FWSBP2VirtualRange: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type Fdisk_part

type Fdisk_part struct {
	Bootid  uint8
	Beghead uint8
	Begsect uint8
	Begcyl  uint8
	Systid  uint8
	Endhead uint8
	Endsect uint8
	Endcyl  uint8
	Relsect uint32
	Numsect uint32
}

Fdisk_part

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/fdisk_part

type GammaTbl

type GammaTbl [7]uint16

See: https://developer.apple.com/documentation/iokit/gammatbl GammaTbl is opaque storage with the size and alignment C gives GammaTbl: 14 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 14 into.

type Gpt_ent

type Gpt_ent struct {
	Ent_type      [16]uint8
	Ent_uuid      [16]uint8
	Ent_lba_start uint64
	Ent_lba_end   uint64
	Ent_attr      uint64
	Ent_name      [36]uint16
}

Gpt_ent

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/gpt_ent

type Gpt_hdr

type Gpt_hdr struct {
	Hdr_sig      [8]uint8
	Hdr_revision uint32
	Hdr_size     uint32
	Hdr_crc_self uint32

	Hdr_lba_self  uint64
	Hdr_lba_alt   uint64
	Hdr_lba_start uint64
	Hdr_lba_end   uint64
	Hdr_uuid      [16]uint8
	Hdr_lba_table uint64
	Hdr_entries   uint32
	Hdr_entsz     uint32
	Hdr_crc_table uint32
	Padding       uint32
	// contains filtered or unexported fields
}

Gpt_hdr

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/gpt_hdr

type IOATASMARTInterface

type IOATASMARTInterface [16]uint64

IOATASMARTInterface is self-Monitoring, Analysis, and Reporting Technology Interface.

See: https://developer.apple.com/documentation/iokit/ioatasmartinterface IOATASMARTInterface is opaque storage with the size and alignment C gives IOATASMARTInterface: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.

type IOAccelBounds

type IOAccelBounds [4]uint16

See: https://developer.apple.com/documentation/iokit/ioaccelbounds IOAccelBounds is opaque storage with the size and alignment C gives IOAccelBounds: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOAccelDeviceRegion

type IOAccelDeviceRegion [3]uint32

See: https://developer.apple.com/documentation/iokit/ioacceldeviceregion IOAccelDeviceRegion is opaque storage with the size and alignment C gives IOAccelDeviceRegion: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type IOAccelSize

type IOAccelSize [2]uint16

See: https://developer.apple.com/documentation/iokit/ioaccelsize IOAccelSize is opaque storage with the size and alignment C gives IOAccelSize: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type IOAccelSurfaceInformation

type IOAccelSurfaceInformation [11]uint64

See: https://developer.apple.com/documentation/iokit/ioaccelsurfaceinformation IOAccelSurfaceInformation is opaque storage with the size and alignment C gives IOAccelSurfaceInformation: 88 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 88 into.

type IOAccelSurfaceReadData

type IOAccelSurfaceReadData [4]uint64

See: https://developer.apple.com/documentation/iokit/ioaccelsurfacereaddata IOAccelSurfaceReadData is opaque storage with the size and alignment C gives IOAccelSurfaceReadData: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type IOAccelSurfaceScaling

type IOAccelSurfaceScaling [11]uint32

See: https://developer.apple.com/documentation/iokit/ioaccelsurfacescaling IOAccelSurfaceScaling is opaque storage with the size and alignment C gives IOAccelSurfaceScaling: 44 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 44 into.

type IOAsyncCallback

type IOAsyncCallback = func(refcon unsafe.Pointer, result int32, args unsafe.Pointer, numArgs uint32)

IOAsyncCallback is standard callback function for asynchronous I/O requests with lots of extra arguments beyond a refcon and result code.

See: https://developer.apple.com/documentation/iokit/ioasynccallback

type IOAsyncCallback0

type IOAsyncCallback0 = func(refcon unsafe.Pointer, result int32)

IOAsyncCallback0 is standard callback function for asynchronous I/O requests with no extra arguments beyond a refcon and result code.

See: https://developer.apple.com/documentation/iokit/ioasynccallback0

type IOAsyncCallback1

type IOAsyncCallback1 = func(refcon unsafe.Pointer, result int32, arg0 unsafe.Pointer)

IOAsyncCallback1 is standard callback function for asynchronous I/O requests with one extra argument beyond a refcon and result code. This is often a count of the number of bytes transferred.

See: https://developer.apple.com/documentation/iokit/ioasynccallback1

type IOAsyncCallback2

type IOAsyncCallback2 = func(refcon unsafe.Pointer, result int32, arg0 unsafe.Pointer, arg1 unsafe.Pointer)

IOAsyncCallback2 is standard callback function for asynchronous I/O requests with two extra arguments beyond a refcon and result code.

See: https://developer.apple.com/documentation/iokit/ioasynccallback2

type IOAsyncCompletionContent

type IOAsyncCompletionContent struct {
	Result kernel.IOReturn
}

IOAsyncCompletionContent

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/ioasynccompletioncontent

type IOAudioBufferDataDescriptor

type IOAudioBufferDataDescriptor [5]uint32

See: https://developer.apple.com/documentation/iokit/ioaudiobufferdatadescriptor IOAudioBufferDataDescriptor is opaque storage with the size and alignment C gives IOAudioBufferDataDescriptor: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type IOAudioControlCalls

type IOAudioControlCalls = uint32

IOAudioControlCalls is the set of constants passed to IOAudioControlUserClient::getExternalMethodForIndex() when making calls from the IOAudioFamily user client code.

See: https://developer.apple.com/documentation/iokit/ioaudiocontrolcalls

type IOAudioControlNotifications

type IOAudioControlNotifications = uint32

IOAudioControlNotifications is the set of constants passed in the type field of IOAudioControlUserClient::registerNotificaitonPort().

See: https://developer.apple.com/documentation/iokit/ioaudiocontrolnotifications

type IOAudioEngineCalls

type IOAudioEngineCalls = uint32

IOAudioEngineCalls is the set of constants passed to IOAudioEngineUserClient::getExternalMethodForIndex() when making calls from the IOAudioFamily user client code.

See: https://developer.apple.com/documentation/iokit/ioaudioenginecalls

type IOAudioEngineMemory

type IOAudioEngineMemory = uint32

IOAudioEngineMemory is used to identify the type of memory requested by a client process to be mapped into its process space.

See: https://developer.apple.com/documentation/iokit/ioaudioenginememory

type IOAudioEngineState

type IOAudioEngineState = uint32

IOAudioEngineState is represents the state of an IOAudioEngine.

See: https://developer.apple.com/documentation/iokit/ioaudioenginestate

type IOAudioEngineStatus

type IOAudioEngineStatus [5]uint32

IOAudioEngineStatus is shared-memory structure giving audio engine status.

See: https://developer.apple.com/documentation/iokit/ioaudioenginestatus IOAudioEngineStatus is opaque storage with the size and alignment C gives IOAudioEngineStatus: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type IOAudioNotificationMessage

type IOAudioNotificationMessage [5]uint64

IOAudioNotificationMessage is used in the mach message for IOAudio notifications.

See: https://developer.apple.com/documentation/iokit/ioaudionotificationmessage IOAudioNotificationMessage is opaque storage with the size and alignment C gives IOAudioNotificationMessage: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type IOAudioSMPTETime

type IOAudioSMPTETime [6]uint32

IOAudioSMPTETime is a structure for holding a SMPTE time.

See: https://developer.apple.com/documentation/iokit/ioaudiosmptetime IOAudioSMPTETime is opaque storage with the size and alignment C gives IOAudioSMPTETime: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOAudioSampleIntervalDescriptor

type IOAudioSampleIntervalDescriptor [2]uint32

See: https://developer.apple.com/documentation/iokit/ioaudiosampleintervaldescriptor IOAudioSampleIntervalDescriptor is opaque storage with the size and alignment C gives IOAudioSampleIntervalDescriptor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOAudioSampleRate

type IOAudioSampleRate [2]uint32

See: https://developer.apple.com/documentation/iokit/ioaudiosamplerate IOAudioSampleRate is opaque storage with the size and alignment C gives IOAudioSampleRate: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOAudioStreamDataDescriptor

type IOAudioStreamDataDescriptor [3]uint32

See: https://developer.apple.com/documentation/iokit/ioaudiostreamdatadescriptor IOAudioStreamDataDescriptor is opaque storage with the size and alignment C gives IOAudioStreamDataDescriptor: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type IOAudioStreamDirection

type IOAudioStreamDirection = uint32

IOAudioStreamDirection is represents the direction of an IOAudioStream.

See: https://developer.apple.com/documentation/iokit/ioaudiostreamdirection

type IOAudioStreamFormat

type IOAudioStreamFormat [6]uint32

See: https://developer.apple.com/documentation/iokit/ioaudiostreamformat IOAudioStreamFormat is opaque storage with the size and alignment C gives IOAudioStreamFormat: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOAudioStreamFormatExtension

type IOAudioStreamFormatExtension [4]uint32

See: https://developer.apple.com/documentation/iokit/ioaudiostreamformatextension IOAudioStreamFormatExtension is opaque storage with the size and alignment C gives IOAudioStreamFormatExtension: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type IOAudioTimeStamp

type IOAudioTimeStamp [8]uint64

See: https://developer.apple.com/documentation/iokit/ioaudiotimestamp IOAudioTimeStamp is opaque storage with the size and alignment C gives IOAudioTimeStamp: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type IOBlitCopyRectangle

type IOBlitCopyRectangle [6]uint32

See: https://developer.apple.com/documentation/iokit/ioblitcopyrectangle IOBlitCopyRectangle is opaque storage with the size and alignment C gives IOBlitCopyRectangle: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOBlitCopyRectangles

type IOBlitCopyRectangles [29]uint32

See: https://developer.apple.com/documentation/iokit/ioblitcopyrectangles IOBlitCopyRectangles is opaque storage with the size and alignment C gives IOBlitCopyRectangles: 116 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 116 into.

type IOBlitCopyRegion

type IOBlitCopyRegion [13]uint64

See: https://developer.apple.com/documentation/iokit/ioblitcopyregion IOBlitCopyRegion is opaque storage with the size and alignment C gives IOBlitCopyRegion: 104 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 104 into.

type IOBlitCursor

type IOBlitCursor [26]uint32

See: https://developer.apple.com/documentation/iokit/ioblitcursor IOBlitCursor is opaque storage with the size and alignment C gives IOBlitCursor: 104 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 104 into.

type IOBlitMemory

type IOBlitMemory [15]uint64

See: https://developer.apple.com/documentation/iokit/ioblitmemory IOBlitMemory is opaque storage with the size and alignment C gives IOBlitMemory: 120 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 120 into.

type IOBlitOperation

type IOBlitOperation [22]uint32

See: https://developer.apple.com/documentation/iokit/ioblitoperation IOBlitOperation is opaque storage with the size and alignment C gives IOBlitOperation: 88 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 88 into.

type IOBlitRectangle

type IOBlitRectangle [4]uint32

See: https://developer.apple.com/documentation/iokit/ioblitrectangle IOBlitRectangle is opaque storage with the size and alignment C gives IOBlitRectangle: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type IOBlitRectangles

type IOBlitRectangles [27]uint32

See: https://developer.apple.com/documentation/iokit/ioblitrectangles IOBlitRectangles is opaque storage with the size and alignment C gives IOBlitRectangles: 108 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 108 into.

type IOBlitScanlines

type IOBlitScanlines [27]uint32

See: https://developer.apple.com/documentation/iokit/ioblitscanlines IOBlitScanlines is opaque storage with the size and alignment C gives IOBlitScanlines: 108 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 108 into.

type IOBlitSurface

type IOBlitSurface [15]uint64

See: https://developer.apple.com/documentation/iokit/ioblitsurface IOBlitSurface is opaque storage with the size and alignment C gives IOBlitSurface: 120 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 120 into.

type IOBlitVertex

type IOBlitVertex [2]uint32

See: https://developer.apple.com/documentation/iokit/ioblitvertex IOBlitVertex is opaque storage with the size and alignment C gives IOBlitVertex: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOBlitVertices

type IOBlitVertices [27]uint32

See: https://developer.apple.com/documentation/iokit/ioblitvertices IOBlitVertices is opaque storage with the size and alignment C gives IOBlitVertices: 108 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 108 into.

type IOCFPlugInInterface

type IOCFPlugInInterface [8]uint64

See: https://developer.apple.com/documentation/iokit/iocfplugininterfacestruct IOCFPlugInInterface is opaque storage with the size and alignment C gives IOCFPlugInInterface: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type IOColorEntry

type IOColorEntry [4]uint16

See: https://developer.apple.com/documentation/iokit/iocolorentry IOColorEntry is opaque storage with the size and alignment C gives IOColorEntry: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOConnect added in v0.6.4

type IOConnect = Io_connect_t

IOConnect is a Go-name alias for Io_connect_t.

type IODataQueueAppendix

type IODataQueueAppendix [7]uint32

IODataQueueAppendix is a struct mapping to the appendix region of a data queue.

See: https://developer.apple.com/documentation/iokit/iodataqueueappendix IODataQueueAppendix is opaque storage with the size and alignment C gives IODataQueueAppendix: 28 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 28 into.

type IODataQueueEntry

type IODataQueueEntry [2]uint32

IODataQueueEntry is represents an entry within the data queue.

See: https://developer.apple.com/documentation/iokit/iodataqueueentry IODataQueueEntry is opaque storage with the size and alignment C gives IODataQueueEntry: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

func IODataQueuePeek

func IODataQueuePeek(dataQueue *IODataQueueMemory) IODataQueueEntry

IODataQueuePeek used to peek at the next entry on the queue.

It panics if IODataQueuePeek is unavailable at run time; use TryIODataQueuePeek to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514649-iodataqueuepeek

func TryIODataQueuePeek

func TryIODataQueuePeek(dataQueue *IODataQueueMemory) (IODataQueueEntry, error)

TryIODataQueuePeek is like IODataQueuePeek but returns an error instead of panicking if IODataQueuePeek is unavailable at run time.

type IODataQueueMemory

type IODataQueueMemory [5]uint32

IODataQueueMemory is a struct mapping to the header region of a data queue.

See: https://developer.apple.com/documentation/iokit/iodataqueuememory IODataQueueMemory is opaque storage with the size and alignment C gives IODataQueueMemory: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type IODetailedTimingInformationV1

type IODetailedTimingInformationV1 [11]uint32

See: https://developer.apple.com/documentation/iokit/iodetailedtiminginformationv1 IODetailedTimingInformationV1 is opaque storage with the size and alignment C gives IODetailedTimingInformationV1: 44 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 44 into.

type IODetailedTimingInformationV2

type IODetailedTimingInformationV2 [20]uint64

See: https://developer.apple.com/documentation/iokit/iodetailedtiminginformationv2 IODetailedTimingInformationV2 is opaque storage with the size and alignment C gives IODetailedTimingInformationV2: 160 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 160 into.

type IODisplayModeInformation

type IODisplayModeInformation [9]uint32

See: https://developer.apple.com/documentation/iokit/iodisplaymodeinformation IODisplayModeInformation is opaque storage with the size and alignment C gives IODisplayModeInformation: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type IODisplayScalerInformation

type IODisplayScalerInformation [12]uint32

See: https://developer.apple.com/documentation/iokit/iodisplayscalerinformation IODisplayScalerInformation is opaque storage with the size and alignment C gives IODisplayScalerInformation: 48 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 48 into.

type IODisplayTimingRangeV1

type IODisplayTimingRangeV1 [30]uint64

See: https://developer.apple.com/documentation/iokit/iodisplaytimingrangev1 IODisplayTimingRangeV1 is opaque storage with the size and alignment C gives IODisplayTimingRangeV1: 240 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 240 into.

type IODisplayTimingRangeV2

type IODisplayTimingRangeV2 [39]uint64

See: https://developer.apple.com/documentation/iokit/iodisplaytimingrangev2 IODisplayTimingRangeV2 is opaque storage with the size and alignment C gives IODisplayTimingRangeV2: 312 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 312 into.

type IODot3CollEntry

type IODot3CollEntry [1]byte

See: https://developer.apple.com/documentation/iokit/iodot3collentry IODot3CollEntry is opaque storage with the size and alignment C gives IODot3CollEntry: 1 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1 into.

type IODot3RxExtraEntry

type IODot3RxExtraEntry [1]byte

See: https://developer.apple.com/documentation/iokit/iodot3rxextraentry IODot3RxExtraEntry is opaque storage with the size and alignment C gives IODot3RxExtraEntry: 1 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1 into.

type IODot3StatsEntry

type IODot3StatsEntry [1]byte

See: https://developer.apple.com/documentation/iokit/iodot3statsentry IODot3StatsEntry is opaque storage with the size and alignment C gives IODot3StatsEntry: 1 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1 into.

type IODot3TxExtraEntry

type IODot3TxExtraEntry [1]byte

See: https://developer.apple.com/documentation/iokit/iodot3txextraentry IODot3TxExtraEntry is opaque storage with the size and alignment C gives IODot3TxExtraEntry: 1 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1 into.

type IOEnumerator added in v0.6.4

type IOEnumerator = Io_enumerator_t

IOEnumerator is a Go-name alias for Io_enumerator_t.

type IOEthernetStats

type IOEthernetStats [1]byte

See: https://developer.apple.com/documentation/iokit/ioethernetstats IOEthernetStats is opaque storage with the size and alignment C gives IOEthernetStats: 1 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 1 into.

type IOFBDPLinkConfig

type IOFBDPLinkConfig [14]uint16

See: https://developer.apple.com/documentation/iokit/iofbdplinkconfig IOFBDPLinkConfig is opaque storage with the size and alignment C gives IOFBDPLinkConfig: 28 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 28 into.

type IOFBDisplayModeDescription

type IOFBDisplayModeDescription [51]uint32

See: https://developer.apple.com/documentation/iokit/iofbdisplaymodedescription IOFBDisplayModeDescription is opaque storage with the size and alignment C gives IOFBDisplayModeDescription: 204 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 204 into.

type IOFBHDRMetaDataV1

type IOFBHDRMetaDataV1 [8]uint64

See: https://developer.apple.com/documentation/iokit/iofbhdrmetadatav1 IOFBHDRMetaDataV1 is opaque storage with the size and alignment C gives IOFBHDRMetaDataV1: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type IOFWAsyncStreamListenerInterface

type IOFWAsyncStreamListenerInterface [15]uint64

IOFWAsyncStreamListenerInterface is represents and provides management functions for a asyn stream listener object.

See: https://developer.apple.com/documentation/iokit/iofwasyncstreamlistenerinterface IOFWAsyncStreamListenerInterface is opaque storage with the size and alignment C gives IOFWAsyncStreamListenerInterface: 120 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 120 into.

type IOFireWireAVCLibAsynchronousCommand

type IOFireWireAVCLibAsynchronousCommand [8]uint64

See: https://developer.apple.com/documentation/iokit/iofirewireavclibasynchronouscommand IOFireWireAVCLibAsynchronousCommand is opaque storage with the size and alignment C gives IOFireWireAVCLibAsynchronousCommand: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type IOFireWireAVCLibConsumerInterface

type IOFireWireAVCLibConsumerInterface [19]uint64

IOFireWireAVCLibConsumerInterface is interface for an asynchronous connection consumer.

See: https://developer.apple.com/documentation/iokit/iofirewireavclibconsumerinterface IOFireWireAVCLibConsumerInterface is opaque storage with the size and alignment C gives IOFireWireAVCLibConsumerInterface: 152 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 152 into.

type IOFireWireAVCLibProtocolInterface

type IOFireWireAVCLibProtocolInterface [30]uint64

IOFireWireAVCLibProtocolInterface is initial interface discovered for all AVC protocol drivers.

See: https://developer.apple.com/documentation/iokit/iofirewireavclibprotocolinterface IOFireWireAVCLibProtocolInterface is opaque storage with the size and alignment C gives IOFireWireAVCLibProtocolInterface: 240 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 240 into.

type IOFireWireAVCLibUnitInterface

type IOFireWireAVCLibUnitInterface [29]uint64

IOFireWireAVCLibUnitInterface is initial interface discovered for all AVC Unit drivers.

See: https://developer.apple.com/documentation/iokit/iofirewireavclibunitinterface IOFireWireAVCLibUnitInterface is opaque storage with the size and alignment C gives IOFireWireAVCLibUnitInterface: 232 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 232 into.

type IOFireWireAsyncStreamCommandInterface

type IOFireWireAsyncStreamCommandInterface [29]uint64

See: https://developer.apple.com/documentation/iokit/iofirewireasyncstreamcommandinterface IOFireWireAsyncStreamCommandInterface is opaque storage with the size and alignment C gives IOFireWireAsyncStreamCommandInterface: 232 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 232 into.

type IOFireWireCommandInterface

type IOFireWireCommandInterface [26]uint64

IOFireWireCommandInterface is iOFireWireLib command object.

See: https://developer.apple.com/documentation/iokit/iofirewirecommandinterface IOFireWireCommandInterface is opaque storage with the size and alignment C gives IOFireWireCommandInterface: 208 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 208 into.

type IOFireWireCompareSwapCommandInterface

type IOFireWireCompareSwapCommandInterface [22]uint64

See: https://developer.apple.com/documentation/iokit/iofirewirecompareswapcommandinterface IOFireWireCompareSwapCommandInterface is opaque storage with the size and alignment C gives IOFireWireCompareSwapCommandInterface: 176 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 176 into.

type IOFireWireCompareSwapCommandInterfaceV3 added in v0.6.4

type IOFireWireCompareSwapCommandInterfaceV3 = IOFireWireCompareSwapCommandInterface_v3

IOFireWireCompareSwapCommandInterfaceV3 is a Go-name alias for IOFireWireCompareSwapCommandInterface_v3.

type IOFireWireCompareSwapCommandInterface_v3

type IOFireWireCompareSwapCommandInterface_v3 [31]uint64

See: https://developer.apple.com/documentation/iokit/iofirewirecompareswapcommandinterface_v3 IOFireWireCompareSwapCommandInterface_v3 is opaque storage with the size and alignment C gives IOFireWireCompareSwapCommandInterface_v3: 248 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 248 into.

type IOFireWireConfigDirectoryInterface

type IOFireWireConfigDirectoryInterface [24]uint64

IOFireWireConfigDirectoryInterface is iOFireWireLib device config ROM browsing interface.

See: https://developer.apple.com/documentation/iokit/iofirewireconfigdirectoryinterface IOFireWireConfigDirectoryInterface is opaque storage with the size and alignment C gives IOFireWireConfigDirectoryInterface: 192 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 192 into.

type IOFireWireDCLCommandPoolInterface

type IOFireWireDCLCommandPoolInterface [26]uint64

See: https://developer.apple.com/documentation/iokit/iofirewiredclcommandpoolinterface IOFireWireDCLCommandPoolInterface is opaque storage with the size and alignment C gives IOFireWireDCLCommandPoolInterface: 208 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 208 into.

type IOFireWireDeviceInterface

type IOFireWireDeviceInterface [79]uint64

IOFireWireDeviceInterface is iOFireWireDeviceInterface is your primary gateway to the functionality contained in IOFireWireLib.

See: https://developer.apple.com/documentation/iokit/iofirewiredeviceinterface IOFireWireDeviceInterface is opaque storage with the size and alignment C gives IOFireWireDeviceInterface: 632 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 632 into.

type IOFireWireIsochChannelInterface

type IOFireWireIsochChannelInterface [18]uint64

IOFireWireIsochChannelInterface is fireWire user client isochronous channel object.

See: https://developer.apple.com/documentation/iokit/iofirewireisochchannelinterface IOFireWireIsochChannelInterface is opaque storage with the size and alignment C gives IOFireWireIsochChannelInterface: 144 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 144 into.

type IOFireWireIsochPortInterface

type IOFireWireIsochPortInterface [12]uint64

IOFireWireIsochPortInterface is fireWire user client isochronous port interface.

See: https://developer.apple.com/documentation/iokit/iofirewireisochportinterface IOFireWireIsochPortInterface is opaque storage with the size and alignment C gives IOFireWireIsochPortInterface: 96 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 96 into.

type IOFireWireLibIRMAllocationInterface

type IOFireWireLibIRMAllocationInterface [14]uint64

See: https://developer.apple.com/documentation/iokit/iofirewirelibirmallocationinterface IOFireWireLibIRMAllocationInterface is opaque storage with the size and alignment C gives IOFireWireLibIRMAllocationInterface: 112 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 112 into.

type IOFireWireLibPHYPacketListenerInterface

type IOFireWireLibPHYPacketListenerInterface [15]uint64

IOFireWireLibPHYPacketListenerInterface is represents and provides management functions for a phy packet listener object.

See: https://developer.apple.com/documentation/iokit/iofirewirelibphypacketlistenerinterface IOFireWireLibPHYPacketListenerInterface is opaque storage with the size and alignment C gives IOFireWireLibPHYPacketListenerInterface: 120 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 120 into.

type IOFireWireLibVectorCommandInterface

type IOFireWireLibVectorCommandInterface [22]uint64

IOFireWireLibVectorCommandInterface is iOFireWireLib command object for grouping commands execution.

See: https://developer.apple.com/documentation/iokit/iofirewirelibvectorcommandinterface IOFireWireLibVectorCommandInterface is opaque storage with the size and alignment C gives IOFireWireLibVectorCommandInterface: 176 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 176 into.

type IOFireWireLocalIsochPortInterface

type IOFireWireLocalIsochPortInterface [20]uint64

IOFireWireLocalIsochPortInterface is fireWire user client local isochronous port object.

See: https://developer.apple.com/documentation/iokit/iofirewirelocalisochportinterface IOFireWireLocalIsochPortInterface is opaque storage with the size and alignment C gives IOFireWireLocalIsochPortInterface: 160 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 160 into.

type IOFireWireLocalUnitDirectoryInterface

type IOFireWireLocalUnitDirectoryInterface [10]uint64

See: https://developer.apple.com/documentation/iokit/iofirewirelocalunitdirectoryinterface IOFireWireLocalUnitDirectoryInterface is opaque storage with the size and alignment C gives IOFireWireLocalUnitDirectoryInterface: 80 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 80 into.

type IOFireWireNuDCLPoolInterface

type IOFireWireNuDCLPoolInterface [53]uint64

IOFireWireNuDCLPoolInterface is use this interface to build NuDCL-based DCL programs.

See: https://developer.apple.com/documentation/iokit/iofirewirenudclpoolinterface IOFireWireNuDCLPoolInterface is opaque storage with the size and alignment C gives IOFireWireNuDCLPoolInterface: 424 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 424 into.

type IOFireWireNubInterface

type IOFireWireNubInterface [79]uint64

See: https://developer.apple.com/documentation/iokit/iofirewirenubinterface IOFireWireNubInterface is opaque storage with the size and alignment C gives IOFireWireNubInterface: 632 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 632 into.

type IOFireWirePHYCommandInterface

type IOFireWirePHYCommandInterface [27]uint64

See: https://developer.apple.com/documentation/iokit/iofirewirephycommandinterface IOFireWirePHYCommandInterface is opaque storage with the size and alignment C gives IOFireWirePHYCommandInterface: 216 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 216 into.

type IOFireWirePhysicalAddressSpaceInterface

type IOFireWirePhysicalAddressSpaceInterface [11]uint64

IOFireWirePhysicalAddressSpaceInterface is iOFireWireLib physical address space object. ( interface name: IOFireWirePhysicalAddressSpaceInterface ).

See: https://developer.apple.com/documentation/iokit/iofirewirephysicaladdressspaceinterface IOFireWirePhysicalAddressSpaceInterface is opaque storage with the size and alignment C gives IOFireWirePhysicalAddressSpaceInterface: 88 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 88 into.

type IOFireWirePseudoAddressSpaceInterface

type IOFireWirePseudoAddressSpaceInterface [16]uint64

See: https://developer.apple.com/documentation/iokit/iofirewirepseudoaddressspaceinterface IOFireWirePseudoAddressSpaceInterface is opaque storage with the size and alignment C gives IOFireWirePseudoAddressSpaceInterface: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.

type IOFireWireReadCommandInterface

type IOFireWireReadCommandInterface [26]uint64

IOFireWireReadCommandInterface is iOFireWireLib block read command object.

See: https://developer.apple.com/documentation/iokit/iofirewirereadcommandinterface IOFireWireReadCommandInterface is opaque storage with the size and alignment C gives IOFireWireReadCommandInterface: 208 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 208 into.

type IOFireWireReadQuadletCommandInterface

type IOFireWireReadQuadletCommandInterface [17]uint64

IOFireWireReadQuadletCommandInterface is iOFireWireReadQuadletCommandInterface -- IOFireWireLib quadlet read command object.

See: https://developer.apple.com/documentation/iokit/iofirewirereadquadletcommandinterface IOFireWireReadQuadletCommandInterface is opaque storage with the size and alignment C gives IOFireWireReadQuadletCommandInterface: 136 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 136 into.

type IOFireWireRemoteIsochPortInterface

type IOFireWireRemoteIsochPortInterface [17]uint64

See: https://developer.apple.com/documentation/iokit/iofirewireremoteisochportinterface IOFireWireRemoteIsochPortInterface is opaque storage with the size and alignment C gives IOFireWireRemoteIsochPortInterface: 136 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 136 into.

type IOFireWireSBP2LibLUNInterface

type IOFireWireSBP2LibLUNInterface [16]uint64

IOFireWireSBP2LibLUNInterface is initial interface disovered for all drivers.

See: https://developer.apple.com/documentation/iokit/iofirewiresbp2libluninterface IOFireWireSBP2LibLUNInterface is opaque storage with the size and alignment C gives IOFireWireSBP2LibLUNInterface: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.

type IOFireWireSBP2LibLoginInterface

type IOFireWireSBP2LibLoginInterface [27]uint64

IOFireWireSBP2LibLoginInterface is supplies the login maintenance and Normal Command ORB execution portions of the API.

See: https://developer.apple.com/documentation/iokit/iofirewiresbp2liblogininterface IOFireWireSBP2LibLoginInterface is opaque storage with the size and alignment C gives IOFireWireSBP2LibLoginInterface: 216 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 216 into.

type IOFireWireSBP2LibMgmtORBInterface

type IOFireWireSBP2LibMgmtORBInterface [13]uint64

IOFireWireSBP2LibMgmtORBInterface is supplies non login related management ORBs. Management ORBs can be executed independent of a login, if necessary. Management ORBs are created using the IOFireWireSBP2LibLUNInterface.

See: https://developer.apple.com/documentation/iokit/iofirewiresbp2libmgmtorbinterface IOFireWireSBP2LibMgmtORBInterface is opaque storage with the size and alignment C gives IOFireWireSBP2LibMgmtORBInterface: 104 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 104 into.

type IOFireWireSBP2LibORBInterface

type IOFireWireSBP2LibORBInterface [17]uint64

IOFireWireSBP2LibORBInterface is represents an SBP2 normal command ORB. Supplies the APIs for configuring normal command ORBs. This includes setting the command block and writing the page tables for I/O. The ORBs are executed using the submitORB method in IOFireWireSBP2LibLoginInterface.

See: https://developer.apple.com/documentation/iokit/iofirewiresbp2liborbinterface IOFireWireSBP2LibORBInterface is opaque storage with the size and alignment C gives IOFireWireSBP2LibORBInterface: 136 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 136 into.

type IOFireWireUnitInterface

type IOFireWireUnitInterface [79]uint64

See: https://developer.apple.com/documentation/iokit/iofirewireunitinterface IOFireWireUnitInterface is opaque storage with the size and alignment C gives IOFireWireUnitInterface: 632 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 632 into.

type IOFireWireWriteCommandInterface

type IOFireWireWriteCommandInterface [26]uint64

IOFireWireWriteCommandInterface is iOFireWireLib block read command object.

See: https://developer.apple.com/documentation/iokit/iofirewirewritecommandinterface IOFireWireWriteCommandInterface is opaque storage with the size and alignment C gives IOFireWireWriteCommandInterface: 208 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 208 into.

type IOFireWireWriteQuadletCommandInterface

type IOFireWireWriteQuadletCommandInterface [17]uint64

IOFireWireWriteQuadletCommandInterface is iOFireWireLib quadlet read command object.

See: https://developer.apple.com/documentation/iokit/iofirewirewritequadletcommandinterface IOFireWireWriteQuadletCommandInterface is opaque storage with the size and alignment C gives IOFireWireWriteQuadletCommandInterface: 136 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 136 into.

type IOFixedPoint32

type IOFixedPoint32 [2]uint32

See: https://developer.apple.com/documentation/iokit/iofixedpoint32 IOFixedPoint32 is opaque storage with the size and alignment C gives IOFixedPoint32: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOFramebufferInformation

type IOFramebufferInformation [8]uint64

See: https://developer.apple.com/documentation/iokit/ioframebufferinformation IOFramebufferInformation is opaque storage with the size and alignment C gives IOFramebufferInformation: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type IOGBounds

type IOGBounds [4]uint16

See: https://developer.apple.com/documentation/iokit/iogbounds IOGBounds is opaque storage with the size and alignment C gives IOGBounds: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOGPoint

type IOGPoint [2]uint16

See: https://developer.apple.com/documentation/iokit/iogpoint IOGPoint is opaque storage with the size and alignment C gives IOGPoint: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type IOGSize

type IOGSize [2]uint16

See: https://developer.apple.com/documentation/iokit/iogsize IOGSize is opaque storage with the size and alignment C gives IOGSize: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type IOGraphicsAcceleratorInterface

type IOGraphicsAcceleratorInterface [47]uint64

See: https://developer.apple.com/documentation/iokit/iographicsacceleratorinterface IOGraphicsAcceleratorInterface is opaque storage with the size and alignment C gives IOGraphicsAcceleratorInterface: 376 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 376 into.

type IOGraphicsEngineContext

type IOGraphicsEngineContext struct {
	ContextLock int32
	State       uint32
	Owner       unsafe.Pointer
	Version     uint32
	StructSize  uint
	Reserved    [8]uint32
}

IOGraphicsEngineContext

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iographicsenginecontext

type IOHIDAccessType

type IOHIDAccessType = uint32

See: https://developer.apple.com/documentation/iokit/iohidaccesstype

func IOHIDCheckAccess

func IOHIDCheckAccess(requestType IOHIDRequestType) IOHIDAccessType

IOHIDCheckAccess.

It panics if IOHIDCheckAccess is unavailable at run time; use TryIOHIDCheckAccess to get an error instead.

See: https://developer.apple.com/documentation/iokit/3181573-iohidcheckaccess

func TryIOHIDCheckAccess

func TryIOHIDCheckAccess(requestType IOHIDRequestType) (IOHIDAccessType, error)

TryIOHIDCheckAccess is like IOHIDCheckAccess but returns an error instead of panicking if IOHIDCheckAccess is unavailable at run time.

type IOHIDCompletion

type IOHIDCompletion [3]uint64

See: https://developer.apple.com/documentation/iokit/iohidcompletion IOHIDCompletion is opaque storage with the size and alignment C gives IOHIDCompletion: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOHIDDeviceDeviceInterface

type IOHIDDeviceDeviceInterface [15]uint64

IOHIDDeviceDeviceInterface is the object you use to access HID devices from user space, returned by version 1.5 of the IOHIDFamily.

See: https://developer.apple.com/documentation/iokit/iohiddevicedeviceinterface IOHIDDeviceDeviceInterface is opaque storage with the size and alignment C gives IOHIDDeviceDeviceInterface: 120 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 120 into.

type IOHIDDeviceInterface

type IOHIDDeviceInterface [20]uint64

IOHIDDeviceInterface is cFPlugin object subclass which provides the primary interface to HID devices.

See: https://developer.apple.com/documentation/iokit/iohiddeviceinterface IOHIDDeviceInterface is opaque storage with the size and alignment C gives IOHIDDeviceInterface: 160 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 160 into.

type IOHIDDeviceInterface121

type IOHIDDeviceInterface121 [20]uint64

IOHIDDeviceInterface121 is cFPlugin object subclass which provides the primary interface to HID devices. This class is a subclass of IOHIDDeviceInterface.

See: https://developer.apple.com/documentation/iokit/iohiddeviceinterface121 IOHIDDeviceInterface121 is opaque storage with the size and alignment C gives IOHIDDeviceInterface121: 160 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 160 into.

type IOHIDDeviceInterface122

type IOHIDDeviceInterface122 [22]uint64

IOHIDDeviceInterface122 is cFPlugin object subclass which provides the primary interface to HID devices. This class is a subclass of IOHIDDeviceInterface121.

See: https://developer.apple.com/documentation/iokit/iohiddeviceinterface122 IOHIDDeviceInterface122 is opaque storage with the size and alignment C gives IOHIDDeviceInterface122: 176 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 176 into.

type IOHIDDeviceQueueInterface

type IOHIDDeviceQueueInterface [14]uint64

IOHIDDeviceQueueInterface is the object you use to access a HID queue from user space, returned by version 1.5 of the IOHIDFamily.

See: https://developer.apple.com/documentation/iokit/iohiddevicequeueinterface IOHIDDeviceQueueInterface is opaque storage with the size and alignment C gives IOHIDDeviceQueueInterface: 112 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 112 into.

type IOHIDDeviceRef

type IOHIDDeviceRef uintptr

See: https://developer.apple.com/documentation/iokit/iohiddeviceref

func IOHIDDeviceCreate

func IOHIDDeviceCreate(allocator corefoundation.CFAllocatorRef, service uint32) IOHIDDeviceRef

IOHIDDeviceCreate creates an element from an io_service_t.

It panics if IOHIDDeviceCreate is unavailable at run time; use TryIOHIDDeviceCreate to get an error instead.

See: https://developer.apple.com/documentation/iokit/1588663-iohiddevicecreate

func IOHIDElementGetDevice

func IOHIDElementGetDevice(element IOHIDElementRef) IOHIDDeviceRef

IOHIDElementGetDevice obtain the device associated with the element.

It panics if IOHIDElementGetDevice is unavailable at run time; use TryIOHIDElementGetDevice to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564139-iohidelementgetdevice

func IOHIDQueueGetDevice

func IOHIDQueueGetDevice(queue IOHIDQueueRef) IOHIDDeviceRef

IOHIDQueueGetDevice obtain the device associated with the queue.

It panics if IOHIDQueueGetDevice is unavailable at run time; use TryIOHIDQueueGetDevice to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545839-iohidqueuegetdevice

func IOHIDTransactionGetDevice

func IOHIDTransactionGetDevice(transaction IOHIDTransactionRef) IOHIDDeviceRef

IOHIDTransactionGetDevice obtain the device associated with the transaction.

It panics if IOHIDTransactionGetDevice is unavailable at run time; use TryIOHIDTransactionGetDevice to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561685-iohidtransactiongetdevice

func TryIOHIDDeviceCreate

func TryIOHIDDeviceCreate(allocator corefoundation.CFAllocatorRef, service uint32) (IOHIDDeviceRef, error)

TryIOHIDDeviceCreate is like IOHIDDeviceCreate but returns an error instead of panicking if IOHIDDeviceCreate is unavailable at run time.

func TryIOHIDElementGetDevice

func TryIOHIDElementGetDevice(element IOHIDElementRef) (IOHIDDeviceRef, error)

TryIOHIDElementGetDevice is like IOHIDElementGetDevice but returns an error instead of panicking if IOHIDElementGetDevice is unavailable at run time.

func TryIOHIDQueueGetDevice

func TryIOHIDQueueGetDevice(queue IOHIDQueueRef) (IOHIDDeviceRef, error)

TryIOHIDQueueGetDevice is like IOHIDQueueGetDevice but returns an error instead of panicking if IOHIDQueueGetDevice is unavailable at run time.

func TryIOHIDTransactionGetDevice

func TryIOHIDTransactionGetDevice(transaction IOHIDTransactionRef) (IOHIDDeviceRef, error)

TryIOHIDTransactionGetDevice is like IOHIDTransactionGetDevice but returns an error instead of panicking if IOHIDTransactionGetDevice is unavailable at run time.

type IOHIDDeviceTimeStampedDeviceInterface

type IOHIDDeviceTimeStampedDeviceInterface [16]uint64

See: https://developer.apple.com/documentation/iokit/iohiddevicetimestampeddeviceinterface IOHIDDeviceTimeStampedDeviceInterface is opaque storage with the size and alignment C gives IOHIDDeviceTimeStampedDeviceInterface: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.

type IOHIDDeviceTransactionInterface

type IOHIDDeviceTransactionInterface [14]uint64

IOHIDDeviceTransactionInterface is the object you use to access a HID transaction from user space, returned by version 1.5 of the IOHIDFamily.

See: https://developer.apple.com/documentation/iokit/iohiddevicetransactioninterface IOHIDDeviceTransactionInterface is opaque storage with the size and alignment C gives IOHIDDeviceTransactionInterface: 112 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 112 into.

type IOHIDElementCollectionType

type IOHIDElementCollectionType = uint32

IOHIDElementCollectionType is describes different types of HID collections.

See: https://developer.apple.com/documentation/iokit/iohidelementcollectiontype

func IOHIDElementGetCollectionType

func IOHIDElementGetCollectionType(element IOHIDElementRef) IOHIDElementCollectionType

IOHIDElementGetCollectionType retrieves the collection type for the element.

It panics if IOHIDElementGetCollectionType is unavailable at run time; use TryIOHIDElementGetCollectionType to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564132-iohidelementgetcollectiontype

func TryIOHIDElementGetCollectionType

func TryIOHIDElementGetCollectionType(element IOHIDElementRef) (IOHIDElementCollectionType, error)

TryIOHIDElementGetCollectionType is like IOHIDElementGetCollectionType but returns an error instead of panicking if IOHIDElementGetCollectionType is unavailable at run time.

type IOHIDElementCookie

type IOHIDElementCookie = uint32

IOHIDElementCookie is abstract data type used as a unique identifier for an element.

See: https://developer.apple.com/documentation/iokit/iohidelementcookie

type IOHIDElementRef

type IOHIDElementRef uintptr

See: https://developer.apple.com/documentation/iokit/iohidelementref

func IOHIDElementCreateWithDictionary

func IOHIDElementCreateWithDictionary(allocator corefoundation.CFAllocatorRef, dictionary corefoundation.CFDictionaryRef) IOHIDElementRef

IOHIDElementCreateWithDictionary creates an element from a dictionary.

It panics if IOHIDElementCreateWithDictionary is unavailable at run time; use TryIOHIDElementCreateWithDictionary to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564115-iohidelementcreatewithdictionary

func IOHIDElementGetParent

func IOHIDElementGetParent(element IOHIDElementRef) IOHIDElementRef

IOHIDElementGetParent returns the parent for the element.

It panics if IOHIDElementGetParent is unavailable at run time; use TryIOHIDElementGetParent to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564144-iohidelementgetparent

func IOHIDValueGetElement

func IOHIDValueGetElement(value IOHIDValueRef) IOHIDElementRef

IOHIDValueGetElement returns the element value associated with this IOHIDValueRef.

It panics if IOHIDValueGetElement is unavailable at run time; use TryIOHIDValueGetElement to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433285-iohidvaluegetelement

func TryIOHIDElementCreateWithDictionary

func TryIOHIDElementCreateWithDictionary(allocator corefoundation.CFAllocatorRef, dictionary corefoundation.CFDictionaryRef) (IOHIDElementRef, error)

TryIOHIDElementCreateWithDictionary is like IOHIDElementCreateWithDictionary but returns an error instead of panicking if IOHIDElementCreateWithDictionary is unavailable at run time.

func TryIOHIDElementGetParent

func TryIOHIDElementGetParent(element IOHIDElementRef) (IOHIDElementRef, error)

TryIOHIDElementGetParent is like IOHIDElementGetParent but returns an error instead of panicking if IOHIDElementGetParent is unavailable at run time.

func TryIOHIDValueGetElement

func TryIOHIDValueGetElement(value IOHIDValueRef) (IOHIDElementRef, error)

TryIOHIDValueGetElement is like IOHIDValueGetElement but returns an error instead of panicking if IOHIDValueGetElement is unavailable at run time.

type IOHIDElementType

type IOHIDElementType = uint32

IOHIDElementType is describes different types of HID elements.

See: https://developer.apple.com/documentation/iokit/iohidelementtype

func IOHIDElementGetType

func IOHIDElementGetType(element IOHIDElementRef) IOHIDElementType

IOHIDElementGetType retrieves the type for the element.

It panics if IOHIDElementGetType is unavailable at run time; use TryIOHIDElementGetType to get an error instead.

See: https://developer.apple.com/documentation/iokit/1564135-iohidelementgettype

func TryIOHIDElementGetType

func TryIOHIDElementGetType(element IOHIDElementRef) (IOHIDElementType, error)

TryIOHIDElementGetType is like IOHIDElementGetType but returns an error instead of panicking if IOHIDElementGetType is unavailable at run time.

type IOHIDEventStruct

type IOHIDEventStruct [4]uint64

See: https://developer.apple.com/documentation/iokit/iohideventstruct IOHIDEventStruct is opaque storage with the size and alignment C gives IOHIDEventStruct: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type IOHIDEventSystemClientRef

type IOHIDEventSystemClientRef uintptr

See: https://developer.apple.com/documentation/iokit/iohideventsystemclientref

func IOHIDEventSystemClientCreateSimpleClient

func IOHIDEventSystemClientCreateSimpleClient(allocator corefoundation.CFAllocatorRef) IOHIDEventSystemClientRef

IOHIDEventSystemClientCreateSimpleClient.

It panics if IOHIDEventSystemClientCreateSimpleClient is unavailable at run time; use TryIOHIDEventSystemClientCreateSimpleClient to get an error instead.

See: https://developer.apple.com/documentation/iokit/2269514-iohideventsystemclientcreatesimp

func TryIOHIDEventSystemClientCreateSimpleClient

func TryIOHIDEventSystemClientCreateSimpleClient(allocator corefoundation.CFAllocatorRef) (IOHIDEventSystemClientRef, error)

TryIOHIDEventSystemClientCreateSimpleClient is like IOHIDEventSystemClientCreateSimpleClient but returns an error instead of panicking if IOHIDEventSystemClientCreateSimpleClient is unavailable at run time.

type IOHIDManagerOptions

type IOHIDManagerOptions = uint32

IOHIDManagerOptions is various options that can be supplied to IOHIDManager functions.

See: https://developer.apple.com/documentation/iokit/iohidmanageroptions

type IOHIDManagerRef

type IOHIDManagerRef uintptr

IOHIDManagerRef is this is the type of a reference to the IOHIDManager.

See: https://developer.apple.com/documentation/iokit/iohidmanagerref

func IOHIDManagerCreate

func IOHIDManagerCreate(allocator corefoundation.CFAllocatorRef, options uint32) IOHIDManagerRef

IOHIDManagerCreate creates an IOHIDManager object.

It panics if IOHIDManagerCreate is unavailable at run time; use TryIOHIDManagerCreate to get an error instead.

See: https://developer.apple.com/documentation/iokit/1438383-iohidmanagercreate

func TryIOHIDManagerCreate

func TryIOHIDManagerCreate(allocator corefoundation.CFAllocatorRef, options uint32) (IOHIDManagerRef, error)

TryIOHIDManagerCreate is like IOHIDManagerCreate but returns an error instead of panicking if IOHIDManagerCreate is unavailable at run time.

type IOHIDOptionsType

type IOHIDOptionsType = uint32

IOHIDOptionsType is options for opening a device via IOHIDLib.

See: https://developer.apple.com/documentation/iokit/iohidoptionstype

type IOHIDOutputTransactionInterface

type IOHIDOutputTransactionInterface [19]uint64

IOHIDOutputTransactionInterface is cFPlugin object subclass which privides interface for output transactions to HID devices. Created by a IOHIDDeviceInterface object.

See: https://developer.apple.com/documentation/iokit/iohidoutputtransactioninterface IOHIDOutputTransactionInterface is opaque storage with the size and alignment C gives IOHIDOutputTransactionInterface: 152 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 152 into.

type IOHIDQueueInterface

type IOHIDQueueInterface [18]uint64

IOHIDQueueInterface is cFPlugin object subclass which provides an interface for input queues from HID devices. Created by an IOHIDDeviceInterface object.

See: https://developer.apple.com/documentation/iokit/iohidqueueinterface IOHIDQueueInterface is opaque storage with the size and alignment C gives IOHIDQueueInterface: 144 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 144 into.

type IOHIDQueueOptionsType

type IOHIDQueueOptionsType = uint32

IOHIDQueueOptionsType is options for creating a queue via IOHIDLib.

See: https://developer.apple.com/documentation/iokit/iohidqueueoptionstype

type IOHIDQueueRef

type IOHIDQueueRef uintptr

See: https://developer.apple.com/documentation/iokit/iohidqueueref

func IOHIDQueueCreate

func IOHIDQueueCreate(allocator corefoundation.CFAllocatorRef, device IOHIDDeviceRef, depth corefoundation.CFIndex, options uint32) IOHIDQueueRef

IOHIDQueueCreate creates an IOHIDQueue object for the specified device.

It panics if IOHIDQueueCreate is unavailable at run time; use TryIOHIDQueueCreate to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545840-iohidqueuecreate

func TryIOHIDQueueCreate

func TryIOHIDQueueCreate(allocator corefoundation.CFAllocatorRef, device IOHIDDeviceRef, depth corefoundation.CFIndex, options uint32) (IOHIDQueueRef, error)

TryIOHIDQueueCreate is like IOHIDQueueCreate but returns an error instead of panicking if IOHIDQueueCreate is unavailable at run time.

type IOHIDReportType

type IOHIDReportType = uint32

IOHIDReportType is describes different type of HID reports.

See: https://developer.apple.com/documentation/iokit/iohidreporttype

type IOHIDStandardType

type IOHIDStandardType = uint32

IOHIDStandardType is type to define what industrial standard the device is referencing.

See: https://developer.apple.com/documentation/iokit/iohidstandardtype

type IOHIDTransactionDirectionType

type IOHIDTransactionDirectionType = uint32

IOHIDTransactionDirectionType is direction for an IOHIDDeviceTransactionInterface.

See: https://developer.apple.com/documentation/iokit/iohidtransactiondirectiontype

func IOHIDTransactionGetDirection

func IOHIDTransactionGetDirection(transaction IOHIDTransactionRef) IOHIDTransactionDirectionType

IOHIDTransactionGetDirection obtain the direction of the transaction.

It panics if IOHIDTransactionGetDirection is unavailable at run time; use TryIOHIDTransactionGetDirection to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561674-iohidtransactiongetdirection

func TryIOHIDTransactionGetDirection

func TryIOHIDTransactionGetDirection(transaction IOHIDTransactionRef) (IOHIDTransactionDirectionType, error)

TryIOHIDTransactionGetDirection is like IOHIDTransactionGetDirection but returns an error instead of panicking if IOHIDTransactionGetDirection is unavailable at run time.

type IOHIDTransactionRef

type IOHIDTransactionRef uintptr

See: https://developer.apple.com/documentation/iokit/iohidtransactionref

func IOHIDTransactionCreate

func IOHIDTransactionCreate(allocator corefoundation.CFAllocatorRef, device IOHIDDeviceRef, direction IOHIDTransactionDirectionType, options uint32) IOHIDTransactionRef

IOHIDTransactionCreate creates an IOHIDTransaction object for the specified device.

It panics if IOHIDTransactionCreate is unavailable at run time; use TryIOHIDTransactionCreate to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561689-iohidtransactioncreate

func TryIOHIDTransactionCreate

func TryIOHIDTransactionCreate(allocator corefoundation.CFAllocatorRef, device IOHIDDeviceRef, direction IOHIDTransactionDirectionType, options uint32) (IOHIDTransactionRef, error)

TryIOHIDTransactionCreate is like IOHIDTransactionCreate but returns an error instead of panicking if IOHIDTransactionCreate is unavailable at run time.

type IOHIDUserDeviceRef

type IOHIDUserDeviceRef uintptr

See: https://developer.apple.com/documentation/iokit/iohiduserdeviceref

func IOHIDUserDeviceCreateWithProperties

func IOHIDUserDeviceCreateWithProperties(allocator corefoundation.CFAllocatorRef, properties corefoundation.CFDictionaryRef, options uint32) IOHIDUserDeviceRef

IOHIDUserDeviceCreateWithProperties.

It panics if IOHIDUserDeviceCreateWithProperties is unavailable at run time; use TryIOHIDUserDeviceCreateWithProperties to get an error instead.

See: https://developer.apple.com/documentation/iokit/3334952-iohiduserdevicecreatewithpropert

func TryIOHIDUserDeviceCreateWithProperties

func TryIOHIDUserDeviceCreateWithProperties(allocator corefoundation.CFAllocatorRef, properties corefoundation.CFDictionaryRef, options uint32) (IOHIDUserDeviceRef, error)

TryIOHIDUserDeviceCreateWithProperties is like IOHIDUserDeviceCreateWithProperties but returns an error instead of panicking if IOHIDUserDeviceCreateWithProperties is unavailable at run time.

type IOHIDValueOptions

type IOHIDValueOptions = uint32

IOHIDValueOptions is describes options for gathering element values.

See: https://developer.apple.com/documentation/iokit/iohidvalueoptions

type IOHIDValueRef

type IOHIDValueRef uintptr

See: https://developer.apple.com/documentation/iokit/iohidvalueref

func IOHIDQueueCopyNextValue

func IOHIDQueueCopyNextValue(queue IOHIDQueueRef) IOHIDValueRef

IOHIDQueueCopyNextValue dequeues a retained copy of an element value from the head of an IOHIDQueue.

It panics if IOHIDQueueCopyNextValue is unavailable at run time; use TryIOHIDQueueCopyNextValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545844-iohidqueuecopynextvalue

func IOHIDQueueCopyNextValueWithTimeout

func IOHIDQueueCopyNextValueWithTimeout(queue IOHIDQueueRef, timeout corefoundation.CFTimeInterval) IOHIDValueRef

IOHIDQueueCopyNextValueWithTimeout dequeues a retained copy of an element value from the head of an IOHIDQueue.

It panics if IOHIDQueueCopyNextValueWithTimeout is unavailable at run time; use TryIOHIDQueueCopyNextValueWithTimeout to get an error instead.

See: https://developer.apple.com/documentation/iokit/1545832-iohidqueuecopynextvaluewithtimeo

func IOHIDTransactionGetValue

func IOHIDTransactionGetValue(transaction IOHIDTransactionRef, element IOHIDElementRef, options uint32) IOHIDValueRef

IOHIDTransactionGetValue obtains the value for a transaction element.

It panics if IOHIDTransactionGetValue is unavailable at run time; use TryIOHIDTransactionGetValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1561683-iohidtransactiongetvalue

func IOHIDValueCreateWithBytes

func IOHIDValueCreateWithBytes(allocator corefoundation.CFAllocatorRef, element IOHIDElementRef, timeStamp uint64, bytes []byte, length corefoundation.CFIndex) IOHIDValueRef

IOHIDValueCreateWithBytes creates a new element value using byte data.

It panics if IOHIDValueCreateWithBytes is unavailable at run time; use TryIOHIDValueCreateWithBytes to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433290-iohidvaluecreatewithbytes

func IOHIDValueCreateWithBytesNoCopy

func IOHIDValueCreateWithBytesNoCopy(allocator corefoundation.CFAllocatorRef, element IOHIDElementRef, timeStamp uint64, bytes []byte, length corefoundation.CFIndex) IOHIDValueRef

IOHIDValueCreateWithBytesNoCopy creates a new element value using byte data without performing a copy.

It panics if IOHIDValueCreateWithBytesNoCopy is unavailable at run time; use TryIOHIDValueCreateWithBytesNoCopy to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433287-iohidvaluecreatewithbytesnocopy

func IOHIDValueCreateWithIntegerValue

func IOHIDValueCreateWithIntegerValue(allocator corefoundation.CFAllocatorRef, element IOHIDElementRef, timeStamp uint64, value corefoundation.CFIndex) IOHIDValueRef

IOHIDValueCreateWithIntegerValue creates a new element value using an integer value.

It panics if IOHIDValueCreateWithIntegerValue is unavailable at run time; use TryIOHIDValueCreateWithIntegerValue to get an error instead.

See: https://developer.apple.com/documentation/iokit/1433294-iohidvaluecreatewithintegervalue

func TryIOHIDQueueCopyNextValue

func TryIOHIDQueueCopyNextValue(queue IOHIDQueueRef) (IOHIDValueRef, error)

TryIOHIDQueueCopyNextValue is like IOHIDQueueCopyNextValue but returns an error instead of panicking if IOHIDQueueCopyNextValue is unavailable at run time.

func TryIOHIDQueueCopyNextValueWithTimeout

func TryIOHIDQueueCopyNextValueWithTimeout(queue IOHIDQueueRef, timeout corefoundation.CFTimeInterval) (IOHIDValueRef, error)

TryIOHIDQueueCopyNextValueWithTimeout is like IOHIDQueueCopyNextValueWithTimeout but returns an error instead of panicking if IOHIDQueueCopyNextValueWithTimeout is unavailable at run time.

func TryIOHIDTransactionGetValue

func TryIOHIDTransactionGetValue(transaction IOHIDTransactionRef, element IOHIDElementRef, options uint32) (IOHIDValueRef, error)

TryIOHIDTransactionGetValue is like IOHIDTransactionGetValue but returns an error instead of panicking if IOHIDTransactionGetValue is unavailable at run time.

func TryIOHIDValueCreateWithBytes

func TryIOHIDValueCreateWithBytes(allocator corefoundation.CFAllocatorRef, element IOHIDElementRef, timeStamp uint64, bytes []byte, length corefoundation.CFIndex) (IOHIDValueRef, error)

TryIOHIDValueCreateWithBytes is like IOHIDValueCreateWithBytes but returns an error instead of panicking if IOHIDValueCreateWithBytes is unavailable at run time.

func TryIOHIDValueCreateWithBytesNoCopy

func TryIOHIDValueCreateWithBytesNoCopy(allocator corefoundation.CFAllocatorRef, element IOHIDElementRef, timeStamp uint64, bytes []byte, length corefoundation.CFIndex) (IOHIDValueRef, error)

TryIOHIDValueCreateWithBytesNoCopy is like IOHIDValueCreateWithBytesNoCopy but returns an error instead of panicking if IOHIDValueCreateWithBytesNoCopy is unavailable at run time.

func TryIOHIDValueCreateWithIntegerValue

func TryIOHIDValueCreateWithIntegerValue(allocator corefoundation.CFAllocatorRef, element IOHIDElementRef, timeStamp uint64, value corefoundation.CFIndex) (IOHIDValueRef, error)

TryIOHIDValueCreateWithIntegerValue is like IOHIDValueCreateWithIntegerValue but returns an error instead of panicking if IOHIDValueCreateWithIntegerValue is unavailable at run time.

type IOHIDValueScaleType

type IOHIDValueScaleType = uint32

IOHIDValueScaleType is describes different types of scaling that can be performed on element values.

See: https://developer.apple.com/documentation/iokit/iohidvaluescaletype

type IOHardwareCursorDescriptor

type IOHardwareCursorDescriptor [13]uint64

See: https://developer.apple.com/documentation/iokit/iohardwarecursordescriptor IOHardwareCursorDescriptor is opaque storage with the size and alignment C gives IOHardwareCursorDescriptor: 104 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 104 into.

type IOHardwareCursorInfo

type IOHardwareCursorInfo [7]uint64

See: https://developer.apple.com/documentation/iokit/iohardwarecursorinfo IOHardwareCursorInfo is opaque storage with the size and alignment C gives IOHardwareCursorInfo: 56 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 56 into.

type IOI2CBuffer

type IOI2CBuffer unsafe.Pointer

See: https://developer.apple.com/documentation/iokit/ioi2cbuffer IOI2CBuffer is an unresolved C aggregate typedef.

type IOI2CBusTiming

type IOI2CBusTiming [20]uint32

See: https://developer.apple.com/documentation/iokit/ioi2cbustiming IOI2CBusTiming is opaque storage with the size and alignment C gives IOI2CBusTiming: 80 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 80 into.

type IOI2CRequest

type IOI2CRequest [31]uint32

See: https://developer.apple.com/documentation/iokit/ioi2crequest IOI2CRequest is opaque storage with the size and alignment C gives IOI2CRequest: 124 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 124 into.

type IOIdent added in v0.6.4

type IOIdent = Io_ident_t

IOIdent is a Go-name alias for Io_ident_t.

type IOIterator added in v0.6.4

type IOIterator = Io_iterator_t

IOIterator is a Go-name alias for Io_iterator_t.

type IONVMeSMARTInterface

type IONVMeSMARTInterface [32]uint64

See: https://developer.apple.com/documentation/iokit/ionvmesmartinterface IONVMeSMARTInterface is opaque storage with the size and alignment C gives IONVMeSMARTInterface: 256 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 256 into.

type IONamedValue

type IONamedValue struct {
	Value int32
	Name  *byte
}

IONamedValue

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/ionamedvalue

type IONetworkStats

type IONetworkStats [5]uint32

See: https://developer.apple.com/documentation/iokit/ionetworkstats IONetworkStats is opaque storage with the size and alignment C gives IONetworkStats: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type IONotificationPortRef

type IONotificationPortRef uintptr

See: https://developer.apple.com/documentation/iokit/ionotificationportref

func IONotificationPortCreate

func IONotificationPortCreate(mainPort uint32) IONotificationPortRef

IONotificationPortCreate creates and returns a notification object for receiving IOKit notifications of new devices or state changes.

It panics if IONotificationPortCreate is unavailable at run time; use TryIONotificationPortCreate to get an error instead.

See: https://developer.apple.com/documentation/iokit/1514480-ionotificationportcreate

func TryIONotificationPortCreate

func TryIONotificationPortCreate(mainPort uint32) (IONotificationPortRef, error)

TryIONotificationPortCreate is like IONotificationPortCreate but returns an error instead of panicking if IONotificationPortCreate is unavailable at run time.

type IOObject added in v0.6.4

type IOObject = Io_object_t

IOObject is a Go-name alias for Io_object_t.

type IOOutputQueueStats

type IOOutputQueueStats [11]uint32

See: https://developer.apple.com/documentation/iokit/iooutputqueuestats IOOutputQueueStats is opaque storage with the size and alignment C gives IOOutputQueueStats: 44 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 44 into.

type IOPMAssertionID

type IOPMAssertionID = uint32

IOPMAssertionID is type for AssertionID arguments to IOPMAssertionCreateWithProperties and IOPMAssertionRelease.

See: https://developer.apple.com/documentation/iokit/iopmassertionid

type IOPMAssertionLevel

type IOPMAssertionLevel = uint32

IOPMAssertionLevel is type for AssertionLevel argument to IOPMAssertionCreate.

See: https://developer.apple.com/documentation/iokit/iopmassertionlevel

type IOPMCalendarStruct

type IOPMCalendarStruct [3]uint32

See: https://developer.apple.com/documentation/iokit/iopmcalendarstruct IOPMCalendarStruct is opaque storage with the size and alignment C gives IOPMCalendarStruct: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type IOPMPowerFlags

type IOPMPowerFlags = uint

IOPMPowerFlags is bits are used in defining capabilityFlags, inputPowerRequirements, and outputPowerCharacter in the IOPMPowerState structure.

See: https://developer.apple.com/documentation/iokit/iopmpowerflags

type IOPMSystemCapabilityChangeParameters

type IOPMSystemCapabilityChangeParameters struct {
	NotifyRef       uint32
	MaxWaitForReply uint32
	ChangeFlags     uint32

	FromCapabilities uint32
	ToCapabilities   uint32
	// contains filtered or unexported fields
}

IOPMSystemCapabilityChangeParameters - A structure describing a system capability change.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iopmsystemcapabilitychangeparameters

type IOPSLowBatteryWarningLevel

type IOPSLowBatteryWarningLevel = uint32

IOPSLowBatteryWarningLevel is the battery can provide no more than 10 minutes of runtime.

See: https://developer.apple.com/documentation/iokit/iopslowbatterywarninglevel

func IOPSGetBatteryWarningLevel

func IOPSGetBatteryWarningLevel() IOPSLowBatteryWarningLevel

IOPSGetBatteryWarningLevel indicates whether the system is at a low battery warning level.

It panics if IOPSGetBatteryWarningLevel is unavailable at run time; use TryIOPSGetBatteryWarningLevel to get an error instead.

See: https://developer.apple.com/documentation/iokit/1523851-iopsgetbatterywarninglevel

func TryIOPSGetBatteryWarningLevel

func TryIOPSGetBatteryWarningLevel() (IOPSLowBatteryWarningLevel, error)

TryIOPSGetBatteryWarningLevel is like IOPSGetBatteryWarningLevel but returns an error instead of panicking if IOPSGetBatteryWarningLevel is unavailable at run time.

type IOPhysicalRange

type IOPhysicalRange struct {
	Address kernel.IOPhysicalAddress
	Length  uint
}

IOPhysicalRange

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iophysicalrange

type IOPixelInformation

type IOPixelInformation [43]uint32

See: https://developer.apple.com/documentation/iokit/iopixelinformation IOPixelInformation is opaque storage with the size and alignment C gives IOPixelInformation: 172 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 172 into.

type IOPowerStateChangeNotification

type IOPowerStateChangeNotification [4]uint64

See: https://developer.apple.com/documentation/iokit/iopowerstatechangenotification IOPowerStateChangeNotification is opaque storage with the size and alignment C gives IOPowerStateChangeNotification: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type IORPC

type IORPC struct {
	Message   *IORPCMessageMach
	Reply     *IORPCMessageMach
	SendSize  uint32
	ReplySize uint32
}

IORPC

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iorpc

type IORPCMessage

type IORPCMessage struct {
	Msgid      uint64
	Flags      uint64
	ObjectRefs uint64
}

IORPCMessage

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iorpcmessage

type IORPCMessageErrorReturnContent

type IORPCMessageErrorReturnContent struct {
	Hdr    IORPCMessage
	Result int32
	Pad    uint32
}

IORPCMessageErrorReturnContent

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iorpcmessageerrorreturncontent

type IORPCMessageMach

type IORPCMessageMach struct {
	Msgh      kernel.MachMsgHeader
	Msgh_body kernel.Mach_msg_body_t
}

IORPCMessageMach

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iorpcmessagemach

type IORegistryEntry added in v0.6.4

type IORegistryEntry = Io_registry_entry_t

IORegistryEntry is a Go-name alias for Io_registry_entry_t.

type IOService added in v0.6.4

type IOService = Io_service_t

IOService is a Go-name alias for Io_service_t.

type IOServiceInterestCallback

type IOServiceInterestCallback = func(refcon unsafe.Pointer, service uint32, messageType uint32, messageArgument unsafe.Pointer)

IOServiceInterestCallback is callback function to be notified of changes in state of an IOService.

See: https://developer.apple.com/documentation/iokit/ioserviceinterestcallback

type IOServiceInterestContent

type IOServiceInterestContent struct {
	// contains filtered or unexported fields
}

IOServiceInterestContent

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/ioserviceinterestcontent

func (*IOServiceInterestContent) MessageArgument

func (s *IOServiceInterestContent) MessageArgument() [1]unsafe.Pointer

MessageArgument returns the MessageArgument field from the record's packed storage.

func (*IOServiceInterestContent) MessageType

func (s *IOServiceInterestContent) MessageType() uint32

MessageType returns the MessageType field from the record's packed storage.

func (*IOServiceInterestContent) SetMessageArgument added in v0.6.17

func (s *IOServiceInterestContent) SetMessageArgument(v [1]unsafe.Pointer)

SetMessageArgument updates the MessageArgument field in the record's packed storage.

func (*IOServiceInterestContent) SetMessageType added in v0.6.17

func (s *IOServiceInterestContent) SetMessageType(v uint32)

SetMessageType updates the MessageType field in the record's packed storage.

type IOServiceMatchingCallback

type IOServiceMatchingCallback = func(refcon unsafe.Pointer, iterator uint32)

IOServiceMatchingCallback is callback function to be notified of IOService publication.

See: https://developer.apple.com/documentation/iokit/ioservicematchingcallback

type IOStreamBufferQueue

type IOStreamBufferQueue struct {
	EntryCount uint32
	HeadIndex  uint32
	TailIndex  uint32
	Reserved   uint32 // Reserved for future use.

}

IOStreamBufferQueue

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iostreambufferqueue

type IOStreamBufferQueueEntry

type IOStreamBufferQueueEntry struct {
	BufferID      IOStreamBufferID
	DataOffset    uint32
	DataLength    uint32
	ControlOffset uint32
	ControlLength uint32
	Reserved      [3]uint32 // Reserved for future use.

}

IOStreamBufferQueueEntry

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iostreambufferqueueentry

type IOStreamInterface

type IOStreamInterface [31]uint64

See: https://developer.apple.com/documentation/iokit/iostreaminterface IOStreamInterface is opaque storage with the size and alignment C gives IOStreamInterface: 248 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 248 into.

type IOSystemLoadAdvisoryLevel

type IOSystemLoadAdvisoryLevel = int32

IOSystemLoadAdvisoryLevel is return type for IOGetSystemLoadAdvisory.

See: https://developer.apple.com/documentation/iokit/iosystemloadadvisorylevel

func IOGetSystemLoadAdvisory

func IOGetSystemLoadAdvisory() IOSystemLoadAdvisoryLevel

IOGetSystemLoadAdvisory returns a hint about whether now would be a good time to perform time-insensitive work.

It panics if IOGetSystemLoadAdvisory is unavailable at run time; use TryIOGetSystemLoadAdvisory to get an error instead.

See: https://developer.apple.com/documentation/iokit/1557110-iogetsystemloadadvisory

func TryIOGetSystemLoadAdvisory

func TryIOGetSystemLoadAdvisory() (IOSystemLoadAdvisoryLevel, error)

TryIOGetSystemLoadAdvisory is like IOGetSystemLoadAdvisory but returns an error instead of panicking if IOGetSystemLoadAdvisory is unavailable at run time.

type IOTimingInformation

type IOTimingInformation [21]uint64

See: https://developer.apple.com/documentation/iokit/iotiminginformation IOTimingInformation is opaque storage with the size and alignment C gives IOTimingInformation: 168 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 168 into.

type IOUPSPlugInInterface

type IOUPSPlugInInterface [9]uint64

IOUPSPlugInInterface is represents and provides management functions for a UPS device.

See: https://developer.apple.com/documentation/iokit/ioupsplugininterface IOUPSPlugInInterface is opaque storage with the size and alignment C gives IOUPSPlugInInterface: 72 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 72 into.

type IOUPSPlugInInterfaceV140 added in v0.6.4

type IOUPSPlugInInterfaceV140 = IOUPSPlugInInterface_v140

IOUPSPlugInInterfaceV140 is a Go-name alias for IOUPSPlugInInterface_v140.

type IOUPSPlugInInterface_v140

type IOUPSPlugInInterface_v140 [10]uint64

See: https://developer.apple.com/documentation/iokit/ioupsplugininterface_v140 IOUPSPlugInInterface_v140 is opaque storage with the size and alignment C gives IOUPSPlugInInterface_v140: 80 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 80 into.

type IOURLError added in v0.5.1

type IOURLError int32

See: https://developer.apple.com/documentation/iokit/iourlerror

const (
	KIOURLImproperArgumentsError       IOURLError = -15
	KIOURLPropertyKeyUnavailableError  IOURLError = -17
	KIOURLRemoteHostUnavailableError   IOURLError = -14
	KIOURLResourceAccessViolationError IOURLError = -13
	KIOURLResourceNotFoundError        IOURLError = -12
	KIOURLTimeoutError                 IOURLError = -18
	KIOURLUnknownError                 IOURLError = -10
	KIOURLUnknownPropertyKeyError      IOURLError = -16
	KIOURLUnknownSchemeError           IOURLError = -11
)

func (IOURLError) String added in v0.5.1

func (e IOURLError) String() string

type IOUSB20HubDescriptor

type IOUSB20HubDescriptor [11]byte

See: https://developer.apple.com/documentation/iokit/iousb20hubdescriptor IOUSB20HubDescriptor is opaque storage with the size and alignment C gives IOUSB20HubDescriptor: 11 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 11 into.

type IOUSBBOSDescriptor

type IOUSBBOSDescriptor [5]byte

See: https://developer.apple.com/documentation/iokit/iousbbosdescriptor IOUSBBOSDescriptor is opaque storage with the size and alignment C gives IOUSBBOSDescriptor: 5 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 5 into.

type IOUSBBulkPipeReq

type IOUSBBulkPipeReq [4]uint64

See: https://developer.apple.com/documentation/iokit/iousbbulkpipereq IOUSBBulkPipeReq is opaque storage with the size and alignment C gives IOUSBBulkPipeReq: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type IOUSBCompletion

type IOUSBCompletion [3]uint64

See: https://developer.apple.com/documentation/iokit/iousbcompletion IOUSBCompletion is opaque storage with the size and alignment C gives IOUSBCompletion: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOUSBCompletionWithTimeStamp

type IOUSBCompletionWithTimeStamp [3]uint64

See: https://developer.apple.com/documentation/iokit/iousbcompletionwithtimestamp IOUSBCompletionWithTimeStamp is opaque storage with the size and alignment C gives IOUSBCompletionWithTimeStamp: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOUSBConfigurationDescHeader

type IOUSBConfigurationDescHeader [4]byte

See: https://developer.apple.com/documentation/iokit/iousbconfigurationdescheader IOUSBConfigurationDescHeader is opaque storage with the size and alignment C gives IOUSBConfigurationDescHeader: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type IOUSBConfigurationDescriptor

type IOUSBConfigurationDescriptor [9]byte

See: https://developer.apple.com/documentation/iokit/iousbconfigurationdescriptor IOUSBConfigurationDescriptor is opaque storage with the size and alignment C gives IOUSBConfigurationDescriptor: 9 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 9 into.

type IOUSBDFUDescriptor

type IOUSBDFUDescriptor [7]byte

See: https://developer.apple.com/documentation/iokit/iousbdfudescriptor IOUSBDFUDescriptor is opaque storage with the size and alignment C gives IOUSBDFUDescriptor: 7 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 7 into.

type IOUSBDescriptor

type IOUSBDescriptor [2]byte

See: https://developer.apple.com/documentation/iokit/iousbdescriptor IOUSBDescriptor is opaque storage with the size and alignment C gives IOUSBDescriptor: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type IOUSBDescriptorHeader

type IOUSBDescriptorHeader [2]byte

See: https://developer.apple.com/documentation/iokit/iousbdescriptorheader IOUSBDescriptorHeader is opaque storage with the size and alignment C gives IOUSBDescriptorHeader: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type IOUSBDevReqOOL

type IOUSBDevReqOOL [3]uint64

See: https://developer.apple.com/documentation/iokit/iousbdevreqool IOUSBDevReqOOL is opaque storage with the size and alignment C gives IOUSBDevReqOOL: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOUSBDevReqOOLTO

type IOUSBDevReqOOLTO [4]uint64

See: https://developer.apple.com/documentation/iokit/iousbdevreqoolto IOUSBDevReqOOLTO is opaque storage with the size and alignment C gives IOUSBDevReqOOLTO: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type IOUSBDevRequest

type IOUSBDevRequest [3]uint64

See: https://developer.apple.com/documentation/iokit/iousbdevrequest IOUSBDevRequest is opaque storage with the size and alignment C gives IOUSBDevRequest: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOUSBDevRequestTO

type IOUSBDevRequestTO [4]uint64

See: https://developer.apple.com/documentation/iokit/iousbdevrequestto IOUSBDevRequestTO is opaque storage with the size and alignment C gives IOUSBDevRequestTO: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type IOUSBDeviceCapabilityBillboard

type IOUSBDeviceCapabilityBillboard [44]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilitybillboard IOUSBDeviceCapabilityBillboard is opaque storage with the size and alignment C gives IOUSBDeviceCapabilityBillboard: 44 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 44 into.

type IOUSBDeviceCapabilityBillboardAltConfig

type IOUSBDeviceCapabilityBillboardAltConfig [4]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilitybillboardaltconfig IOUSBDeviceCapabilityBillboardAltConfig is opaque storage with the size and alignment C gives IOUSBDeviceCapabilityBillboardAltConfig: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type IOUSBDeviceCapabilityBillboardAltConfigCompatibility

type IOUSBDeviceCapabilityBillboardAltConfigCompatibility [7]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilitybillboardaltconfigcompatibility IOUSBDeviceCapabilityBillboardAltConfigCompatibility is opaque storage with the size and alignment C gives IOUSBDeviceCapabilityBillboardAltConfigCompatibility: 7 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 7 into.

type IOUSBDeviceCapabilityContainerID

type IOUSBDeviceCapabilityContainerID [20]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilitycontainerid IOUSBDeviceCapabilityContainerID is opaque storage with the size and alignment C gives IOUSBDeviceCapabilityContainerID: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type IOUSBDeviceCapabilityDescriptorHeader

type IOUSBDeviceCapabilityDescriptorHeader [3]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilitydescriptorheader IOUSBDeviceCapabilityDescriptorHeader is opaque storage with the size and alignment C gives IOUSBDeviceCapabilityDescriptorHeader: 3 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 3 into.

type IOUSBDeviceCapabilitySuperSpeedPlusUSB

type IOUSBDeviceCapabilitySuperSpeedPlusUSB [12]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilitysuperspeedplususb IOUSBDeviceCapabilitySuperSpeedPlusUSB is opaque storage with the size and alignment C gives IOUSBDeviceCapabilitySuperSpeedPlusUSB: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type IOUSBDeviceCapabilitySuperSpeedUSB

type IOUSBDeviceCapabilitySuperSpeedUSB [10]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilitysuperspeedusb IOUSBDeviceCapabilitySuperSpeedUSB is opaque storage with the size and alignment C gives IOUSBDeviceCapabilitySuperSpeedUSB: 10 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 10 into.

type IOUSBDeviceCapabilityUSB2Extension

type IOUSBDeviceCapabilityUSB2Extension [7]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicecapabilityusb2extension IOUSBDeviceCapabilityUSB2Extension is opaque storage with the size and alignment C gives IOUSBDeviceCapabilityUSB2Extension: 7 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 7 into.

type IOUSBDeviceDescriptor

type IOUSBDeviceDescriptor [18]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicedescriptor IOUSBDeviceDescriptor is opaque storage with the size and alignment C gives IOUSBDeviceDescriptor: 18 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 18 into.

type IOUSBDeviceInterface

type IOUSBDeviceInterface [51]uint64

IOUSBDeviceInterface is the object you use to access USB devices from user space, returned by all versions of the IOUSBFamily currently shipping.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface IOUSBDeviceInterface is opaque storage with the size and alignment C gives IOUSBDeviceInterface: 408 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 408 into.

type IOUSBDeviceInterface100

type IOUSBDeviceInterface100 [29]uint64

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface100 IOUSBDeviceInterface100 is opaque storage with the size and alignment C gives IOUSBDeviceInterface100: 232 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 232 into.

type IOUSBDeviceInterface182

type IOUSBDeviceInterface182 [37]uint64

IOUSBDeviceInterface182 is the object you use to access USB devices from user space, returned by the IOUSBFamily version 1.8.2 and above.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface182 IOUSBDeviceInterface182 is opaque storage with the size and alignment C gives IOUSBDeviceInterface182: 296 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 296 into.

type IOUSBDeviceInterface187

type IOUSBDeviceInterface187 [38]uint64

IOUSBDeviceInterface187 is the object you use to access USB devices from user space, returned by the IOUSBFamily version 10.8.7 and above.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface187 IOUSBDeviceInterface187 is opaque storage with the size and alignment C gives IOUSBDeviceInterface187: 304 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 304 into.

type IOUSBDeviceInterface197

type IOUSBDeviceInterface197 [40]uint64

IOUSBDeviceInterface197 is the object you use to access USB devices from user space, returned by the IOUSBFamily version 1.9.7 and above.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface197 IOUSBDeviceInterface197 is opaque storage with the size and alignment C gives IOUSBDeviceInterface197: 320 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 320 into.

type IOUSBDeviceInterface245

type IOUSBDeviceInterface245 [40]uint64

IOUSBDeviceInterface245 is the object you use to access USB devices from user space, returned by the IOUSBFamily version 2.4.5 and above.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface245 IOUSBDeviceInterface245 is opaque storage with the size and alignment C gives IOUSBDeviceInterface245: 320 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 320 into.

type IOUSBDeviceInterface300

type IOUSBDeviceInterface300 [41]uint64

IOUSBDeviceInterface300 is the object you use to access USB devices from user space, returned by the IOUSBFamily version 3.0.0 and above.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface300 IOUSBDeviceInterface300 is opaque storage with the size and alignment C gives IOUSBDeviceInterface300: 328 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 328 into.

type IOUSBDeviceInterface320

type IOUSBDeviceInterface320 [45]uint64

IOUSBDeviceInterface320 is the object you use to access USB devices from user space, returned by the IOUSBFamily version 3.2.0 and above.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface320 IOUSBDeviceInterface320 is opaque storage with the size and alignment C gives IOUSBDeviceInterface320: 360 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 360 into.

type IOUSBDeviceInterface400

type IOUSBDeviceInterface400 [45]uint64

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface400 IOUSBDeviceInterface400 is opaque storage with the size and alignment C gives IOUSBDeviceInterface400: 360 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 360 into.

type IOUSBDeviceInterface500

type IOUSBDeviceInterface500 [46]uint64

IOUSBDeviceInterface500 is the object you use to access USB devices from user space, returned by the IOUSBFamily version 3.2.0 and above.

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface500 IOUSBDeviceInterface500 is opaque storage with the size and alignment C gives IOUSBDeviceInterface500: 368 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 368 into.

type IOUSBDeviceInterface650

type IOUSBDeviceInterface650 [50]uint64

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface650 IOUSBDeviceInterface650 is opaque storage with the size and alignment C gives IOUSBDeviceInterface650: 400 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 400 into.

type IOUSBDeviceInterface942

type IOUSBDeviceInterface942 [51]uint64

See: https://developer.apple.com/documentation/iokit/iousbdeviceinterface942 IOUSBDeviceInterface942 is opaque storage with the size and alignment C gives IOUSBDeviceInterface942: 408 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 408 into.

type IOUSBDeviceQualifierDescriptor

type IOUSBDeviceQualifierDescriptor [10]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicequalifierdescriptor IOUSBDeviceQualifierDescriptor is opaque storage with the size and alignment C gives IOUSBDeviceQualifierDescriptor: 10 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 10 into.

type IOUSBDeviceRequest

type IOUSBDeviceRequest [8]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicerequest IOUSBDeviceRequest is opaque storage with the size and alignment C gives IOUSBDeviceRequest: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOUSBDeviceRequestSetSELData

type IOUSBDeviceRequestSetSELData [6]byte

See: https://developer.apple.com/documentation/iokit/iousbdevicerequestsetseldata IOUSBDeviceRequestSetSELData is opaque storage with the size and alignment C gives IOUSBDeviceRequestSetSELData: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.

type IOUSBEndpointDescriptor

type IOUSBEndpointDescriptor [7]byte

See: https://developer.apple.com/documentation/iokit/iousbendpointdescriptor IOUSBEndpointDescriptor is opaque storage with the size and alignment C gives IOUSBEndpointDescriptor: 7 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 7 into.

type IOUSBEndpointProperties

type IOUSBEndpointProperties [15]byte

See: https://developer.apple.com/documentation/iokit/iousbendpointproperties IOUSBEndpointProperties is opaque storage with the size and alignment C gives IOUSBEndpointProperties: 15 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 15 into.

type IOUSBFindEndpointRequest

type IOUSBFindEndpointRequest [3]uint16

See: https://developer.apple.com/documentation/iokit/iousbfindendpointrequest IOUSBFindEndpointRequest is opaque storage with the size and alignment C gives IOUSBFindEndpointRequest: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.

type IOUSBFindInterfaceRequest

type IOUSBFindInterfaceRequest [4]uint16

See: https://developer.apple.com/documentation/iokit/iousbfindinterfacerequest IOUSBFindInterfaceRequest is opaque storage with the size and alignment C gives IOUSBFindInterfaceRequest: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOUSBGetFrameStruct

type IOUSBGetFrameStruct [2]uint64

See: https://developer.apple.com/documentation/iokit/iousbgetframestruct IOUSBGetFrameStruct is opaque storage with the size and alignment C gives IOUSBGetFrameStruct: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type IOUSBHIDDescriptor

type IOUSBHIDDescriptor [9]byte

See: https://developer.apple.com/documentation/iokit/iousbhiddescriptor IOUSBHIDDescriptor is opaque storage with the size and alignment C gives IOUSBHIDDescriptor: 9 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 9 into.

type IOUSBHIDReportDesc

type IOUSBHIDReportDesc [3]byte

See: https://developer.apple.com/documentation/iokit/iousbhidreportdesc IOUSBHIDReportDesc is opaque storage with the size and alignment C gives IOUSBHIDReportDesc: 3 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 3 into.

type IOUSBInterfaceAssociationDescriptor

type IOUSBInterfaceAssociationDescriptor [8]byte

See: https://developer.apple.com/documentation/iokit/iousbinterfaceassociationdescriptor IOUSBInterfaceAssociationDescriptor is opaque storage with the size and alignment C gives IOUSBInterfaceAssociationDescriptor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOUSBInterfaceDescriptor

type IOUSBInterfaceDescriptor [9]byte

See: https://developer.apple.com/documentation/iokit/iousbinterfacedescriptor IOUSBInterfaceDescriptor is opaque storage with the size and alignment C gives IOUSBInterfaceDescriptor: 9 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 9 into.

type IOUSBInterfaceInterface

type IOUSBInterfaceInterface [77]uint64

IOUSBInterfaceInterface is the object you use to access a USB device interface from user space, returned by all versions of the IOUSBFamily currently shipping.

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface IOUSBInterfaceInterface is opaque storage with the size and alignment C gives IOUSBInterfaceInterface: 616 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 616 into.

type IOUSBInterfaceInterface100

type IOUSBInterfaceInterface100 [37]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface100 IOUSBInterfaceInterface100 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface100: 296 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 296 into.

type IOUSBInterfaceInterface182

type IOUSBInterfaceInterface182 [44]uint64

IOUSBInterfaceInterface182 is the object you use to access a USB device interface from user space, returned by the IOUSBFamily version 1.8.2 and above.

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface182 IOUSBInterfaceInterface182 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface182: 352 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 352 into.

type IOUSBInterfaceInterface183

type IOUSBInterfaceInterface183 [45]uint64

IOUSBInterfaceInterface183 is the object you use to access a USB device interface from user space, returned by the IOUSBFamily version 1.8.3 and above.

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface183 IOUSBInterfaceInterface183 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface183: 360 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 360 into.

type IOUSBInterfaceInterface190

type IOUSBInterfaceInterface190 [49]uint64

IOUSBInterfaceInterface190 is the object you use to access a USB device interface from user space, returned by the IOUSBFamily version 1.9 and above.

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface190 IOUSBInterfaceInterface190 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface190: 392 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 392 into.

type IOUSBInterfaceInterface192

type IOUSBInterfaceInterface192 [53]uint64

IOUSBInterfaceInterface192 is the object you use to access a USB device interface from user space, returned by the IOUSBFamily version 1.9.2 and above.

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface192 IOUSBInterfaceInterface192 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface192: 424 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 424 into.

type IOUSBInterfaceInterface197

type IOUSBInterfaceInterface197 [56]uint64

IOUSBInterfaceInterface197 is the object you use to access a USB device interface from user space, returned by the IOUSBFamily version 1.9.7 and above.

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface197 IOUSBInterfaceInterface197 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface197: 448 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 448 into.

type IOUSBInterfaceInterface220

type IOUSBInterfaceInterface220 [58]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface220 IOUSBInterfaceInterface220 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface220: 464 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 464 into.

type IOUSBInterfaceInterface245

type IOUSBInterfaceInterface245 [58]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface245 IOUSBInterfaceInterface245 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface245: 464 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 464 into.

type IOUSBInterfaceInterface300

type IOUSBInterfaceInterface300 [59]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface300 IOUSBInterfaceInterface300 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface300: 472 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 472 into.

type IOUSBInterfaceInterface398

type IOUSBInterfaceInterface398 [59]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface398 IOUSBInterfaceInterface398 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface398: 472 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 472 into.

type IOUSBInterfaceInterface400

type IOUSBInterfaceInterface400 [59]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface400 IOUSBInterfaceInterface400 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface400: 472 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 472 into.

type IOUSBInterfaceInterface500

type IOUSBInterfaceInterface500 [60]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface500 IOUSBInterfaceInterface500 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface500: 480 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 480 into.

type IOUSBInterfaceInterface550

type IOUSBInterfaceInterface550 [70]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface550 IOUSBInterfaceInterface550 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface550: 560 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 560 into.

type IOUSBInterfaceInterface650

type IOUSBInterfaceInterface650 [73]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface650 IOUSBInterfaceInterface650 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface650: 584 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 584 into.

type IOUSBInterfaceInterface700

type IOUSBInterfaceInterface700 [74]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface700 IOUSBInterfaceInterface700 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface700: 592 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 592 into.

type IOUSBInterfaceInterface800

type IOUSBInterfaceInterface800 [76]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface800 IOUSBInterfaceInterface800 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface800: 608 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 608 into.

type IOUSBInterfaceInterface942

type IOUSBInterfaceInterface942 [77]uint64

See: https://developer.apple.com/documentation/iokit/iousbinterfaceinterface942 IOUSBInterfaceInterface942 is opaque storage with the size and alignment C gives IOUSBInterfaceInterface942: 616 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 616 into.

type IOUSBIsocCompletion

type IOUSBIsocCompletion [3]uint64

See: https://developer.apple.com/documentation/iokit/iousbisoccompletion IOUSBIsocCompletion is opaque storage with the size and alignment C gives IOUSBIsocCompletion: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOUSBIsocFrame

type IOUSBIsocFrame [2]uint32

See: https://developer.apple.com/documentation/iokit/iousbisocframe IOUSBIsocFrame is opaque storage with the size and alignment C gives IOUSBIsocFrame: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOUSBIsocStruct

type IOUSBIsocStruct [6]uint64

See: https://developer.apple.com/documentation/iokit/iousbisocstruct IOUSBIsocStruct is opaque storage with the size and alignment C gives IOUSBIsocStruct: 48 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 48 into.

type IOUSBKeyboardData

type IOUSBKeyboardData [33]uint16

See: https://developer.apple.com/documentation/iokit/iousbkeyboarddata IOUSBKeyboardData is opaque storage with the size and alignment C gives IOUSBKeyboardData: 66 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 66 into.

type IOUSBLowLatencyIsocCompletion

type IOUSBLowLatencyIsocCompletion [3]uint64

See: https://developer.apple.com/documentation/iokit/iousblowlatencyisoccompletion IOUSBLowLatencyIsocCompletion is opaque storage with the size and alignment C gives IOUSBLowLatencyIsocCompletion: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOUSBLowLatencyIsocFrame

type IOUSBLowLatencyIsocFrame [4]uint32

See: https://developer.apple.com/documentation/iokit/iousblowlatencyisocframe IOUSBLowLatencyIsocFrame is opaque storage with the size and alignment C gives IOUSBLowLatencyIsocFrame: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type IOUSBLowLatencyIsocStruct

type IOUSBLowLatencyIsocStruct [5]uint64

See: https://developer.apple.com/documentation/iokit/iousblowlatencyisocstruct IOUSBLowLatencyIsocStruct is opaque storage with the size and alignment C gives IOUSBLowLatencyIsocStruct: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type IOUSBMatch

type IOUSBMatch [5]uint16

See: https://developer.apple.com/documentation/iokit/iousbmatch IOUSBMatch is opaque storage with the size and alignment C gives IOUSBMatch: 10 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 10 into.

type IOUSBMouseData

type IOUSBMouseData [3]uint16

See: https://developer.apple.com/documentation/iokit/iousbmousedata IOUSBMouseData is opaque storage with the size and alignment C gives IOUSBMouseData: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.

type IOUSBPlatformCapabilityDescriptor

type IOUSBPlatformCapabilityDescriptor [20]byte

See: https://developer.apple.com/documentation/iokit/iousbplatformcapabilitydescriptor IOUSBPlatformCapabilityDescriptor is opaque storage with the size and alignment C gives IOUSBPlatformCapabilityDescriptor: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type IOUSBStringDescriptor

type IOUSBStringDescriptor [3]byte

See: https://developer.apple.com/documentation/iokit/iousbstringdescriptor IOUSBStringDescriptor is opaque storage with the size and alignment C gives IOUSBStringDescriptor: 3 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 3 into.

type IOUSBSuperSpeedEndpointCompanionDescriptor

type IOUSBSuperSpeedEndpointCompanionDescriptor [6]byte

See: https://developer.apple.com/documentation/iokit/iousbsuperspeedendpointcompaniondescriptor IOUSBSuperSpeedEndpointCompanionDescriptor is opaque storage with the size and alignment C gives IOUSBSuperSpeedEndpointCompanionDescriptor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.

type IOUSBSuperSpeedHubDescriptor

type IOUSBSuperSpeedHubDescriptor [12]byte

See: https://developer.apple.com/documentation/iokit/iousbsuperspeedhubdescriptor IOUSBSuperSpeedHubDescriptor is opaque storage with the size and alignment C gives IOUSBSuperSpeedHubDescriptor: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor

type IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor [8]byte

See: https://developer.apple.com/documentation/iokit/iousbsuperspeedplusisochronousendpointcompaniondescriptor IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor is opaque storage with the size and alignment C gives IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type IOVideoDeviceInterfaceV1 added in v0.6.4

type IOVideoDeviceInterfaceV1 = IOVideoDeviceInterface_v1_t

IOVideoDeviceInterfaceV1 is a Go-name alias for IOVideoDeviceInterface_v1_t.

type IOVideoDeviceInterface_v1_t

type IOVideoDeviceInterface_v1_t [16]uint64

IOVideoDeviceInterface_v1_t is forward declaration of IOVideoDeviceInterface_v1_t.

See: https://developer.apple.com/documentation/iokit/iovideodeviceinterface_v1_t IOVideoDeviceInterface_v1_t is opaque storage with the size and alignment C gives IOVideoDeviceInterface_v1_t: 128 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 128 into.

type IOVideoDeviceNotification

type IOVideoDeviceNotification [4]uint64

See: https://developer.apple.com/documentation/iokit/iovideodevicenotification IOVideoDeviceNotification is opaque storage with the size and alignment C gives IOVideoDeviceNotification: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type IOVideoDeviceNotificationMessage

type IOVideoDeviceNotificationMessage [8]uint64

See: https://developer.apple.com/documentation/iokit/iovideodevicenotificationmessage IOVideoDeviceNotificationMessage is opaque storage with the size and alignment C gives IOVideoDeviceNotificationMessage: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type IOVideoStreamDescription

type IOVideoStreamDescription [6]uint32

See: https://developer.apple.com/documentation/iokit/iovideostreamdescription IOVideoStreamDescription is opaque storage with the size and alignment C gives IOVideoStreamDescription: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type IOVirtualRange

type IOVirtualRange struct {
	Address kernel.IOVirtualAddress
	Length  uint
}

IOVirtualRange

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/iovirtualrange

type KDisplayVendorID added in v0.5.1

type KDisplayVendorID uint32
const (
	KDisplayVendorIDUnknown KDisplayVendorID = 'u'<<24 | 'n'<<16 | 'k'<<8 | 'n' // 'unkn'
)

func (KDisplayVendorID) String added in v0.5.1

func (e KDisplayVendorID) String() string

type KFirstIOKitNotificationTypeConstants

type KFirstIOKitNotificationTypeConstants uint32
const (
	KFirstIOKitNotificationType          KFirstIOKitNotificationTypeConstants = 100
	KIOAsyncCompletionNotificationType   KFirstIOKitNotificationTypeConstants = 150
	KIOKitNoticationMsgSizeMask          KFirstIOKitNotificationTypeConstants = 3
	KIOKitNoticationTypeMask             KFirstIOKitNotificationTypeConstants = 0xfff
	KIOKitNoticationTypeSizeAdjShift     KFirstIOKitNotificationTypeConstants = 30
	KIOServiceMatchedNotificationType    KFirstIOKitNotificationTypeConstants = 101
	KIOServiceMessageNotificationType    KFirstIOKitNotificationTypeConstants = 160
	KIOServicePublishNotificationType    KFirstIOKitNotificationTypeConstants = 100
	KIOServiceTerminatedNotificationType KFirstIOKitNotificationTypeConstants = 102
	KLastIOKitNotificationType           KFirstIOKitNotificationTypeConstants = 199
)

func (KFirstIOKitNotificationTypeConstants) String

type KIOAsyncReservedIndexConstants

type KIOAsyncReservedIndexConstants uint32
const (
	KIOAsyncCalloutCount           KIOAsyncReservedIndexConstants = 3
	KIOAsyncCalloutFuncIndex       KIOAsyncReservedIndexConstants = 1
	KIOAsyncCalloutRefconIndex     KIOAsyncReservedIndexConstants = 2
	KIOAsyncReservedCount          KIOAsyncReservedIndexConstants = 1
	KIOAsyncReservedIndex          KIOAsyncReservedIndexConstants = 0
	KIOInterestCalloutCount        KIOAsyncReservedIndexConstants = 4
	KIOInterestCalloutFuncIndex    KIOAsyncReservedIndexConstants = 1
	KIOInterestCalloutRefconIndex  KIOAsyncReservedIndexConstants = 2
	KIOInterestCalloutServiceIndex KIOAsyncReservedIndexConstants = 3
	KIOMatchingCalloutCount        KIOAsyncReservedIndexConstants = 3
	KIOMatchingCalloutFuncIndex    KIOAsyncReservedIndexConstants = 1
	KIOMatchingCalloutRefconIndex  KIOAsyncReservedIndexConstants = 2
)

func (KIOAsyncReservedIndexConstants) String

type KIOCFSerializeTo added in v0.6.4

type KIOCFSerializeTo uint
const (
	KIOCFSerializeToBinary KIOCFSerializeTo = 0
)

func (KIOCFSerializeTo) String added in v0.6.4

func (e KIOCFSerializeTo) String() string

type KIOConnectMethodVarOutput added in v0.6.4

type KIOConnectMethodVarOutput int32
const (
	KIOConnectMethodVarOutputSize KIOConnectMethodVarOutput = -3
)

func (KIOConnectMethodVarOutput) String added in v0.6.4

func (e KIOConnectMethodVarOutput) String() string

type KIODefaultCacheConstants

type KIODefaultCacheConstants uint32
const (
	KIOCopybackCache      KIODefaultCacheConstants = 3
	KIOCopybackInnerCache KIODefaultCacheConstants = 5
	KIODefaultCache       KIODefaultCacheConstants = 0
	KIOInhibitCache       KIODefaultCacheConstants = 1
	KIOWriteCombineCache  KIODefaultCacheConstants = 4
	KIOWriteThruCache     KIODefaultCacheConstants = 2
)

func (KIODefaultCacheConstants) String

func (e KIODefaultCacheConstants) String() string

type KIODefaultMemory added in v0.6.4

type KIODefaultMemory uint32
const (
	KIODefaultMemoryType KIODefaultMemory = 0
)

func (KIODefaultMemory) String added in v0.6.4

func (e KIODefaultMemory) String() string

type KIOMap

type KIOMap uint32
const (
	KIOMapAnywhere           KIOMap = 0x1
	KIOMapCacheMask          KIOMap = 0xf00
	KIOMapCacheShift         KIOMap = 8
	KIOMapCopybackCache      KIOMap = 768
	KIOMapCopybackInnerCache KIOMap = 1280
	KIOMapDefaultCache       KIOMap = 0
	KIOMapInhibitCache       KIOMap = 256
	KIOMapOverwrite          KIOMap = 0x20000000
	KIOMapPrefault           KIOMap = 0x10000000
	KIOMapReadOnly           KIOMap = 0x1000
	KIOMapReference          KIOMap = 0x2000000
	KIOMapStatic             KIOMap = 0x1000000
	KIOMapUnique             KIOMap = 0x4000000
	KIOMapUserOptionsMask    KIOMap = 0xfff
	KIOMapWriteCombineCache  KIOMap = 1024
	KIOMapWriteThruCache     KIOMap = 512
)

func (KIOMap) String

func (e KIOMap) String() string

type KIORegistryIterate

type KIORegistryIterate uint32
const (
	KIORegistryIterateParents     KIORegistryIterate = 0x2
	KIORegistryIterateRecursively KIORegistryIterate = 0x1
)

func (KIORegistryIterate) String

func (e KIORegistryIterate) String() string

type KIOServiceInteraction added in v0.6.4

type KIOServiceInteraction uint32
const (
	KIOServiceInteractionAllowed KIOServiceInteraction = 0x1
)

func (KIOServiceInteraction) String added in v0.6.4

func (e KIOServiceInteraction) String() string

type KNanosecondScaleConstants

type KNanosecondScaleConstants uint32
const (
	// KMicrosecondScale: # Discussion
	KMicrosecondScale KNanosecondScaleConstants = 1000
	// KMillisecondScale: # Discussion
	KMillisecondScale KNanosecondScaleConstants = 1000000
	// KNanosecondScale: # Discussion
	KNanosecondScale KNanosecondScaleConstants = 1
	// KSecondScale: # Discussion
	KSecondScale KNanosecondScaleConstants = 1000000000
	// KTickScale: # Discussion
	KTickScale KNanosecondScaleConstants = 10000000
)

func (KNanosecondScaleConstants) String

func (e KNanosecondScaleConstants) String() string

type KOSAsyncRef

type KOSAsyncRef uint32
const (
	KOSAsyncRefCount KOSAsyncRef = 8
	KOSAsyncRefSize  KOSAsyncRef = 32
)

func (KOSAsyncRef) String

func (e KOSAsyncRef) String() string

type KOSAsyncRef64

type KOSAsyncRef64 uint32
const (
	KOSAsyncRef64Count KOSAsyncRef64 = 8
	KOSAsyncRef64Size  KOSAsyncRef64 = 64
)

func (KOSAsyncRef64) String

func (e KOSAsyncRef64) String() string

type KOSNotificationMessageIDConstants

type KOSNotificationMessageIDConstants uint32
const (
	KMaxAsyncArgs             KOSNotificationMessageIDConstants = 16
	KOSAsyncCompleteMessageID KOSNotificationMessageIDConstants = 57
	KOSNotificationMessageID  KOSNotificationMessageIDConstants = 53
)

func (KOSNotificationMessageIDConstants) String

type LongLBAModeParameterBlockDescriptor

type LongLBAModeParameterBlockDescriptor [16]byte

See: https://developer.apple.com/documentation/iokit/longlbamodeparameterblockdescriptor LongLBAModeParameterBlockDescriptor is opaque storage with the size and alignment C gives LongLBAModeParameterBlockDescriptor: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type LowLatencyUserBufferInfo

type LowLatencyUserBufferInfo [5]uint64

See: https://developer.apple.com/documentation/iokit/lowlatencyuserbufferinfo LowLatencyUserBufferInfo is opaque storage with the size and alignment C gives LowLatencyUserBufferInfo: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type LowLatencyUserBufferInfoV2

type LowLatencyUserBufferInfoV2 [6]uint64

See: https://developer.apple.com/documentation/iokit/lowlatencyuserbufferinfov2 LowLatencyUserBufferInfoV2 is opaque storage with the size and alignment C gives LowLatencyUserBufferInfoV2: 48 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 48 into.

type LowLatencyUserBufferInfoV3

type LowLatencyUserBufferInfoV3 [7]uint64

See: https://developer.apple.com/documentation/iokit/lowlatencyuserbufferinfov3 LowLatencyUserBufferInfoV3 is opaque storage with the size and alignment C gives LowLatencyUserBufferInfoV3: 56 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 56 into.

type MMCDeviceInterface

type MMCDeviceInterface [25]uint64

MMCDeviceInterface is basic interface for an MMC-2 Compliant Device.

See: https://developer.apple.com/documentation/iokit/mmcdeviceinterface MMCDeviceInterface is opaque storage with the size and alignment C gives MMCDeviceInterface: 200 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 200 into.

type ModePageFormatHeader

type ModePageFormatHeader [2]byte

See: https://developer.apple.com/documentation/iokit/modepageformatheader ModePageFormatHeader is opaque storage with the size and alignment C gives ModePageFormatHeader: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type ModeParameterBlockDescriptor

type ModeParameterBlockDescriptor [8]byte

See: https://developer.apple.com/documentation/iokit/modeparameterblockdescriptor ModeParameterBlockDescriptor is opaque storage with the size and alignment C gives ModeParameterBlockDescriptor: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type NVMeIdentifyControllerStruct

type NVMeIdentifyControllerStruct [4096]byte

See: https://developer.apple.com/documentation/iokit/nvmeidentifycontrollerstruct NVMeIdentifyControllerStruct is opaque storage with the size and alignment C gives NVMeIdentifyControllerStruct: 4096 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4096 into.

type NVMeIdentifyNamespaceStruct

type NVMeIdentifyNamespaceStruct [4096]byte

See: https://developer.apple.com/documentation/iokit/nvmeidentifynamespacestruct NVMeIdentifyNamespaceStruct is opaque storage with the size and alignment C gives NVMeIdentifyNamespaceStruct: 4096 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4096 into.

type NVMeLBAFormatDataStruct

type NVMeLBAFormatDataStruct [4]byte

See: https://developer.apple.com/documentation/iokit/nvmelbaformatdatastruct NVMeLBAFormatDataStruct is opaque storage with the size and alignment C gives NVMeLBAFormatDataStruct: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type NVMePowerStateDescriptor

type NVMePowerStateDescriptor [32]byte

See: https://developer.apple.com/documentation/iokit/nvmepowerstatedescriptor NVMePowerStateDescriptor is opaque storage with the size and alignment C gives NVMePowerStateDescriptor: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type NVMeSMARTData

type NVMeSMARTData [512]byte

See: https://developer.apple.com/documentation/iokit/nvmesmartdata NVMeSMARTData is opaque storage with the size and alignment C gives NVMeSMARTData: 512 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 512 into.

type NXEQElement

type NXEQElement [24]uint32

See: https://developer.apple.com/documentation/iokit/nxeqelement NXEQElement is opaque storage with the size and alignment C gives NXEQElement: 96 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 96 into.

type NXEvent

type NXEvent [22]uint32

See: https://developer.apple.com/documentation/iokit/nxevent NXEvent is opaque storage with the size and alignment C gives NXEvent: 88 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 88 into.

type NXEventExt

type NXEventExt [31]uint32

See: https://developer.apple.com/documentation/iokit/nxeventext NXEventExt is opaque storage with the size and alignment C gives NXEventExt: 124 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 124 into.

type NXEventExtension

type NXEventExtension [9]uint32

See: https://developer.apple.com/documentation/iokit/nxeventextension NXEventExtension is opaque storage with the size and alignment C gives NXEventExtension: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type NXEventHandle

type NXEventHandle = uint32

See: https://developer.apple.com/documentation/iokit/nxeventhandle

func NXOpenEventStatus deprecated

func NXOpenEventStatus() NXEventHandle

NXOpenEventStatus.

It panics if NXOpenEventStatus is unavailable at run time; use TryNXOpenEventStatus to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574517-nxopeneventstatus

func TryNXOpenEventStatus

func TryNXOpenEventStatus() (NXEventHandle, error)

TryNXOpenEventStatus is like NXOpenEventStatus but returns an error instead of panicking if NXOpenEventStatus is unavailable at run time.

type NXEventSystemDevice

type NXEventSystemDevice [4]uint32

See: https://developer.apple.com/documentation/iokit/nxeventsystemdevice NXEventSystemDevice is opaque storage with the size and alignment C gives NXEventSystemDevice: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type NXEventSystemDeviceList

type NXEventSystemDeviceList [64]uint32

See: https://developer.apple.com/documentation/iokit/nxeventsystemdevicelist NXEventSystemDeviceList is opaque storage with the size and alignment C gives NXEventSystemDeviceList: 256 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 256 into.

type NXEventSystemInfoType

type NXEventSystemInfoType = *int32

See: https://developer.apple.com/documentation/iokit/nxeventsysteminfotype

func NXEventSystemInfo deprecated

func NXEventSystemInfo(handle NXEventHandle, flavor string, evs_info *int32, evs_info_cnt *uint32) NXEventSystemInfoType

NXEventSystemInfo.

It panics if NXEventSystemInfo is unavailable at run time; use TryNXEventSystemInfo to get an error instead.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574527-nxeventsysteminfo

func TryNXEventSystemInfo

func TryNXEventSystemInfo(handle NXEventHandle, flavor string, evs_info *int32, evs_info_cnt *uint32) (NXEventSystemInfoType, error)

TryNXEventSystemInfo is like NXEventSystemInfo but returns an error instead of panicking if NXEventSystemInfo is unavailable at run time.

type NXKeyMapping

type NXKeyMapping [2]uint64

See: https://developer.apple.com/documentation/iokit/nxkeymapping NXKeyMapping is opaque storage with the size and alignment C gives NXKeyMapping: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type NXMouseScaling

type NXMouseScaling [21]uint32

See: https://developer.apple.com/documentation/iokit/nxmousescaling NXMouseScaling is opaque storage with the size and alignment C gives NXMouseScaling: 84 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 84 into.

type NXParsedKeyMapping

type NXParsedKeyMapping [444]uint64

See: https://developer.apple.com/documentation/iokit/nxparsedkeymapping NXParsedKeyMapping is opaque storage with the size and alignment C gives NXParsedKeyMapping: 3552 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 3552 into.

type NXPoint

type NXPoint [2]uint32

See: https://developer.apple.com/documentation/iokit/nxpoint NXPoint is opaque storage with the size and alignment C gives NXPoint: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type NXSize

type NXSize [2]uint32

See: https://developer.apple.com/documentation/iokit/nxsize NXSize is opaque storage with the size and alignment C gives NXSize: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type NXTabletPointData

type NXTabletPointData [8]uint32

See: https://developer.apple.com/documentation/iokit/nxtabletpointdata NXTabletPointData is opaque storage with the size and alignment C gives NXTabletPointData: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type NXTabletProximityData

type NXTabletProximityData [8]uint32

See: https://developer.apple.com/documentation/iokit/nxtabletproximitydata NXTabletProximityData is opaque storage with the size and alignment C gives NXTabletProximityData: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type OSAsyncReference

type OSAsyncReference [8]uint32

See: https://developer.apple.com/documentation/iokit/osasyncreference OSAsyncReference is opaque storage with the size and alignment C gives OSAsyncReference: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type OSAsyncReference64

type OSAsyncReference64 [8]uint64

See: https://developer.apple.com/documentation/iokit/osasyncreference64 OSAsyncReference64 is opaque storage with the size and alignment C gives OSAsyncReference64: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type OSNotificationHeader

type OSNotificationHeader struct {
	Size      uint32
	Type      uint32
	Reference [8]uint32
}

OSNotificationHeader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/iokit/osnotificationheader

type REPORT_LUNS_LOGICAL_UNIT_ADDRESSING

type REPORT_LUNS_LOGICAL_UNIT_ADDRESSING [1]uint16

See: https://developer.apple.com/documentation/iokit/report_luns_logical_unit_addressing REPORT_LUNS_LOGICAL_UNIT_ADDRESSING is opaque storage with the size and alignment C gives REPORT_LUNS_LOGICAL_UNIT_ADDRESSING: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type REPORT_LUNS_PERIPHERAL_DEVICE_ADDRESSING

type REPORT_LUNS_PERIPHERAL_DEVICE_ADDRESSING [1]uint16

See: https://developer.apple.com/documentation/iokit/report_luns_peripheral_device_addressing REPORT_LUNS_PERIPHERAL_DEVICE_ADDRESSING is opaque storage with the size and alignment C gives REPORT_LUNS_PERIPHERAL_DEVICE_ADDRESSING: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type RGBColor

type RGBColor [3]uint16

See: https://developer.apple.com/documentation/iokit/rgbcolor RGBColor is opaque storage with the size and alignment C gives RGBColor: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.

type RegEntryID

type RegEntryID [4]uint64

See: https://developer.apple.com/documentation/iokit/regentryid RegEntryID is opaque storage with the size and alignment C gives RegEntryID: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type ReportLunsLogicalUnitAddressing added in v0.6.4

type ReportLunsLogicalUnitAddressing = REPORT_LUNS_LOGICAL_UNIT_ADDRESSING

ReportLunsLogicalUnitAddressing is a Go-name alias for REPORT_LUNS_LOGICAL_UNIT_ADDRESSING.

type ReportLunsPeripheralDeviceAddressing added in v0.6.4

type ReportLunsPeripheralDeviceAddressing = REPORT_LUNS_PERIPHERAL_DEVICE_ADDRESSING

ReportLunsPeripheralDeviceAddressing is a Go-name alias for REPORT_LUNS_PERIPHERAL_DEVICE_ADDRESSING.

type SBCModePageCaching

type SBCModePageCaching [20]byte

See: https://developer.apple.com/documentation/iokit/sbcmodepagecaching SBCModePageCaching is opaque storage with the size and alignment C gives SBCModePageCaching: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type SBCModePageFlexibleDisk

type SBCModePageFlexibleDisk [32]byte

See: https://developer.apple.com/documentation/iokit/sbcmodepageflexibledisk SBCModePageFlexibleDisk is opaque storage with the size and alignment C gives SBCModePageFlexibleDisk: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type SBCModePageFormatDevice

type SBCModePageFormatDevice [24]byte

See: https://developer.apple.com/documentation/iokit/sbcmodepageformatdevice SBCModePageFormatDevice is opaque storage with the size and alignment C gives SBCModePageFormatDevice: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type SBCModePageRigidDiskGeometry

type SBCModePageRigidDiskGeometry [24]byte

See: https://developer.apple.com/documentation/iokit/sbcmodepagerigiddiskgeometry SBCModePageRigidDiskGeometry is opaque storage with the size and alignment C gives SBCModePageRigidDiskGeometry: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type SCSICmdInquiryPAGECxHeader added in v0.6.4

type SCSICmdInquiryPAGECxHeader = SCSICmd_INQUIRY_PAGECx_Header

SCSICmdInquiryPAGECxHeader is a Go-name alias for SCSICmd_INQUIRY_PAGECx_Header.

type SCSICmdInquiryPage00Header added in v0.6.4

type SCSICmdInquiryPage00Header = SCSICmd_INQUIRY_Page00_Header

SCSICmdInquiryPage00Header is a Go-name alias for SCSICmd_INQUIRY_Page00_Header.

type SCSICmdInquiryPage00HeaderSpc16 added in v0.6.4

type SCSICmdInquiryPage00HeaderSpc16 = SCSICmd_INQUIRY_Page00_Header_SPC_16

SCSICmdInquiryPage00HeaderSpc16 is a Go-name alias for SCSICmd_INQUIRY_Page00_Header_SPC_16.

type SCSICmdInquiryPage80Header added in v0.6.4

type SCSICmdInquiryPage80Header = SCSICmd_INQUIRY_Page80_Header

SCSICmdInquiryPage80Header is a Go-name alias for SCSICmd_INQUIRY_Page80_Header.

type SCSICmdInquiryPage80HeaderSpc16 added in v0.6.4

type SCSICmdInquiryPage80HeaderSpc16 = SCSICmd_INQUIRY_Page80_Header_SPC_16

SCSICmdInquiryPage80HeaderSpc16 is a Go-name alias for SCSICmd_INQUIRY_Page80_Header_SPC_16.

type SCSICmdInquiryPage83Header added in v0.6.4

type SCSICmdInquiryPage83Header = SCSICmd_INQUIRY_Page83_Header

SCSICmdInquiryPage83Header is a Go-name alias for SCSICmd_INQUIRY_Page83_Header.

type SCSICmdInquiryPage83HeaderSpc16 added in v0.6.4

type SCSICmdInquiryPage83HeaderSpc16 = SCSICmd_INQUIRY_Page83_Header_SPC_16

SCSICmdInquiryPage83HeaderSpc16 is a Go-name alias for SCSICmd_INQUIRY_Page83_Header_SPC_16.

type SCSICmdInquiryPage83IdentificationDescriptor added in v0.6.4

type SCSICmdInquiryPage83IdentificationDescriptor = SCSICmd_INQUIRY_Page83_Identification_Descriptor

SCSICmdInquiryPage83IdentificationDescriptor is a Go-name alias for SCSICmd_INQUIRY_Page83_Identification_Descriptor.

type SCSICmdInquiryPage83LogicalUnitGroupIdentifier added in v0.6.4

type SCSICmdInquiryPage83LogicalUnitGroupIdentifier = SCSICmd_INQUIRY_Page83_LogicalUnitGroup_Identifier

SCSICmdInquiryPage83LogicalUnitGroupIdentifier is a Go-name alias for SCSICmd_INQUIRY_Page83_LogicalUnitGroup_Identifier.

type SCSICmdInquiryPage83RelativeTargetPortIdentifier added in v0.6.4

type SCSICmdInquiryPage83RelativeTargetPortIdentifier = SCSICmd_INQUIRY_Page83_RelativeTargetPort_Identifier

SCSICmdInquiryPage83RelativeTargetPortIdentifier is a Go-name alias for SCSICmd_INQUIRY_Page83_RelativeTargetPort_Identifier.

type SCSICmdInquiryPage83TargetPortGroupIdentifier added in v0.6.4

type SCSICmdInquiryPage83TargetPortGroupIdentifier = SCSICmd_INQUIRY_Page83_TargetPortGroup_Identifier

SCSICmdInquiryPage83TargetPortGroupIdentifier is a Go-name alias for SCSICmd_INQUIRY_Page83_TargetPortGroup_Identifier.

type SCSICmdInquiryPage89Data added in v0.6.4

type SCSICmdInquiryPage89Data = SCSICmd_INQUIRY_Page89_Data

SCSICmdInquiryPage89Data is a Go-name alias for SCSICmd_INQUIRY_Page89_Data.

type SCSICmdInquiryPageB0Data added in v0.6.4

type SCSICmdInquiryPageB0Data = SCSICmd_INQUIRY_PageB0_Data

SCSICmdInquiryPageB0Data is a Go-name alias for SCSICmd_INQUIRY_PageB0_Data.

type SCSICmdInquiryPageB1Data added in v0.6.4

type SCSICmdInquiryPageB1Data = SCSICmd_INQUIRY_PageB1_Data

SCSICmdInquiryPageB1Data is a Go-name alias for SCSICmd_INQUIRY_PageB1_Data.

type SCSICmdInquiryPageB2Data added in v0.6.4

type SCSICmdInquiryPageB2Data = SCSICmd_INQUIRY_PageB2_Data

SCSICmdInquiryPageB2Data is a Go-name alias for SCSICmd_INQUIRY_PageB2_Data.

type SCSICmdInquiryPageB2ProvisioningGroupDescriptor added in v0.6.4

type SCSICmdInquiryPageB2ProvisioningGroupDescriptor = SCSICmd_INQUIRY_PageB2_Provisioning_Group_Descriptor

SCSICmdInquiryPageB2ProvisioningGroupDescriptor is a Go-name alias for SCSICmd_INQUIRY_PageB2_Provisioning_Group_Descriptor.

type SCSICmdInquiryPageC0Data added in v0.6.4

type SCSICmdInquiryPageC0Data = SCSICmd_INQUIRY_PageC0_Data

SCSICmdInquiryPageC0Data is a Go-name alias for SCSICmd_INQUIRY_PageC0_Data.

type SCSICmdInquiryPageC1Data added in v0.6.4

type SCSICmdInquiryPageC1Data = SCSICmd_INQUIRY_PageC1_Data

SCSICmdInquiryPageC1Data is a Go-name alias for SCSICmd_INQUIRY_PageC1_Data.

type SCSICmdInquiryStandardData added in v0.6.4

type SCSICmdInquiryStandardData = SCSICmd_INQUIRY_StandardData

SCSICmdInquiryStandardData is a Go-name alias for SCSICmd_INQUIRY_StandardData.

type SCSICmdInquiryStandardDataAll added in v0.6.4

type SCSICmdInquiryStandardDataAll = SCSICmd_INQUIRY_StandardDataAll

SCSICmdInquiryStandardDataAll is a Go-name alias for SCSICmd_INQUIRY_StandardDataAll.

type SCSICmdInquiryStandardDataPtr added in v0.6.4

type SCSICmdInquiryStandardDataPtr = SCSICmd_INQUIRY_StandardDataPtr

SCSICmdInquiryStandardDataPtr is a Go-name alias for SCSICmd_INQUIRY_StandardDataPtr.

type SCSICmdReportLunsHeader added in v0.6.4

type SCSICmdReportLunsHeader = SCSICmd_REPORT_LUNS_Header

SCSICmdReportLunsHeader is a Go-name alias for SCSICmd_REPORT_LUNS_Header.

type SCSICmdReportLunsLunEntry added in v0.6.4

type SCSICmdReportLunsLunEntry = SCSICmd_REPORT_LUNS_LUN_ENTRY

SCSICmdReportLunsLunEntry is a Go-name alias for SCSICmd_REPORT_LUNS_LUN_ENTRY.

type SCSICmd_INQUIRY_PAGECx_Header

type SCSICmd_INQUIRY_PAGECx_Header [4]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_pagecx_header SCSICmd_INQUIRY_PAGECx_Header is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_PAGECx_Header: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page00_Header

type SCSICmd_INQUIRY_Page00_Header [4]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page00_header SCSICmd_INQUIRY_Page00_Header is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page00_Header: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page00_Header_SPC_16

type SCSICmd_INQUIRY_Page00_Header_SPC_16 [2]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page00_header_spc_16 SCSICmd_INQUIRY_Page00_Header_SPC_16 is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page00_Header_SPC_16: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page80_Header

type SCSICmd_INQUIRY_Page80_Header [5]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page80_header SCSICmd_INQUIRY_Page80_Header is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page80_Header: 5 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 5 into.

type SCSICmd_INQUIRY_Page80_Header_SPC_16

type SCSICmd_INQUIRY_Page80_Header_SPC_16 [3]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page80_header_spc_16 SCSICmd_INQUIRY_Page80_Header_SPC_16 is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page80_Header_SPC_16: 6 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 6 into.

type SCSICmd_INQUIRY_Page83_Header

type SCSICmd_INQUIRY_Page83_Header [4]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page83_header SCSICmd_INQUIRY_Page83_Header is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page83_Header: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page83_Header_SPC_16

type SCSICmd_INQUIRY_Page83_Header_SPC_16 [2]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page83_header_spc_16 SCSICmd_INQUIRY_Page83_Header_SPC_16 is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page83_Header_SPC_16: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page83_Identification_Descriptor

type SCSICmd_INQUIRY_Page83_Identification_Descriptor [5]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page83_identification_descriptor SCSICmd_INQUIRY_Page83_Identification_Descriptor is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page83_Identification_Descriptor: 5 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 5 into.

type SCSICmd_INQUIRY_Page83_LogicalUnitGroup_Identifier

type SCSICmd_INQUIRY_Page83_LogicalUnitGroup_Identifier [2]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page83_logicalunitgroup_identifier SCSICmd_INQUIRY_Page83_LogicalUnitGroup_Identifier is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page83_LogicalUnitGroup_Identifier: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page83_RelativeTargetPort_Identifier

type SCSICmd_INQUIRY_Page83_RelativeTargetPort_Identifier [2]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page83_relativetargetport_identifier SCSICmd_INQUIRY_Page83_RelativeTargetPort_Identifier is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page83_RelativeTargetPort_Identifier: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page83_TargetPortGroup_Identifier

type SCSICmd_INQUIRY_Page83_TargetPortGroup_Identifier [2]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page83_targetportgroup_identifier SCSICmd_INQUIRY_Page83_TargetPortGroup_Identifier is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page83_TargetPortGroup_Identifier: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SCSICmd_INQUIRY_Page89_Data

type SCSICmd_INQUIRY_Page89_Data [143]uint32

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_page89_data SCSICmd_INQUIRY_Page89_Data is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_Page89_Data: 572 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 572 into.

type SCSICmd_INQUIRY_PageB0_Data

type SCSICmd_INQUIRY_PageB0_Data [64]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_pageb0_data SCSICmd_INQUIRY_PageB0_Data is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_PageB0_Data: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type SCSICmd_INQUIRY_PageB1_Data

type SCSICmd_INQUIRY_PageB1_Data [32]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_pageb1_data SCSICmd_INQUIRY_PageB1_Data is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_PageB1_Data: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type SCSICmd_INQUIRY_PageB2_Data

type SCSICmd_INQUIRY_PageB2_Data [8]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_pageb2_data SCSICmd_INQUIRY_PageB2_Data is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_PageB2_Data: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type SCSICmd_INQUIRY_PageB2_Provisioning_Group_Descriptor

type SCSICmd_INQUIRY_PageB2_Provisioning_Group_Descriptor [38]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_pageb2_provisioning_group_descriptor SCSICmd_INQUIRY_PageB2_Provisioning_Group_Descriptor is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_PageB2_Provisioning_Group_Descriptor: 38 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 38 into.

type SCSICmd_INQUIRY_PageC0_Data

type SCSICmd_INQUIRY_PageC0_Data [116]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_pagec0_data SCSICmd_INQUIRY_PageC0_Data is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_PageC0_Data: 116 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 116 into.

type SCSICmd_INQUIRY_PageC1_Data

type SCSICmd_INQUIRY_PageC1_Data [12]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_pagec1_data SCSICmd_INQUIRY_PageC1_Data is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_PageC1_Data: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type SCSICmd_INQUIRY_StandardData

type SCSICmd_INQUIRY_StandardData [36]byte

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_standarddata SCSICmd_INQUIRY_StandardData is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_StandardData: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type SCSICmd_INQUIRY_StandardDataAll

type SCSICmd_INQUIRY_StandardDataAll [128]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_inquiry_standarddataall SCSICmd_INQUIRY_StandardDataAll is opaque storage with the size and alignment C gives SCSICmd_INQUIRY_StandardDataAll: 256 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 256 into.

type SCSICmd_REPORT_LUNS_Header

type SCSICmd_REPORT_LUNS_Header [4]uint32

See: https://developer.apple.com/documentation/iokit/scsicmd_report_luns_header SCSICmd_REPORT_LUNS_Header is opaque storage with the size and alignment C gives SCSICmd_REPORT_LUNS_Header: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type SCSICmd_REPORT_LUNS_LUN_ENTRY

type SCSICmd_REPORT_LUNS_LUN_ENTRY [4]uint16

See: https://developer.apple.com/documentation/iokit/scsicmd_report_luns_lun_entry SCSICmd_REPORT_LUNS_LUN_ENTRY is opaque storage with the size and alignment C gives SCSICmd_REPORT_LUNS_LUN_ENTRY: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type SCSIDeviceIdentifier

type SCSIDeviceIdentifier = uint64

SCSIDeviceIdentifier is 64-bit number to represent a SCSI Device.

See: https://developer.apple.com/documentation/iokit/scsideviceidentifier

type SCSIInitiatorIdentifier

type SCSIInitiatorIdentifier = uint64

SCSIInitiatorIdentifier is 64-bit number to represent a SCSI Initiator Device.

See: https://developer.apple.com/documentation/iokit/scsiinitiatoridentifier

type SCSIServiceResponse

type SCSIServiceResponse = uint32

SCSIServiceResponse is attributes for task service response.

See: https://developer.apple.com/documentation/iokit/scsiserviceresponse

type SCSITaggedTaskIdentifier

type SCSITaggedTaskIdentifier = uint64

SCSITaggedTaskIdentifier is 64-bit number to represent a unique task identifier.

See: https://developer.apple.com/documentation/iokit/scsitaggedtaskidentifier

type SCSITargetIdentifier

type SCSITargetIdentifier = uint64

SCSITargetIdentifier is 64-bit number to represent a SCSI Target Device.

See: https://developer.apple.com/documentation/iokit/scsitargetidentifier

type SCSITaskAttribute

type SCSITaskAttribute = uint32

SCSITaskAttribute is attributes for task delivery.

See: https://developer.apple.com/documentation/iokit/scsitaskattribute

type SCSITaskDeviceInterface

type SCSITaskDeviceInterface [11]uint64

SCSITaskDeviceInterface is basic interface for a SCSITask Device.

See: https://developer.apple.com/documentation/iokit/scsitaskdeviceinterface SCSITaskDeviceInterface is opaque storage with the size and alignment C gives SCSITaskDeviceInterface: 88 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 88 into.

type SCSITaskInterface

type SCSITaskInterface [25]uint64

SCSITaskInterface is basic interface for a SCSITask.

See: https://developer.apple.com/documentation/iokit/scsitaskinterface SCSITaskInterface is opaque storage with the size and alignment C gives SCSITaskInterface: 200 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 200 into.

type SCSITaskSGElement

type SCSITaskSGElement [2]uint64

See: https://developer.apple.com/documentation/iokit/scsitasksgelement SCSITaskSGElement is opaque storage with the size and alignment C gives SCSITaskSGElement: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type SCSITaskState

type SCSITaskState = uint32

SCSITaskState is attributes for task state.

See: https://developer.apple.com/documentation/iokit/scsitaskstate

type SCSITaskStatus

type SCSITaskStatus = uint32

SCSITaskStatus is attributes for task status.

See: https://developer.apple.com/documentation/iokit/scsitaskstatus

type SCSI_Capacity_Data

type SCSI_Capacity_Data [2]uint32

See: https://developer.apple.com/documentation/iokit/scsi_capacity_data SCSI_Capacity_Data is opaque storage with the size and alignment C gives SCSI_Capacity_Data: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type SCSI_Capacity_Data_Long

type SCSI_Capacity_Data_Long [4]uint64

See: https://developer.apple.com/documentation/iokit/scsi_capacity_data_long SCSI_Capacity_Data_Long is opaque storage with the size and alignment C gives SCSI_Capacity_Data_Long: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type SCSI_Sense_Data

type SCSI_Sense_Data [18]byte

See: https://developer.apple.com/documentation/iokit/scsi_sense_data SCSI_Sense_Data is opaque storage with the size and alignment C gives SCSI_Sense_Data: 18 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 18 into.

type SPCModePagePowerCondition

type SPCModePagePowerCondition [12]byte

See: https://developer.apple.com/documentation/iokit/spcmodepagepowercondition SPCModePagePowerCondition is opaque storage with the size and alignment C gives SPCModePagePowerCondition: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type SPCModeParameterHeader6

type SPCModeParameterHeader6 [4]byte

See: https://developer.apple.com/documentation/iokit/spcmodeparameterheader6 SPCModeParameterHeader6 is opaque storage with the size and alignment C gives SPCModeParameterHeader6: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type SPCModeParameterHeader10

type SPCModeParameterHeader10 [8]byte

See: https://developer.apple.com/documentation/iokit/spcmodeparameterheader10 SPCModeParameterHeader10 is opaque storage with the size and alignment C gives SPCModeParameterHeader10: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type ScsiCapacityData added in v0.6.4

type ScsiCapacityData = SCSI_Capacity_Data

ScsiCapacityData is a Go-name alias for SCSI_Capacity_Data.

type ScsiCapacityDataLong added in v0.6.4

type ScsiCapacityDataLong = SCSI_Capacity_Data_Long

ScsiCapacityDataLong is a Go-name alias for SCSI_Capacity_Data_Long.

type ScsiSenseData added in v0.6.4

type ScsiSenseData = SCSI_Sense_Data

ScsiSenseData is a Go-name alias for SCSI_Sense_Data.

type SleepWakeNote

type SleepWakeNote [4]uint64

See: https://developer.apple.com/documentation/iokit/sleepwakenote SleepWakeNote is opaque storage with the size and alignment C gives sleepWakeNote: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type UASPipeDescriptor

type UASPipeDescriptor [4]byte

See: https://developer.apple.com/documentation/iokit/uaspipedescriptor UASPipeDescriptor is opaque storage with the size and alignment C gives UASPipeDescriptor: 4 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 4 into.

type UextObject added in v0.6.4

type UextObject = Uext_object_t

UextObject is a Go-name alias for Uext_object_t.

type UserExportDCLCallProc

type UserExportDCLCallProc [44]byte

See: https://developer.apple.com/documentation/iokit/userexportdclcallproc UserExportDCLCallProc is opaque storage with the size and alignment C gives UserExportDCLCallProc: 44 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 44 into.

type UserExportDCLCommand

type UserExportDCLCommand [32]byte

See: https://developer.apple.com/documentation/iokit/userexportdclcommand UserExportDCLCommand is opaque storage with the size and alignment C gives UserExportDCLCommand: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type UserExportDCLJump

type UserExportDCLJump [36]byte

See: https://developer.apple.com/documentation/iokit/userexportdcljump UserExportDCLJump is opaque storage with the size and alignment C gives UserExportDCLJump: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type UserExportDCLLabel

type UserExportDCLLabel [28]byte

See: https://developer.apple.com/documentation/iokit/userexportdcllabel UserExportDCLLabel is opaque storage with the size and alignment C gives UserExportDCLLabel: 28 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 28 into.

type UserExportDCLNuDCLLeader

type UserExportDCLNuDCLLeader [36]byte

See: https://developer.apple.com/documentation/iokit/userexportdclnudclleader UserExportDCLNuDCLLeader is opaque storage with the size and alignment C gives UserExportDCLNuDCLLeader: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type UserExportDCLPtrTimeStamp

type UserExportDCLPtrTimeStamp [36]byte

See: https://developer.apple.com/documentation/iokit/userexportdclptrtimestamp UserExportDCLPtrTimeStamp is opaque storage with the size and alignment C gives UserExportDCLPtrTimeStamp: 36 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 36 into.

type UserExportDCLSetTagSyncBits

type UserExportDCLSetTagSyncBits [32]byte

See: https://developer.apple.com/documentation/iokit/userexportdclsettagsyncbits UserExportDCLSetTagSyncBits is opaque storage with the size and alignment C gives UserExportDCLSetTagSyncBits: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type UserExportDCLTimeStamp

type UserExportDCLTimeStamp [32]byte

See: https://developer.apple.com/documentation/iokit/userexportdcltimestamp UserExportDCLTimeStamp is opaque storage with the size and alignment C gives UserExportDCLTimeStamp: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type UserExportDCLTransferBuffer

type UserExportDCLTransferBuffer [48]byte

See: https://developer.apple.com/documentation/iokit/userexportdcltransferbuffer UserExportDCLTransferBuffer is opaque storage with the size and alignment C gives UserExportDCLTransferBuffer: 48 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 48 into.

type UserExportDCLTransferPacket

type UserExportDCLTransferPacket [40]byte

See: https://developer.apple.com/documentation/iokit/userexportdcltransferpacket UserExportDCLTransferPacket is opaque storage with the size and alignment C gives UserExportDCLTransferPacket: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type UserExportDCLUpdateDCLList

type UserExportDCLUpdateDCLList [40]byte

See: https://developer.apple.com/documentation/iokit/userexportdclupdatedcllist UserExportDCLUpdateDCLList is opaque storage with the size and alignment C gives UserExportDCLUpdateDCLList: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type UserShspeed added in v0.6.4

type UserShspeed = User_shspeed_t

UserShspeed is a Go-name alias for User_shspeed_t.

type UserSpeed added in v0.6.4

type UserSpeed = User_speed_t

UserSpeed is a Go-name alias for User_speed_t.

type UserUl added in v0.6.4

type UserUl = User_ul_t

UserUl is a Go-name alias for User_ul_t.

type UserUs added in v0.6.4

type UserUs = User_us_t

UserUs is a Go-name alias for User_us_t.

type VDCommunicationInfoRec

type VDCommunicationInfoRec [12]uint32

See: https://developer.apple.com/documentation/iokit/vdcommunicationinforec VDCommunicationInfoRec is opaque storage with the size and alignment C gives VDCommunicationInfoRec: 48 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 48 into.

type VDCommunicationRec

type VDCommunicationRec [10]uint64

See: https://developer.apple.com/documentation/iokit/vdcommunicationrec VDCommunicationRec is opaque storage with the size and alignment C gives VDCommunicationRec: 80 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 80 into.

type VDConfigurationFeatureListRec

type VDConfigurationFeatureListRec [4]uint64

See: https://developer.apple.com/documentation/iokit/vdconfigurationfeaturelistrec VDConfigurationFeatureListRec is opaque storage with the size and alignment C gives VDConfigurationFeatureListRec: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type VDConfigurationRec

type VDConfigurationRec [4]uint64

See: https://developer.apple.com/documentation/iokit/vdconfigurationrec VDConfigurationRec is opaque storage with the size and alignment C gives VDConfigurationRec: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type VDConvolutionInfoRec

type VDConvolutionInfoRec [5]uint32

See: https://developer.apple.com/documentation/iokit/vdconvolutioninforec VDConvolutionInfoRec is opaque storage with the size and alignment C gives VDConvolutionInfoRec: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type VDDDCBlockRec

type VDDDCBlockRec [36]uint32

See: https://developer.apple.com/documentation/iokit/vdddcblockrec VDDDCBlockRec is opaque storage with the size and alignment C gives VDDDCBlockRec: 144 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 144 into.

type VDDetailedTimingRec

type VDDetailedTimingRec [20]uint64

See: https://developer.apple.com/documentation/iokit/vddetailedtimingrec VDDetailedTimingRec is opaque storage with the size and alignment C gives VDDetailedTimingRec: 160 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 160 into.

type VDDisplayConnectInfoRec

type VDDisplayConnectInfoRec [3]uint64

See: https://developer.apple.com/documentation/iokit/vddisplayconnectinforec VDDisplayConnectInfoRec is opaque storage with the size and alignment C gives VDDisplayConnectInfoRec: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type VDDisplayTimingRangeRec

type VDDisplayTimingRangeRec [30]uint64

See: https://developer.apple.com/documentation/iokit/vddisplaytimingrangerec VDDisplayTimingRangeRec is opaque storage with the size and alignment C gives VDDisplayTimingRangeRec: 240 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 240 into.

type VDDrawHardwareCursorRec

type VDDrawHardwareCursorRec [5]uint32

See: https://developer.apple.com/documentation/iokit/vddrawhardwarecursorrec VDDrawHardwareCursorRec is opaque storage with the size and alignment C gives VDDrawHardwareCursorRec: 20 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 20 into.

type VDEntryRecord

type VDEntryRecord [1]uint64

See: https://developer.apple.com/documentation/iokit/vdentryrecord VDEntryRecord is opaque storage with the size and alignment C gives VDEntryRecord: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type VDFlagRecord

type VDFlagRecord [2]byte

See: https://developer.apple.com/documentation/iokit/vdflagrecord VDFlagRecord is opaque storage with the size and alignment C gives VDFlagRecord: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type VDGamRecPtr

type VDGamRecPtr = unsafe.Pointer

VDGamRecPtr is represents a type used by the Video Components API.

See: https://developer.apple.com/documentation/iokit/vdgamrecptr

type VDGammaInfoRec

type VDGammaInfoRec [3]uint64

See: https://developer.apple.com/documentation/iokit/vdgammainforec VDGammaInfoRec is opaque storage with the size and alignment C gives VDGammaInfoRec: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type VDGammaRecord

type VDGammaRecord [1]uint64

See: https://developer.apple.com/documentation/iokit/vdgammarecord VDGammaRecord is opaque storage with the size and alignment C gives VDGammaRecord: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type VDGetGammaListRec

type VDGetGammaListRec [3]uint64

See: https://developer.apple.com/documentation/iokit/vdgetgammalistrec VDGetGammaListRec is opaque storage with the size and alignment C gives VDGetGammaListRec: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type VDGrayRecord

type VDGrayRecord [2]byte

See: https://developer.apple.com/documentation/iokit/vdgrayrecord VDGrayRecord is opaque storage with the size and alignment C gives VDGrayRecord: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type VDHardwareCursorDrawStateRec

type VDHardwareCursorDrawStateRec [6]uint32

See: https://developer.apple.com/documentation/iokit/vdhardwarecursordrawstaterec VDHardwareCursorDrawStateRec is opaque storage with the size and alignment C gives VDHardwareCursorDrawStateRec: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type VDMirrorRec

type VDMirrorRec [13]uint64

See: https://developer.apple.com/documentation/iokit/vdmirrorrec VDMirrorRec is opaque storage with the size and alignment C gives VDMirrorRec: 104 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 104 into.

type VDMultiConnectInfoRec

type VDMultiConnectInfoRec [4]uint64

See: https://developer.apple.com/documentation/iokit/vdmulticonnectinforec VDMultiConnectInfoRec is opaque storage with the size and alignment C gives VDMultiConnectInfoRec: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type VDPageInfo

type VDPageInfo [3]uint64

See: https://developer.apple.com/documentation/iokit/vdpageinfo VDPageInfo is opaque storage with the size and alignment C gives VDPageInfo: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type VDPowerStateRec

type VDPowerStateRec [3]uint64

See: https://developer.apple.com/documentation/iokit/vdpowerstaterec VDPowerStateRec is opaque storage with the size and alignment C gives VDPowerStateRec: 24 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 24 into.

type VDPrivateSelectorDataRec

type VDPrivateSelectorDataRec [4]uint64

See: https://developer.apple.com/documentation/iokit/vdprivateselectordatarec VDPrivateSelectorDataRec is opaque storage with the size and alignment C gives VDPrivateSelectorDataRec: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type VDPrivateSelectorRec

type VDPrivateSelectorRec [5]uint64

See: https://developer.apple.com/documentation/iokit/vdprivateselectorrec VDPrivateSelectorRec is opaque storage with the size and alignment C gives VDPrivateSelectorRec: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type VDResolutionInfoRec

type VDResolutionInfoRec [5]uint64

See: https://developer.apple.com/documentation/iokit/vdresolutioninforec VDResolutionInfoRec is opaque storage with the size and alignment C gives VDResolutionInfoRec: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type VDRetrieveGammaRec

type VDRetrieveGammaRec [2]uint64

See: https://developer.apple.com/documentation/iokit/vdretrievegammarec VDRetrieveGammaRec is opaque storage with the size and alignment C gives VDRetrieveGammaRec: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type VDScalerInfoRec

type VDScalerInfoRec [12]uint32

See: https://developer.apple.com/documentation/iokit/vdscalerinforec VDScalerInfoRec is opaque storage with the size and alignment C gives VDScalerInfoRec: 48 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 48 into.

type VDScalerRec

type VDScalerRec [16]uint32

See: https://developer.apple.com/documentation/iokit/vdscalerrec VDScalerRec is opaque storage with the size and alignment C gives VDScalerRec: 64 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 64 into.

type VDSetEntryRecord

type VDSetEntryRecord [2]uint64

See: https://developer.apple.com/documentation/iokit/vdsetentryrecord VDSetEntryRecord is opaque storage with the size and alignment C gives VDSetEntryRecord: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type VDSetHardwareCursorRec

type VDSetHardwareCursorRec [2]uint64

See: https://developer.apple.com/documentation/iokit/vdsethardwarecursorrec VDSetHardwareCursorRec is opaque storage with the size and alignment C gives VDSetHardwareCursorRec: 16 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 16 into.

type VDSettings

type VDSettings [19]uint16

See: https://developer.apple.com/documentation/iokit/vdsettings VDSettings is opaque storage with the size and alignment C gives VDSettings: 38 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 38 into.

type VDSizeInfo

type VDSizeInfo [4]uint16

See: https://developer.apple.com/documentation/iokit/vdsizeinfo VDSizeInfo is opaque storage with the size and alignment C gives VDSizeInfo: 8 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 8 into.

type VDSupportsHardwareCursorRec

type VDSupportsHardwareCursorRec [3]uint32

See: https://developer.apple.com/documentation/iokit/vdsupportshardwarecursorrec VDSupportsHardwareCursorRec is opaque storage with the size and alignment C gives VDSupportsHardwareCursorRec: 12 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 12 into.

type VDSwitchInfoRec

type VDSwitchInfoRec [4]uint64

See: https://developer.apple.com/documentation/iokit/vdswitchinforec VDSwitchInfoRec is opaque storage with the size and alignment C gives VDSwitchInfoRec: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type VDSyncInfoRec

type VDSyncInfoRec [2]byte

See: https://developer.apple.com/documentation/iokit/vdsyncinforec VDSyncInfoRec is opaque storage with the size and alignment C gives VDSyncInfoRec: 2 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 2 into.

type VDTimingInfoRec

type VDTimingInfoRec [4]uint64

See: https://developer.apple.com/documentation/iokit/vdtiminginforec VDTimingInfoRec is opaque storage with the size and alignment C gives VDTimingInfoRec: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type VDVideoParametersInfoRec

type VDVideoParametersInfoRec [4]uint64

See: https://developer.apple.com/documentation/iokit/vdvideoparametersinforec VDVideoParametersInfoRec is opaque storage with the size and alignment C gives VDVideoParametersInfoRec: 32 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 32 into.

type VPBlock

type VPBlock [11]uint32

See: https://developer.apple.com/documentation/iokit/vpblock VPBlock is opaque storage with the size and alignment C gives VPBlock: 44 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 44 into.

Jump to

Keyboard shortcuts

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