iokit

package
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 10 Imported by: 0

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 IOAccelFindAccelerator

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

IOAccelFindAccelerator.

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.

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.

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

func IOCancelPowerChange

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

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

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

func IOCatalogueGetData

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

IOCatalogueGetData.

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

func IOCatalogueModuleLoaded

func IOCatalogueModuleLoaded(mainPort uint32, name string) int32

IOCatalogueModuleLoaded.

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

func IOCatalogueReset

func IOCatalogueReset(mainPort uint32, flag uint32) int32

IOCatalogueReset.

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

func IOCatalogueSendData

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

IOCatalogueSendData.

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

func IOCatalogueTerminate

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

IOCatalogueTerminate.

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.

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

func IOConnectAddRef

func IOConnectAddRef(connect uint32) int32

IOConnectAddRef adds a reference to the connect handle.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

func IOConnectRelease

func IOConnectRelease(connect uint32) int32

IOConnectRelease remove a reference to the connect handle.

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.

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.

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.

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

func IOConnectTrap0

func IOConnectTrap0(connect uint32, index uint32) int32

IOConnectTrap0.

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

func IOConnectUnmapMemory

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

IOConnectUnmapMemory remove a mapping made with IOConnectMapMemory.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

func IODispatchCalloutFromMessage

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

IODispatchCalloutFromMessage dispatches callback notifications from a mach message.

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

func IODisplayCommitParameters

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

IODisplayCommitParameters.

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

func IODisplayCreateInfoDictionary

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

IODisplayCreateInfoDictionary create a CFDictionary with information about display hardware.

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

func IODisplayForFramebuffer

func IODisplayForFramebuffer(framebuffer uint32, options uint32) uint32

IODisplayForFramebuffer.

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.

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.

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.

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.

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.

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

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.

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.

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

func IOFramebufferOpen

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

IOFramebufferOpen.

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

func IOHIDAccessCheckAuditToken

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

IOHIDAccessCheckAuditToken.

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

func IOHIDCreateSharedMemory

func IOHIDCreateSharedMemory(connect uint32, version uint32) int32

IOHIDCreateSharedMemory.

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

func IOHIDDeviceClose

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

IOHIDDeviceClose closes communication with a HID device.

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.

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.

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.

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.

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.

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.

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.

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.

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

func IOHIDDeviceGetTypeID

func IOHIDDeviceGetTypeID() uint

IOHIDDeviceGetTypeID returns the type identifier of all IOHIDDevice instances.

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.

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.

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

func IOHIDDeviceGetValueWithOptions

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

IOHIDDeviceGetValueWithOptions.

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.

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.

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.

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.

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.

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.

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

func IOHIDDeviceSetCancelHandler

func IOHIDDeviceSetCancelHandler(device IOHIDDeviceRef, handler unsafe.Pointer)

IOHIDDeviceSetCancelHandler.

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

func IOHIDDeviceSetDispatchQueue

func IOHIDDeviceSetDispatchQueue(device IOHIDDeviceRef, queue dispatch.Queue)

IOHIDDeviceSetDispatchQueue.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

func IOHIDElementCopyAttached

func IOHIDElementCopyAttached(element IOHIDElementRef) corefoundation.CFArrayRef

IOHIDElementCopyAttached obtain attached elements.

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.

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

func IOHIDElementGetChildren

func IOHIDElementGetChildren(element IOHIDElementRef) corefoundation.CFArrayRef

IOHIDElementGetChildren returns the children for the element.

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

func IOHIDElementGetCookie

func IOHIDElementGetCookie(element IOHIDElementRef) kernel.IOHIDElementCookie

IOHIDElementGetCookie retrieves the cookie for the element.

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.

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.

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

func IOHIDElementGetName

func IOHIDElementGetName(element IOHIDElementRef) corefoundation.CFStringRef

IOHIDElementGetName returns the name for the element.

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.

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.

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.

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

func IOHIDElementGetReportCount

func IOHIDElementGetReportCount(element IOHIDElementRef) uint32

IOHIDElementGetReportCount returns the report count for the element.

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

func IOHIDElementGetReportID

func IOHIDElementGetReportID(element IOHIDElementRef) uint32

IOHIDElementGetReportID returns the report ID for the element.

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.

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

func IOHIDElementGetTypeID

func IOHIDElementGetTypeID() uint

IOHIDElementGetTypeID returns the type identifier of all IOHIDElement instances.

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

func IOHIDElementGetUnit

func IOHIDElementGetUnit(element IOHIDElementRef) uint32

IOHIDElementGetUnit returns the unit property for the element.

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.

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

func IOHIDElementGetUsage

func IOHIDElementGetUsage(element IOHIDElementRef) uint32

IOHIDElementGetUsage retrieves the usage for an element.

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

func IOHIDElementGetUsagePage

func IOHIDElementGetUsagePage(element IOHIDElementRef) uint32

IOHIDElementGetUsagePage retrieves the usage page for an element.

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.

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.

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

func IOHIDElementIsArray

func IOHIDElementIsArray(element IOHIDElementRef) bool

IOHIDElementIsArray returns the array property for the element.

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

func IOHIDElementIsNonLinear

func IOHIDElementIsNonLinear(element IOHIDElementRef) bool

IOHIDElementIsNonLinear returns the linear property for the element.

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

func IOHIDElementIsRelative

func IOHIDElementIsRelative(element IOHIDElementRef) bool

IOHIDElementIsRelative returns the relative property for the element.

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

func IOHIDElementIsVirtual

func IOHIDElementIsVirtual(element IOHIDElementRef) bool

IOHIDElementIsVirtual returns the virtual property for the element.

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

func IOHIDElementIsWrapping

func IOHIDElementIsWrapping(element IOHIDElementRef) bool

IOHIDElementIsWrapping returns the wrap property for the element.

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.

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

func IOHIDEventSystemClientGetTypeID

func IOHIDEventSystemClientGetTypeID() uint

IOHIDEventSystemClientGetTypeID.

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

func IOHIDGetAccelerationWithKey deprecated

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

IOHIDGetAccelerationWithKey.

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.

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.

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.

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

func IOHIDGetMouseAcceleration deprecated

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

IOHIDGetMouseAcceleration.

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.

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.

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.

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.

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

func IOHIDManagerClose

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

IOHIDManagerClose closes the IOHIDManager.

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

func IOHIDManagerCopyDevices

func IOHIDManagerCopyDevices(manager IOHIDManagerRef) corefoundation.CFSet

IOHIDManagerCopyDevices obtains currently enumerated devices.

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.

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

func IOHIDManagerGetTypeID

func IOHIDManagerGetTypeID() uint

IOHIDManagerGetTypeID returns the type identifier of all IOHIDManager instances.

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

func IOHIDManagerOpen

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

IOHIDManagerOpen opens the IOHIDManager.

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.

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.

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.

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

func IOHIDManagerRegisterInputReportWithTimeStampCallback

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

IOHIDManagerRegisterInputReportWithTimeStampCallback.

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.

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.

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.

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

func IOHIDManagerSetCancelHandler

func IOHIDManagerSetCancelHandler(manager IOHIDManagerRef, handler unsafe.Pointer)

IOHIDManagerSetCancelHandler.

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.

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.

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

func IOHIDManagerSetDispatchQueue

func IOHIDManagerSetDispatchQueue(manager IOHIDManagerRef, queue dispatch.Queue)

IOHIDManagerSetDispatchQueue.

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.

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.

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.

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.

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.

Deprecated: Deprecated since macOS 11.0.

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

func IOHIDQueueAddElement

func IOHIDQueueAddElement(queue IOHIDQueueRef, element IOHIDElementRef)

IOHIDQueueAddElement adds an element to the queue

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

func IOHIDQueueContainsElement

func IOHIDQueueContainsElement(queue IOHIDQueueRef, element IOHIDElementRef) bool

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

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

func IOHIDQueueGetDepth

func IOHIDQueueGetDepth(queue IOHIDQueueRef) corefoundation.CFIndex

IOHIDQueueGetDepth obtain the depth of the queue.

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

func IOHIDQueueGetTypeID

func IOHIDQueueGetTypeID() uint

IOHIDQueueGetTypeID returns the type identifier of all IOHIDQueue instances.

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.

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

func IOHIDQueueRemoveElement

func IOHIDQueueRemoveElement(queue IOHIDQueueRef, element IOHIDElementRef)

IOHIDQueueRemoveElement removes an element from the queue

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.

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

func IOHIDQueueSetCancelHandler

func IOHIDQueueSetCancelHandler(queue IOHIDQueueRef, handler unsafe.Pointer)

IOHIDQueueSetCancelHandler.

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.

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

func IOHIDQueueSetDispatchQueue

func IOHIDQueueSetDispatchQueue(queue IOHIDQueueRef, dispatchQueue dispatch.Queue)

IOHIDQueueSetDispatchQueue.

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

func IOHIDQueueStart

func IOHIDQueueStart(queue IOHIDQueueRef)

IOHIDQueueStart starts element value delivery to the queue.

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

func IOHIDQueueStop

func IOHIDQueueStop(queue IOHIDQueueRef)

IOHIDQueueStop stops element value delivery to the queue.

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.

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

func IOHIDRegisterVirtualDisplay deprecated

func IOHIDRegisterVirtualDisplay(handle uint32, display_token *uint32) int32

IOHIDRegisterVirtualDisplay.

Deprecated: Deprecated since macOS 11.0.

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

func IOHIDServiceClientConformsTo

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

IOHIDServiceClientConformsTo.

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

func IOHIDServiceClientGetTypeID

func IOHIDServiceClientGetTypeID() uint

IOHIDServiceClientGetTypeID.

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

func IOHIDSetAccelerationWithKey deprecated

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

IOHIDSetAccelerationWithKey.

Deprecated: Deprecated since macOS 10.12.

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

func IOHIDSetCursorEnable deprecated

func IOHIDSetCursorEnable(connect uint32, enable int32) int32

IOHIDSetCursorEnable.

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.

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

func IOHIDSetModifierLockState

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

IOHIDSetModifierLockState.

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

func IOHIDSetMouseAcceleration deprecated

func IOHIDSetMouseAcceleration(handle uint32, acceleration float64) int32

IOHIDSetMouseAcceleration.

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.

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.

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.

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.

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.

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

func IOHIDSetVirtualDisplayBounds deprecated

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

IOHIDSetVirtualDisplayBounds.

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.

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

func IOHIDTransactionClear

func IOHIDTransactionClear(transaction IOHIDTransactionRef)

IOHIDTransactionClear clears element transaction values.

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.

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.

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.

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

func IOHIDTransactionGetTypeID

func IOHIDTransactionGetTypeID() uint

IOHIDTransactionGetTypeID returns the type identifier of all IOHIDTransaction instances.

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

func IOHIDTransactionRemoveElement

func IOHIDTransactionRemoveElement(transaction IOHIDTransactionRef, element IOHIDElementRef)

IOHIDTransactionRemoveElement removes an element to the transaction

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.

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.

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.

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.

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

func IOHIDUnregisterVirtualDisplay deprecated

func IOHIDUnregisterVirtualDisplay(handle uint32, display_token uint32) int32

IOHIDUnregisterVirtualDisplay.

Deprecated: Deprecated since macOS 11.0.

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

func IOHIDUserDeviceHandleReportWithTimeStamp

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

IOHIDUserDeviceHandleReportWithTimeStamp.

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

func IOHIDUserDeviceSetCancelHandler

func IOHIDUserDeviceSetCancelHandler(device IOHIDUserDeviceRef, handler unsafe.Pointer)

IOHIDUserDeviceSetCancelHandler.

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

func IOHIDUserDeviceSetDispatchQueue

func IOHIDUserDeviceSetDispatchQueue(device IOHIDUserDeviceRef, queue dispatch.Queue)

IOHIDUserDeviceSetDispatchQueue.

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

func IOHIDValueGetBytePtr

func IOHIDValueGetBytePtr(value IOHIDValueRef) *uint8

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

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.

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.

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.

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.

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

func IOHIDValueGetTypeID

func IOHIDValueGetTypeID() uint

IOHIDValueGetTypeID returns the type identifier of all IOHIDValue instances.

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

func IOI2CCopyInterfaceForID

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

IOI2CCopyInterfaceForID.

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

func IOI2CInterfaceClose

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

IOI2CInterfaceClose closes an IOI2CConnectRef.

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.

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.

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

func IOIteratorIsValid

func IOIteratorIsValid(iterator uint32) int32

IOIteratorIsValid checks an iterator is still valid.

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

func IOIteratorNext

func IOIteratorNext(iterator uint32) uint32

IOIteratorNext returns the next object in an iteration.

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

func IOIteratorReset

func IOIteratorReset(iterator uint32)

IOIteratorReset resets an iteration back to the beginning.

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.

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.

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

func IOMainPort

func IOMainPort(bootstrapPort uint32, mainPort *uint32) int32

IOMainPort.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

func IONotificationPortDestroy

func IONotificationPortDestroy(notify IONotificationPortRef)

IONotificationPortDestroy destroys a notification object created with IONotificationPortCreate.

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.

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.

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.

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

func IONotificationPortSetImportanceReceiver

func IONotificationPortSetImportanceReceiver(notify IONotificationPortRef) int32

IONotificationPortSetImportanceReceiver.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

func IOOpenFirmwarePathMatching deprecated

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

IOOpenFirmwarePathMatching.

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]

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.

Deprecated: Deprecated since macOS 10.6.

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

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.

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.

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.

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

func IOPMAssertionRelease

func IOPMAssertionRelease(AssertionID IOPMAssertionID) kernel.IOReturn

IOPMAssertionRelease decrements the assertion's retain count.

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

func IOPMAssertionRetain

func IOPMAssertionRetain(theAssertion IOPMAssertionID)

IOPMAssertionRetain increments the assertion's retain count.

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.

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.

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.

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.

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.

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.

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

func IOPMCopyScheduledPowerEvents

func IOPMCopyScheduledPowerEvents() corefoundation.CFArrayRef

IOPMCopyScheduledPowerEvents list all scheduled system power events

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

func IOPMDeclareNetworkClientActivity

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

IOPMDeclareNetworkClientActivity.

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.

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.

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.

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.

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.

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

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

func IOPMSleepSystem

func IOPMSleepSystem(fb uint32) kernel.IOReturn

IOPMSleepSystem request that the system initiate sleep.

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.

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.

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.

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

func IOPSGetPowerSourceDescription

func IOPSGetPowerSourceDescription(blob corefoundation.CFTypeRef, ps corefoundation.CFTypeRef) corefoundation.CFDictionaryRef

IOPSGetPowerSourceDescription returns a CFDictionary with readable information about the specific power source.

See: https://developer.apple.com/documentation/iokit/1523867-iopsgetpowersourcedescription

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.

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.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1514238-ioregistrycreateiterator

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1514229-ioregistryentrygetpath

func IORegistryEntryGetProperty

func IORegistryEntryGetProperty(entry uint32, propertyName string, buffer string, size *uint32) int32

IORegistryEntryGetProperty.

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.

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.

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.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1514882-ioregistryentrysetcfproperty

func IORegistryGetRootEntry

func IORegistryGetRootEntry(mainPort uint32) uint32

IORegistryGetRootEntry return a handle to the registry root.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1514416-ioservicenamematching

func IOServiceOFPathToBSDName deprecated

func IOServiceOFPathToBSDName(mainPort uint32, openFirmwarePath string, bsdName string) int32

IOServiceOFPathToBSDName.

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.

See: https://developer.apple.com/documentation/iokit/1514515-ioserviceopen

func IOServiceOpenAsFileDescriptor

func IOServiceOpenAsFileDescriptor(service uint32, oflag int32) int32

IOServiceOpenAsFileDescriptor.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1390335-iourlcreatedataandpropertiesfrom

func KextManagerCopyLoadedKextInfo

func KextManagerCopyLoadedKextInfo(kextIdentifiers corefoundation.CFArrayRef, infoKeys corefoundation.CFArrayRef) corefoundation.CFDictionaryRef

KextManagerCopyLoadedKextInfo returns information about loaded kexts in a dictionary.

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.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1562904-kextmanagerunloadkextwithidentif

func NXClickTime deprecated

func NXClickTime(handle NXEventHandle) float64

NXClickTime.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574526-nxclicktime

func NXCloseEventStatus deprecated

func NXCloseEventStatus(handle NXEventHandle)

NXCloseEventStatus.

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.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574518-nxgetclickspace

func NXKeyRepeatInterval deprecated

func NXKeyRepeatInterval(handle NXEventHandle) float64

NXKeyRepeatInterval.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574515-nxkeyrepeatinterval

func NXKeyRepeatThreshold deprecated

func NXKeyRepeatThreshold(handle NXEventHandle) float64

NXKeyRepeatThreshold.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574514-nxkeyrepeatthreshold

func NXResetKeyboard deprecated

func NXResetKeyboard(handle NXEventHandle)

NXResetKeyboard.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574523-nxresetkeyboard

func NXResetMouse deprecated

func NXResetMouse(handle NXEventHandle)

NXResetMouse.

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.

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.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1514263-osgetnotificationfrommessage

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.

See: https://developer.apple.com/documentation/iokit/1514649-iodataqueuepeek

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 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.

See: https://developer.apple.com/documentation/iokit/1588663-iohiddevicecreate

func IOHIDElementGetDevice

func IOHIDElementGetDevice(element IOHIDElementRef) IOHIDDeviceRef

IOHIDElementGetDevice obtain the device associated with the element.

See: https://developer.apple.com/documentation/iokit/1564139-iohidelementgetdevice

func IOHIDQueueGetDevice

func IOHIDQueueGetDevice(queue IOHIDQueueRef) IOHIDDeviceRef

IOHIDQueueGetDevice obtain the device associated with the queue.

See: https://developer.apple.com/documentation/iokit/1545839-iohidqueuegetdevice

func IOHIDTransactionGetDevice

func IOHIDTransactionGetDevice(transaction IOHIDTransactionRef) IOHIDDeviceRef

IOHIDTransactionGetDevice obtain the device associated with the transaction.

See: https://developer.apple.com/documentation/iokit/1561685-iohidtransactiongetdevice

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.

See: https://developer.apple.com/documentation/iokit/1564132-iohidelementgetcollectiontype

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.

See: https://developer.apple.com/documentation/iokit/1564115-iohidelementcreatewithdictionary

func IOHIDElementGetParent

func IOHIDElementGetParent(element IOHIDElementRef) IOHIDElementRef

IOHIDElementGetParent returns the parent for the element.

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.

See: https://developer.apple.com/documentation/iokit/1433285-iohidvaluegetelement

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.

See: https://developer.apple.com/documentation/iokit/1564135-iohidelementgettype

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 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.

See: https://developer.apple.com/documentation/iokit/1438383-iohidmanagercreate

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.

See: https://developer.apple.com/documentation/iokit/1545840-iohidqueuecreate

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.

See: https://developer.apple.com/documentation/iokit/1561674-iohidtransactiongetdirection

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.

See: https://developer.apple.com/documentation/iokit/1561689-iohidtransactioncreate

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.

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.

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.

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.

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.

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.

See: https://developer.apple.com/documentation/iokit/1433294-iohidvaluecreatewithintegervalue

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.

See: https://developer.apple.com/documentation/iokit/1514480-ionotificationportcreate

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.

See: https://developer.apple.com/documentation/iokit/1523851-iopsgetbatterywarninglevel

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      unsafe.Pointer
	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() *objc.ID

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 *objc.ID)

SetMessageArgument updates the MessageArgument field in the record's packed storage.

v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.

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.

See: https://developer.apple.com/documentation/iokit/1557110-iogetsystemloadadvisory

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 KFirstIOKitNotificationType

type KFirstIOKitNotificationType uint32
const (
	KFirstIOKitNotificationTypeValue     KFirstIOKitNotificationType = 100
	KIOAsyncCompletionNotificationType   KFirstIOKitNotificationType = 150
	KIOKitNoticationMsgSizeMask          KFirstIOKitNotificationType = 3
	KIOKitNoticationTypeMask             KFirstIOKitNotificationType = 0xfff
	KIOKitNoticationTypeSizeAdjShift     KFirstIOKitNotificationType = 30
	KIOServiceMatchedNotificationType    KFirstIOKitNotificationType = 101
	KIOServiceMessageNotificationType    KFirstIOKitNotificationType = 160
	KIOServicePublishNotificationType    KFirstIOKitNotificationType = 100
	KIOServiceTerminatedNotificationType KFirstIOKitNotificationType = 102
	KLastIOKitNotificationType           KFirstIOKitNotificationType = 199
)

func (KFirstIOKitNotificationType) String

type KIOAsyncReservedIndex

type KIOAsyncReservedIndex uint32
const (
	KIOAsyncCalloutCount           KIOAsyncReservedIndex = 3
	KIOAsyncCalloutFuncIndex       KIOAsyncReservedIndex = 1
	KIOAsyncCalloutRefconIndex     KIOAsyncReservedIndex = 2
	KIOAsyncReservedCount          KIOAsyncReservedIndex = 1
	KIOAsyncReservedIndexValue     KIOAsyncReservedIndex = 0
	KIOInterestCalloutCount        KIOAsyncReservedIndex = 4
	KIOInterestCalloutFuncIndex    KIOAsyncReservedIndex = 1
	KIOInterestCalloutRefconIndex  KIOAsyncReservedIndex = 2
	KIOInterestCalloutServiceIndex KIOAsyncReservedIndex = 3
	KIOMatchingCalloutCount        KIOAsyncReservedIndex = 3
	KIOMatchingCalloutFuncIndex    KIOAsyncReservedIndex = 1
	KIOMatchingCalloutRefconIndex  KIOAsyncReservedIndex = 2
)

func (KIOAsyncReservedIndex) String added in v0.6.17

func (e KIOAsyncReservedIndex) String() 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 KIODefaultCache

type KIODefaultCache uint32
const (
	KIOCopybackCache      KIODefaultCache = 3
	KIOCopybackInnerCache KIODefaultCache = 5
	KIODefaultCacheValue  KIODefaultCache = 0
	KIOInhibitCache       KIODefaultCache = 1
	KIOWriteCombineCache  KIODefaultCache = 4
	KIOWriteThruCache     KIODefaultCache = 2
)

func (KIODefaultCache) String added in v0.6.17

func (e KIODefaultCache) 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 KNanosecondScale

type KNanosecondScale uint32
const (
	// KMicrosecondScale: # Discussion
	KMicrosecondScale KNanosecondScale = 1000
	// KMillisecondScale: # Discussion
	KMillisecondScale KNanosecondScale = 1000000
	// KNanosecondScaleValue: # Discussion
	KNanosecondScaleValue KNanosecondScale = 1
	// KSecondScale: # Discussion
	KSecondScale KNanosecondScale = 1000000000
	// KTickScale: # Discussion
	KTickScale KNanosecondScale = 10000000
)

func (KNanosecondScale) String

func (e KNanosecondScale) 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 KOSNotificationMessageID

type KOSNotificationMessageID uint32
const (
	KMaxAsyncArgs                 KOSNotificationMessageID = 16
	KOSAsyncCompleteMessageID     KOSNotificationMessageID = 57
	KOSNotificationMessageIDValue KOSNotificationMessageID = 53
)

func (KOSNotificationMessageID) String

func (e KOSNotificationMessageID) String() 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.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574517-nxopeneventstatus

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.

Deprecated: Deprecated since macOS 10.12.

See: https://developer.apple.com/documentation/iokit/1574527-nxeventsysteminfo

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 = *applicationservices.VDGammaRecord

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