package core:sys/darwin/IOKit

Warning: This was generated for -target:windows_amd64 and might not represent every target this package supports.

⌘K
Ctrl+K
or
/

    Index

    Types (64)
    Constants (248)
    Procedures (99)
    Procedure Groups (0)

    This section is empty.

    Types

    AsyncCallback ¶

    AsyncCallback :: proc "c" (refcon: rawptr, result: darwin.kern_return_t, args: ^rawptr, numArgs: u32)

    AsyncCallback0 ¶

    AsyncCallback0 :: proc "c" (refcon: rawptr, result: darwin.kern_return_t)

    AsyncCallback1 ¶

    AsyncCallback1 :: proc "c" (refcon: rawptr, result: darwin.kern_return_t, arg0: rawptr)

    AsyncCallback2 ¶

    AsyncCallback2 :: proc "c" (refcon: rawptr, result: darwin.kern_return_t, arg0: rawptr, arg1: rawptr)

    AsyncCompletionContent ¶

    AsyncCompletionContent :: struct #align (4) {
    	result: darwin.kern_return_t,
    }

    Fixed ¶

    Fixed :: i32

    IOMediaAttributeMaskFlag ¶

    IOMediaAttributeMaskFlag :: enum u32 {
    	EjectableMask = 0, 
    	RemovableMask = 1, 
    }

    NamedValue ¶

    NamedValue :: struct #align (8) {
    	value: i32,
    	name:  cstring,
    }

    PhysicalRange ¶

    PhysicalRange :: struct #align (8) {
    	address: u64,
    	length:  u64,
    }

    Protocol ¶

    Protocol :: distinct ^intrinsics.objc_object

    Return ¶

    Return :: darwin.kern_return_t

    Related Procedures With Returns

    ServiceInterestCallback ¶

    ServiceInterestCallback :: proc "c" (refcon: rawptr, service: darwin.mach_port_t, messageType: u32, messageArgument: rawptr)

    ServiceInterestContent ¶

    ServiceInterestContent :: struct #align (4) {
    	messageType:     u32,
    	messageArgument: [1]rawptr,
    }

    ServiceInterestContent64 ¶

    ServiceInterestContent64 :: struct #align (4) {
    	messageType:     u32,
    	messageArgument: [1]u64,
    }

    ServiceMatchingCallback ¶

    ServiceMatchingCallback :: proc "c" (refcon: rawptr, iterator: darwin.mach_port_t)

    VirtualRange ¶

    VirtualRange :: struct #align (8) {
    	address: u64,
    	length:  u64,
    }

    connect_t ¶

    connect_t :: darwin.mach_port_t

    Related Procedures With Parameters

    enumerator_t ¶

    enumerator_t :: darwin.mach_port_t

    Related Procedures With Parameters

    ident_t ¶

    ident_t :: darwin.mach_port_t

    Related Procedures With Parameters

    iterator_t ¶

    iterator_t :: darwin.mach_port_t

    Related Procedures With Parameters

    main_t ¶

    main_t :: darwin.mach_port_t

    Related Procedures With Parameters

    object_t ¶

    object_t :: darwin.mach_port_t

    Related Procedures With Parameters

    registry_entry_t ¶

    registry_entry_t :: darwin.mach_port_t

    Related Procedures With Parameters

    service_t ¶

    service_t :: darwin.mach_port_t

    Related Procedures With Parameters

    stat_entry ¶

    stat_entry :: struct #align (8) {
    	count: u64,
    	size:  u64,
    }

    stat_info ¶

    stat_info :: struct #align (8) {
    	disk_reads:  stat_entry,
    	io_priority: [4]stat_entry,
    	paging:      stat_entry,
    	metadata:    stat_entry,
    	total_io:    stat_entry,
    }

    string_inband_t ¶

    string_inband_t :: [4096]u8

    string_t ¶

    string_t :: [512]u8

    Related Procedures With Parameters

    struct_inband_t ¶

    struct_inband_t :: [4096]u8

    Constants

    IOMediaAttributeMask_ReservedMask ¶

    IOMediaAttributeMask_ReservedMask: bit_set[IOMediaAttributeMaskFlag; u32] : transmute(IOMediaAttributeMask)u32(0xfffffffc)

    kAllCPUInitializedKey ¶

    kAllCPUInitializedKey :: "IOAllCPUInitialized"

    kAppPowerStateInterest ¶

    kAppPowerStateInterest :: "IOAppPowerStateInterest"

    kAsyncCompletionNotificationType ¶

    kAsyncCompletionNotificationType :: 150

    kAudioPlane ¶

    kAudioPlane :: "IOAudio"

    kBSDKey ¶

    kBSDKey :: "IOBSD"
     

    (BSD subsystem resource)

    kBSDMajorKey ¶

    kBSDMajorKey :: "BSD Major"
     

    (an OSNumber)

    kBSDMinorKey ¶

    kBSDMinorKey :: "BSD Minor"
     

    (an OSNumber)

    kBSDNameKey ¶

    kBSDNameKey :: "BSD Name"
     

    (an OSString)

    kBSDNamesKey ¶

    kBSDNamesKey :: "BSD Names"
     

    (an OSDictionary of OSString's, for links)

    kBSDUnitKey ¶

    kBSDUnitKey :: "BSD Unit"
     

    (an OSNumber)

    kBlockStorageDeviceClass ¶

    kBlockStorageDeviceClass :: "IOBlockStorageDevice"

    kBlockStorageDeviceWriteCacheStateKey ¶

    kBlockStorageDeviceWriteCacheStateKey :: "WriteCacheState"
     

    ! @defined kIOBlockStorageDeviceWriteCacheStateKey @abstract The name of the property used to get or set the write cache state of the block storage device.

    kBootDeviceKey ¶

    kBootDeviceKey :: "IOBootDevice"

    kBootDevicePathKey ¶

    kBootDevicePathKey :: "IOBootDevicePath"

    kBootDeviceSizeKey ¶

    kBootDeviceSizeKey :: "IOBootDeviceSize"

    kBundleResourceFileKey ¶

    kBundleResourceFileKey :: "IOBundleResourceFile"

    kBusBadgeKey ¶

    kBusBadgeKey :: "IOBusBadge"

    kBusyInterest ¶

    kBusyInterest :: "IOBusyInterest"

    kCFPlugInTypesKey ¶

    kCFPlugInTypesKey :: "IOCFPlugInTypes"

    kCatalogueKey ¶

    kCatalogueKey :: "IOCatalogue"

    kClassKey ¶

    kClassKey :: "IOClass"

    kCommandPoolSizeKey ¶

    kCommandPoolSizeKey :: "IOCommandPoolSize"

    kCompatibilityMatchKey ¶

    kCompatibilityMatchKey :: "IOCompatibilityMatch"

    kCompatibilityPropertiesKey ¶

    kCompatibilityPropertiesKey :: "IOCompatibilityProperties"

    kDEXTMatchCountKey ¶

    kDEXTMatchCountKey :: "IODEXTMatchCount"

    kDTNVRAMPanicInfoKey ¶

    kDTNVRAMPanicInfoKey :: "aapl,panic-info"

    kDefaultMatchCategoryKey ¶

    kDefaultMatchCategoryKey :: "IODefaultMatchCategory"

    kDeviceIconKey ¶

    kDeviceIconKey :: "IODeviceIcon"

    kDeviceTreePlane ¶

    kDeviceTreePlane :: "IODeviceTree"

    kDriverKitEntitlementKey ¶

    kDriverKitEntitlementKey :: "com.apple.developer.driverkit"

    kDriverKitHIDFamilyDeviceEntitlementKey ¶

    kDriverKitHIDFamilyDeviceEntitlementKey :: "com.apple.developer.driverkit.family.hid.device"

    kDriverKitHIDFamilyEventServiceEntitlementKey ¶

    kDriverKitHIDFamilyEventServiceEntitlementKey :: "com.apple.developer.driverkit.family.hid.eventservice"

    kDriverKitHIDTransportEntitlementKey ¶

    kDriverKitHIDTransportEntitlementKey :: "com.apple.developer.driverkit.transport.hid"

    kDriverKitRequiredEntitlementsKey ¶

    kDriverKitRequiredEntitlementsKey :: "com.apple.private.driverkit.driver-access"

    kDriverKitTestDriverEntitlementKey ¶

    kDriverKitTestDriverEntitlementKey :: "com.apple.private.driverkit.test-driver"

    kDriverKitTransportBuiltinEntitlementKey ¶

    kDriverKitTransportBuiltinEntitlementKey :: "com.apple.developer.driverkit.builtin"

    kDriverKitUSBTransportEntitlementKey ¶

    kDriverKitUSBTransportEntitlementKey :: "com.apple.developer.driverkit.transport.usb"

    kDriverKitUserClientEntitlementAdministratorKey ¶

    kDriverKitUserClientEntitlementAdministratorKey :: "com.apple.developer.driverkit.administrator"

    kDriverKitUserClientEntitlementAllowAnyKey ¶

    kDriverKitUserClientEntitlementAllowAnyKey :: "com.apple.developer.driverkit.allow-any-userclient-access"

    kDriverKitUserClientEntitlementAllowThirdPartyUserClientsKey ¶

    kDriverKitUserClientEntitlementAllowThirdPartyUserClientsKey :: "com.apple.developer.driverkit.allow-third-party-userclients"

    kDriverKitUserClientEntitlementCommunicatesWithDriversKey ¶

    kDriverKitUserClientEntitlementCommunicatesWithDriversKey :: "com.apple.developer.driverkit.communicates-with-drivers"

    kDriverKitUserClientEntitlementsKey ¶

    kDriverKitUserClientEntitlementsKey :: "com.apple.developer.driverkit.userclient-access"

    kFireWirePlane ¶

    kFireWirePlane :: "IOFireWire"

    kFirstMatchNotification ¶

    kFirstMatchNotification :: "IOServiceFirstMatch"

    kFirstPublishNotification ¶

    kFirstPublishNotification :: "IOServiceFirstPublish"

    kGeneralInterest ¶

    kGeneralInterest :: "IOGeneralInterest"

    kKitBuildVersionKey ¶

    kKitBuildVersionKey :: "IOKitBuildVersion"

    kKitDebugKey ¶

    kKitDebugKey :: "IOKitDebug"

    kKitDiagnosticsKey ¶

    kKitDiagnosticsKey :: "IOKitDiagnostics"

    kKitNoticationTypeSizeAdjShift ¶

    kKitNoticationTypeSizeAdjShift :: 30

    kLocationMatchKey ¶

    kLocationMatchKey :: "IOLocationMatch"

    kMapGuardedLarge ¶

    kMapGuardedLarge :: 2147483648

    kMapGuardedMask ¶

    kMapGuardedMask :: 3221225472

    kMapGuardedSmall ¶

    kMapGuardedSmall :: 1073741824

    kMapOverwrite ¶

    kMapOverwrite :: 536870912

    kMapPostedCombinedReordered ¶

    kMapPostedCombinedReordered :: 2304

    kMapPrefault ¶

    kMapPrefault :: 268435456

    kMapReference ¶

    kMapReference :: 33554432

    kMapperIDKey ¶

    kMapperIDKey :: "IOMapperID"

    kMatchCategoryKey ¶

    kMatchCategoryKey :: "IOMatchCategory"

    kMatchDeferKey ¶

    kMatchDeferKey :: "IOMatchDefer"

    kMatchedNotification ¶

    kMatchedNotification :: "IOServiceMatched"

    kMatchedPersonalityKey ¶

    kMatchedPersonalityKey :: "IOMatchedPersonality"

    kMatchedServiceCountKey ¶

    kMatchedServiceCountKey :: "IOMatchedServiceCountMatch"

    kMaximumBlockCountReadKey ¶

    kMaximumBlockCountReadKey :: "IOMaximumBlockCountRead"

    kMaximumBlockCountWriteKey ¶

    kMaximumBlockCountWriteKey :: "IOMaximumBlockCountWrite"

    kMaximumByteCountReadKey ¶

    kMaximumByteCountReadKey :: "IOMaximumByteCountRead"

    kMaximumByteCountWriteKey ¶

    kMaximumByteCountWriteKey :: "IOMaximumByteCountWrite"

    kMaximumPriorityCountKey ¶

    kMaximumPriorityCountKey :: "IOMaximumPriorityCount"

    kMaximumSegmentAddressableBitCountKey ¶

    kMaximumSegmentAddressableBitCountKey :: "IOMaximumSegmentAddressableBitCount"

    kMaximumSegmentByteCountReadKey ¶

    kMaximumSegmentByteCountReadKey :: "IOMaximumSegmentByteCountRead"

    kMaximumSegmentByteCountWriteKey ¶

    kMaximumSegmentByteCountWriteKey :: "IOMaximumSegmentByteCountWrite"

    kMaximumSegmentCountReadKey ¶

    kMaximumSegmentCountReadKey :: "IOMaximumSegmentCountRead"

    kMaximumSegmentCountWriteKey ¶

    kMaximumSegmentCountWriteKey :: "IOMaximumSegmentCountWrite"

    kMaximumSwapWriteKey ¶

    kMaximumSwapWriteKey :: "IOMaximumSwapWrite"

    kMediaClass ¶

    kMediaClass :: "IOMedia"

    kMediaContentHintKey ¶

    kMediaContentHintKey :: "Content Hint"

    kMediaContentKey ¶

    kMediaContentKey :: "Content"

    kMediaContentMaskKey ¶

    kMediaContentMaskKey :: "Content Mask"

    kMediaEjectableKey ¶

    kMediaEjectableKey :: "Ejectable"

    kMediaIconKey ¶

    kMediaIconKey :: "IOMediaIcon"

    kMediaInvalidStartupDiskKey ¶

    kMediaInvalidStartupDiskKey :: "Invalid Startup Disk"

    kMediaPreferredBlockSizeKey ¶

    kMediaPreferredBlockSizeKey :: "Preferred Block Size"

    kMediaRemovableKey ¶

    kMediaRemovableKey :: "Removable"

    kMediaWholeKey ¶

    kMediaWholeKey :: "Whole"

    kMediaWritableKey ¶

    kMediaWritableKey :: "Writable"

    kMinimumSaturationByteCountKey ¶

    kMinimumSaturationByteCountKey :: "IOMinimumSaturationByteCount"

    kMinimumSegmentAlignmentByteCountKey ¶

    kMinimumSegmentAlignmentByteCountKey :: "IOMinimumSegmentAlignmentByteCount"

    kNVRAMActivateCSRConfigPropertyKey ¶

    kNVRAMActivateCSRConfigPropertyKey :: "IONVRAM-ARMCSR-PROPERTY"

    kNVRAMBootArgsKey ¶

    kNVRAMBootArgsKey :: "boot-args"

    kNVRAMDeletePropertyKey ¶

    kNVRAMDeletePropertyKey :: "IONVRAM-DELETE-PROPERTY"

    kNVRAMDeletePropertyKeyWRet ¶

    kNVRAMDeletePropertyKeyWRet :: "IONVRAM-DELETEWRET-PROPERTY"

    kNVRAMReadAccessKey ¶

    kNVRAMReadAccessKey :: "com.apple.private.iokit.nvram-read-access"

    kNVRAMSyncNowPropertyKey ¶

    kNVRAMSyncNowPropertyKey :: "IONVRAM-SYNCNOW-PROPERTY"

    kNVRAMSystemAllowKey ¶

    kNVRAMSystemAllowKey :: "com.apple.private.iokit.system-nvram-allow"

    kNVRAMWriteAccessKey ¶

    kNVRAMWriteAccessKey :: "com.apple.private.iokit.nvram-write-access"

    kNameMatchKey ¶

    kNameMatchKey :: "IONameMatch"

    kNameMatchedKey ¶

    kNameMatchedKey :: "IONameMatched"

    kParentMatchKey ¶

    kParentMatchKey :: "IOParentMatch"

    kPathMatchKey ¶

    kPathMatchKey :: "IOPathMatch"

    kPlatformDeviceMessageKey ¶

    kPlatformDeviceMessageKey :: "IOPlatformDeviceMessage"

    kPlatformSerialNumberKey ¶

    kPlatformSerialNumberKey :: "IOPlatformSerialNumber"

    kPlatformUUIDKey ¶

    kPlatformUUIDKey :: "IOPlatformUUID"

    kPowerPlane ¶

    kPowerPlane :: "IOPower"

    kPriorityPowerStateInterest ¶

    kPriorityPowerStateInterest :: "IOPriorityPowerStateInterest"

    kProbeScoreKey ¶

    kProbeScoreKey :: "IOProbeScore"

    kPropertyBytesPerPhysicalSectorKey ¶

    kPropertyBytesPerPhysicalSectorKey :: "Bytes per Physical Sector"

    kPropertyCylinderCountKey ¶

    kPropertyCylinderCountKey :: "Cylinder Count"

    kPropertyDeviceCharacteristicsKey ¶

    kPropertyDeviceCharacteristicsKey :: "Device Characteristics"

    kPropertyExistsMatchKey ¶

    kPropertyExistsMatchKey :: "IOPropertyExistsMatch"

    kPropertyHeadCountKey ¶

    kPropertyHeadCountKey :: "Head Count"

    kPropertyInvalidStartupDiskKey ¶

    kPropertyInvalidStartupDiskKey :: "Invalid Startup Disk"

    kPropertyLogicalBlockSizeKey ¶

    kPropertyLogicalBlockSizeKey :: "Logical Block Size"

    kPropertyMatchKey ¶

    kPropertyMatchKey :: "IOPropertyMatch"

    kPropertyMediumRotationRateKey ¶

    kPropertyMediumRotationRateKey :: "Rotation Rate"

    kPropertyMediumTypeKey ¶

    kPropertyMediumTypeKey :: "Medium Type"

    kPropertyMediumTypeRotationalKey ¶

    kPropertyMediumTypeRotationalKey :: "Rotational"

    kPropertyMediumTypeSolidStateKey ¶

    kPropertyMediumTypeSolidStateKey :: "Solid State"

    kPropertyPhysicalBlockSizeKey ¶

    kPropertyPhysicalBlockSizeKey :: "Physical Block Size"

    kPropertyProductNameKey ¶

    kPropertyProductNameKey :: "Product Name"

    kPropertyProductRevisionLevelKey ¶

    kPropertyProductRevisionLevelKey :: "Product Revision Level"

    kPropertyProductSerialNumberKey ¶

    kPropertyProductSerialNumberKey :: "Serial Number"

    kPropertyRigidDiskGeometryKey ¶

    kPropertyRigidDiskGeometryKey :: "Rigid Disk Geometry"

    kPropertySectorCountPerTrackKey ¶

    kPropertySectorCountPerTrackKey :: "Sector Count per Track"

    kPropertySupportedBDFeaturesKey ¶

    kPropertySupportedBDFeaturesKey :: "BD Features"

    kPropertySupportedCDFeaturesKey ¶

    kPropertySupportedCDFeaturesKey :: "CD Features"

    kPropertySupportedDVDFeaturesKey ¶

    kPropertySupportedDVDFeaturesKey :: "DVD Features"

    kPropertyTargetDiskModeKey ¶

    kPropertyTargetDiskModeKey :: "Target Disk Mode"

    kPropertyVendorNameKey ¶

    kPropertyVendorNameKey :: "Vendor Name"

    kProviderClassKey ¶

    kProviderClassKey :: "IOProviderClass"

    kPublishNotification ¶

    kPublishNotification :: "IOServicePublish"

    kRegistryEntryAllowableSetPropertiesKey ¶

    kRegistryEntryAllowableSetPropertiesKey :: "IORegistryEntryAllowableSetProperties"

    kRegistryEntryDefaultLockingSetPropertiesKey ¶

    kRegistryEntryDefaultLockingSetPropertiesKey :: "IORegistryEntryDefaultLockingSetProperties"

    kRegistryEntryIDKey ¶

    kRegistryEntryIDKey :: "IORegistryEntryID"

    kRegistryEntryPropertyKeysKey ¶

    kRegistryEntryPropertyKeysKey :: "IORegistryEntryPropertyKeys"

    kRegistryPlanesKey ¶

    kRegistryPlanesKey :: "IORegistryPlanes"

    kRematchCountKey ¶

    kRematchCountKey :: "IORematchCount"

    kRematchPersonalityKey ¶

    kRematchPersonalityKey :: "IORematchPersonality"

    kResourceMatchKey ¶

    kResourceMatchKey :: "IOResourceMatch"

    kResourceMatchedKey ¶

    kResourceMatchedKey :: "IOResourceMatched"

    kResourcesClass ¶

    kResourcesClass :: "IOResources"

    kResourcesSetPropertyKey ¶

    kResourcesSetPropertyKey :: "com.apple.private.iokit.ioresources.setproperty"

    kServiceClass ¶

    kServiceClass :: "IOService"

    kServiceDEXTEntitlementsKey ¶

    kServiceDEXTEntitlementsKey :: "IOServiceDEXTEntitlements"

    kServiceMatchedNotificationType ¶

    kServiceMatchedNotificationType :: 101

    kServiceMessageNotificationType ¶

    kServiceMessageNotificationType :: 160

    kServicePlane ¶

    kServicePlane :: "IOService"

    kServicePublishNotificationType ¶

    kServicePublishNotificationType :: 100

    kServiceTerminatedNotificationType ¶

    kServiceTerminatedNotificationType :: 102

    kStateNotificationEntitlementGetKey ¶

    kStateNotificationEntitlementGetKey :: "com.apple.iokit.statenotification.entitlement-get"

    kStateNotificationEntitlementSetKey ¶

    kStateNotificationEntitlementSetKey :: "com.apple.iokit.statenotification.entitlement-set"

    kStateNotificationItemCopyKey ¶

    kStateNotificationItemCopyKey :: "com.apple.iokit.statenotification.copy"

    kStateNotificationItemCreateKey ¶

    kStateNotificationItemCreateKey :: "com.apple.iokit.statenotification.create"

    kStateNotificationItemSetKey ¶

    kStateNotificationItemSetKey :: "com.apple.iokit.statenotification.set"

    kStateNotificationNameKey ¶

    kStateNotificationNameKey :: "com.apple.iokit.statenotification.name"

    kSupportedPropertiesKey ¶

    kSupportedPropertiesKey :: "IOSupportedProperties"

    kSystemStateClamshellKey ¶

    kSystemStateClamshellKey :: "com.apple.iokit.pm.clamshell"

    kSystemStateHaltDescriptionHaltStateKey ¶

    kSystemStateHaltDescriptionHaltStateKey :: "com.apple.iokit.pm.haltstate"

    kSystemStateHaltDescriptionKey ¶

    kSystemStateHaltDescriptionKey :: "com.apple.iokit.pm.haltdescription"

    kSystemStatePowerSourceDescriptionACAttachedKey ¶

    kSystemStatePowerSourceDescriptionACAttachedKey :: "com.apple.iokit.pm.acattached"

    kSystemStatePowerSourceDescriptionKey ¶

    kSystemStatePowerSourceDescriptionKey :: "com.apple.iokit.pm.powersourcedescription"

    kSystemStateSleepDescriptionHibernateStateHibernating ¶

    kSystemStateSleepDescriptionHibernateStateHibernating :: 1

    kSystemStateSleepDescriptionHibernateStateInactive ¶

    kSystemStateSleepDescriptionHibernateStateInactive :: 0

    kSystemStateSleepDescriptionHibernateStateKey ¶

    kSystemStateSleepDescriptionHibernateStateKey :: "com.apple.iokit.pm.hibernatestate"

    kSystemStateSleepDescriptionHibernateStateWakingFromHibernate ¶

    kSystemStateSleepDescriptionHibernateStateWakingFromHibernate :: 2

    kSystemStateSleepDescriptionKey ¶

    kSystemStateSleepDescriptionKey :: "com.apple.iokit.pm.sleepdescription"

    kSystemStateSleepDescriptionReasonKey ¶

    kSystemStateSleepDescriptionReasonKey :: "com.apple.iokit.pm.sleepreason"

    kSystemStateWakeDescriptionContinuousTimeOffsetKey ¶

    kSystemStateWakeDescriptionContinuousTimeOffsetKey :: "com.apple.iokit.pm.wakedescription.continuous-time-offset"

    kSystemStateWakeDescriptionKey ¶

    kSystemStateWakeDescriptionKey :: "com.apple.iokit.pm.wakedescription"

    kSystemStateWakeDescriptionWakeReasonKey ¶

    kSystemStateWakeDescriptionWakeReasonKey :: "com.apple.iokit.pm.wakereason"

    kTerminatedNotification ¶

    kTerminatedNotification :: "IOServiceTerminate"

    kUserClassKey ¶

    kUserClassKey :: "IOUserClass"

    kUserClassesKey ¶

    kUserClassesKey :: "IOUserClasses"

    kUserClientClassKey ¶

    kUserClientClassKey :: "IOUserClientClass"

    kUserClientCreatorKey ¶

    kUserClientCreatorKey :: "IOUserClientCreator"

    kUserClientCrossEndianCompatibleKey ¶

    kUserClientCrossEndianCompatibleKey :: "IOUserClientCrossEndianCompatible"

    kUserClientCrossEndianKey ¶

    kUserClientCrossEndianKey :: "IOUserClientCrossEndian"

    kUserClientDefaultLockingKey ¶

    kUserClientDefaultLockingKey :: "IOUserClientDefaultLocking"

    kUserClientDefaultLockingSetPropertiesKey ¶

    kUserClientDefaultLockingSetPropertiesKey :: "IOUserClientDefaultLockingSetProperties"

    kUserClientDefaultLockingSingleThreadExternalMethodKey ¶

    kUserClientDefaultLockingSingleThreadExternalMethodKey :: "IOUserClientDefaultLockingSingleThreadExternalMethod"

    kUserClientEntitlementsKey ¶

    kUserClientEntitlementsKey :: "IOUserClientEntitlements"

    kUserClientSharedInstanceKey ¶

    kUserClientSharedInstanceKey :: "IOUserClientSharedInstance"

    kUserServerCDHashKey ¶

    kUserServerCDHashKey :: "IOUserServerCDHash"

    kUserServerOneProcessKey ¶

    kUserServerOneProcessKey :: "IOUserServerOneProcess"

    kUserServerPreserveUserspaceRebootKey ¶

    kUserServerPreserveUserspaceRebootKey :: "IOUserServerPreserveUserspaceReboot"

    kUserServicePropertiesKey ¶

    kUserServicePropertiesKey :: "IOUserServiceProperties"

    kUserUserClientKey ¶

    kUserUserClientKey :: "IOUserUserClient"

    kWillTerminateNotification ¶

    kWillTerminateNotification :: "IOServiceWillTerminate"

    Variables

    kMainPortDefault ¶

    @(link_name="kIOMainPortDefault")
    kMainPortDefault: darwin.mach_port_t

    kMasterPortDefault ¶

    @(link_name="kIOMasterPortDefault")
    kMasterPortDefault: darwin.mach_port_t

    Procedures

    BSDNameMatching ¶

    @(link_name="IOBSDNameMatching")
    BSDNameMatching :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	options:  u32, 
    	bsdName:  cstring, 
    ) -> ^darwin_CoreFoundation.__CFDictionary ---

    CatalogueGetData ¶

    @(link_name="IOCatalogueGetData")
    CatalogueGetData :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	flag:     u32, 
    	buffer:   ^cstring, 
    	size:     ^u32, 
    ) -> darwin.kern_return_t ---

    CatalogueModuleLoaded ¶

    @(link_name="IOCatalogueModuleLoaded")
    CatalogueModuleLoaded :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	name:     ^[128]u8, 
    ) -> darwin.kern_return_t ---

    CatalogueReset ¶

    @(link_name="IOCatalogueReset")
    CatalogueReset :: proc "c" (mainPort: darwin.mach_port_t, flag: u32) -> darwin.kern_return_t ---

    CatalogueSendData ¶

    @(link_name="IOCatalogueSendData")
    CatalogueSendData :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	flag:     u32, 
    	buffer:   cstring, 
    	size:     u32, 
    ) -> darwin.kern_return_t ---

    CatalogueTerminate ¶

    @(link_name="IOCatalogueTerminate")
    CatalogueTerminate :: proc "c" (
    	mainPort:    darwin.mach_port_t, 
    	flag:        u32, 
    	description: ^[128]u8, 
    ) -> darwin.kern_return_t ---

    ConnectAddClient ¶

    @(link_name="IOConnectAddClient")
    ConnectAddClient :: proc "c" (
    	connect: darwin.mach_port_t, 
    	client:  darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    ConnectAddRef ¶

    @(link_name="IOConnectAddRef")
    ConnectAddRef :: proc "c" (connect: darwin.mach_port_t) -> darwin.kern_return_t ---

    ConnectCallAsyncMethod ¶

    @(link_name="IOConnectCallAsyncMethod")
    ConnectCallAsyncMethod :: proc "c" (
    	connection:      darwin.mach_port_t, 
    	selector:        u32, 
    	wake_port:       darwin.mach_port_t, 
    	reference:       ^u64, 
    	referenceCnt:    u32, 
    	input:           ^u64, 
    	inputCnt:        u32, 
    	inputStruct:     rawptr, 
    	inputStructCnt:  uint, 
    	output:          ^u64, 
    	outputCnt:       ^u32, 
    	outputStruct:    rawptr, 
    	outputStructCnt: ^uint, 
    ) -> darwin.kern_return_t ---

    ConnectCallAsyncScalarMethod ¶

    @(link_name="IOConnectCallAsyncScalarMethod")
    ConnectCallAsyncScalarMethod :: proc "c" (
    	connection:   darwin.mach_port_t, 
    	selector:     u32, 
    	wake_port:    darwin.mach_port_t, 
    	reference:    ^u64, 
    	referenceCnt: u32, 
    	input:        ^u64, 
    	inputCnt:     u32, 
    	output:       ^u64, 
    	outputCnt:    ^u32, 
    ) -> darwin.kern_return_t ---

    ConnectCallAsyncStructMethod ¶

    @(link_name="IOConnectCallAsyncStructMethod")
    ConnectCallAsyncStructMethod :: proc "c" (
    	connection:      darwin.mach_port_t, 
    	selector:        u32, 
    	wake_port:       darwin.mach_port_t, 
    	reference:       ^u64, 
    	referenceCnt:    u32, 
    	inputStruct:     rawptr, 
    	inputStructCnt:  uint, 
    	outputStruct:    rawptr, 
    	outputStructCnt: ^uint, 
    ) -> darwin.kern_return_t ---

    ConnectCallMethod ¶

    @(link_name="IOConnectCallMethod")
    ConnectCallMethod :: proc "c" (
    	connection:      darwin.mach_port_t, 
    	selector:        u32, 
    	input:           ^u64, 
    	inputCnt:        u32, 
    	inputStruct:     rawptr, 
    	inputStructCnt:  uint, 
    	output:          ^u64, 
    	outputCnt:       ^u32, 
    	outputStruct:    rawptr, 
    	outputStructCnt: ^uint, 
    ) -> darwin.kern_return_t ---

    ConnectCallScalarMethod ¶

    @(link_name="IOConnectCallScalarMethod")
    ConnectCallScalarMethod :: proc "c" (
    	connection: darwin.mach_port_t, 
    	selector:   u32, 
    	input:      ^u64, 
    	inputCnt:   u32, 
    	output:     ^u64, 
    	outputCnt:  ^u32, 
    ) -> darwin.kern_return_t ---

    ConnectCallStructMethod ¶

    @(link_name="IOConnectCallStructMethod")
    ConnectCallStructMethod :: proc "c" (
    	connection:      darwin.mach_port_t, 
    	selector:        u32, 
    	inputStruct:     rawptr, 
    	inputStructCnt:  uint, 
    	outputStruct:    rawptr, 
    	outputStructCnt: ^uint, 
    ) -> darwin.kern_return_t ---

    ConnectGetService ¶

    @(link_name="IOConnectGetService")
    ConnectGetService :: proc "c" (
    	connect: darwin.mach_port_t, 
    	service: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    ConnectMapMemory ¶

    @(link_name="IOConnectMapMemory")
    ConnectMapMemory :: proc "c" (
    	connect:    darwin.mach_port_t, 
    	memoryType: u32, 
    	intoTask:   darwin.mach_port_t, 
    	atAddress:  ^u64, 
    	ofSize:     ^u64, 
    	options:    u32, 
    ) -> darwin.kern_return_t ---

    ConnectMapMemory64 ¶

    @(link_name="IOConnectMapMemory64")
    ConnectMapMemory64 :: proc "c" (
    	connect:    darwin.mach_port_t, 
    	memoryType: u32, 
    	intoTask:   darwin.mach_port_t, 
    	atAddress:  ^u64, 
    	ofSize:     ^u64, 
    	options:    u32, 
    ) -> darwin.kern_return_t ---

    ConnectRelease ¶

    @(link_name="IOConnectRelease")
    ConnectRelease :: proc "c" (connect: darwin.mach_port_t) -> darwin.kern_return_t ---

    ConnectSetCFProperties ¶

    @(link_name="IOConnectSetCFProperties")
    ConnectSetCFProperties :: proc "c" (
    	connect:    darwin.mach_port_t, 
    	properties: rawptr, 
    ) -> darwin.kern_return_t ---

    ConnectSetCFProperty ¶

    @(link_name="IOConnectSetCFProperty")
    ConnectSetCFProperty :: proc "c" (
    	connect:      darwin.mach_port_t, 
    	propertyName: ^darwin_CoreFoundation.__CFString, 
    	property:     rawptr, 
    ) -> darwin.kern_return_t ---

    ConnectSetNotificationPort ¶

    @(link_name="IOConnectSetNotificationPort")
    ConnectSetNotificationPort :: proc "c" (
    	connect:   darwin.mach_port_t, 
    	type:      u32, 
    	port:      darwin.mach_port_t, 
    	reference: uintptr, 
    ) -> darwin.kern_return_t ---

    ConnectTrap0 ¶

    @(link_name="IOConnectTrap0")
    ConnectTrap0 :: proc "c" (connect: darwin.mach_port_t, index: u32) -> darwin.kern_return_t ---

    ConnectTrap1 ¶

    @(link_name="IOConnectTrap1")
    ConnectTrap1 :: proc "c" (
    	connect: darwin.mach_port_t, 
    	index:   u32, 
    	p1:      uintptr, 
    ) -> darwin.kern_return_t ---

    ConnectTrap2 ¶

    @(link_name="IOConnectTrap2")
    ConnectTrap2 :: proc "c" (
    	connect: darwin.mach_port_t, 
    	index:   u32, 
    	p1:      uintptr, 
    	p2:      uintptr, 
    ) -> darwin.kern_return_t ---

    ConnectTrap3 ¶

    @(link_name="IOConnectTrap3")
    ConnectTrap3 :: proc "c" (
    	connect: darwin.mach_port_t, 
    	index:   u32, 
    	p1:      uintptr, 
    	p2:      uintptr, 
    	p3:      uintptr, 
    ) -> darwin.kern_return_t ---

    ConnectTrap4 ¶

    @(link_name="IOConnectTrap4")
    ConnectTrap4 :: proc "c" (
    	connect: darwin.mach_port_t, 
    	index:   u32, 
    	p1:      uintptr, 
    	p2:      uintptr, 
    	p3:      uintptr, 
    	p4:      uintptr, 
    ) -> darwin.kern_return_t ---

    ConnectTrap5 ¶

    @(link_name="IOConnectTrap5")
    ConnectTrap5 :: proc "c" (
    	connect: darwin.mach_port_t, 
    	index:   u32, 
    	p1:      uintptr, 
    	p2:      uintptr, 
    	p3:      uintptr, 
    	p4:      uintptr, 
    	p5:      uintptr, 
    ) -> darwin.kern_return_t ---

    ConnectTrap6 ¶

    @(link_name="IOConnectTrap6")
    ConnectTrap6 :: proc "c" (
    	connect: darwin.mach_port_t, 
    	index:   u32, 
    	p1:      uintptr, 
    	p2:      uintptr, 
    	p3:      uintptr, 
    	p4:      uintptr, 
    	p5:      uintptr, 
    	p6:      uintptr, 
    ) -> darwin.kern_return_t ---

    ConnectUnmapMemory ¶

    @(link_name="IOConnectUnmapMemory")
    ConnectUnmapMemory :: proc "c" (
    	connect:    darwin.mach_port_t, 
    	memoryType: u32, 
    	fromTask:   darwin.mach_port_t, 
    	atAddress:  u64, 
    ) -> darwin.kern_return_t ---

    ConnectUnmapMemory64 ¶

    @(link_name="IOConnectUnmapMemory64")
    ConnectUnmapMemory64 :: proc "c" (
    	connect:    darwin.mach_port_t, 
    	memoryType: u32, 
    	fromTask:   darwin.mach_port_t, 
    	atAddress:  u64, 
    ) -> darwin.kern_return_t ---

    CreateReceivePort ¶

    @(link_name="IOCreateReceivePort")
    CreateReceivePort :: proc "c" (
    	msgType:  u32, 
    	recvPort: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    DispatchCalloutFromMessage ¶

    @(link_name="IODispatchCalloutFromMessage")
    DispatchCalloutFromMessage :: proc "c" (
    	unused:    rawptr, 
    	msg:       ^darwin.mach_msg_header_t, 
    	reference: rawptr, 
    ) ---

    IteratorIsValid ¶

    @(link_name="IOIteratorIsValid")
    IteratorIsValid :: proc "c" (iterator: darwin.mach_port_t) -> b32 ---

    IteratorNext ¶

    @(link_name="IOIteratorNext")
    IteratorNext :: proc "c" (iterator: darwin.mach_port_t) -> darwin.mach_port_t ---

    IteratorReset ¶

    @(link_name="IOIteratorReset")
    IteratorReset :: proc "c" (iterator: darwin.mach_port_t) ---

    KitGetBusyState ¶

    @(link_name="IOKitGetBusyState")
    KitGetBusyState :: proc "c" (
    	mainPort:  darwin.mach_port_t, 
    	busyState: ^u32, 
    ) -> darwin.kern_return_t ---

    KitWaitQuiet ¶

    @(link_name="IOKitWaitQuiet")
    KitWaitQuiet :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	waitTime: ^darwin.mach_timespec_t, 
    ) -> darwin.kern_return_t ---

    KitWaitQuietWithOptions ¶

    @(link_name="IOKitWaitQuietWithOptions")
    KitWaitQuietWithOptions :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	waitTime: ^darwin.mach_timespec_t, 
    	options:  u32, 
    ) -> darwin.kern_return_t ---

    MainPort ¶

    @(link_name="IOMainPort")
    MainPort :: proc "c" (
    	bootstrapPort: darwin.mach_port_t, 
    	mainPort:      ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    MasterPort ¶

    @(link_name="IOMasterPort")
    MasterPort :: proc "c" (
    	bootstrapPort: darwin.mach_port_t, 
    	mainPort:      ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    NotificationPortCreate ¶

    @(link_name="IONotificationPortCreate")
    NotificationPortCreate :: proc "c" (mainPort: darwin.mach_port_t) -> ^NotificationPort ---

    NotificationPortDestroy ¶

    @(link_name="IONotificationPortDestroy")
    NotificationPortDestroy :: proc "c" (notify: ^NotificationPort) ---

    NotificationPortGetMachPort ¶

    @(link_name="IONotificationPortGetMachPort")
    NotificationPortGetMachPort :: proc "c" (notify: ^NotificationPort) -> darwin.mach_port_t ---

    NotificationPortGetRunLoopSource ¶

    @(link_name="IONotificationPortGetRunLoopSource")
    NotificationPortGetRunLoopSource :: proc "c" (notify: ^NotificationPort) -> ^darwin_CoreFoundation.__CFRunLoopSource ---

    NotificationPortSetDispatchQueue ¶

    @(link_name="IONotificationPortSetDispatchQueue")
    NotificationPortSetDispatchQueue :: proc "c" (
    	notify: ^NotificationPort, 
    	queue:  ^darwin_CoreFoundation.dispatch_queue_s, 
    ) ---

    NotificationPortSetImportanceReceiver ¶

    @(link_name="IONotificationPortSetImportanceReceiver")
    NotificationPortSetImportanceReceiver :: proc "c" (notify: ^NotificationPort) -> darwin.kern_return_t ---

    ObjectConformsTo ¶

    @(link_name="IOObjectConformsTo")
    ObjectConformsTo :: proc "c" (object: darwin.mach_port_t, className: ^[128]u8) -> b32 ---

    ObjectCopyBundleIdentifierForClass ¶

    @(link_name="IOObjectCopyBundleIdentifierForClass")
    ObjectCopyBundleIdentifierForClass :: proc "c" (classname: ^darwin_CoreFoundation.__CFString) -> ^darwin_CoreFoundation.__CFString ---

    ObjectCopyClass ¶

    @(link_name="IOObjectCopyClass")
    ObjectCopyClass :: proc "c" (object: darwin.mach_port_t) -> ^darwin_CoreFoundation.__CFString ---

    ObjectCopySuperclassForClass ¶

    @(link_name="IOObjectCopySuperclassForClass")
    ObjectCopySuperclassForClass :: proc "c" (classname: ^darwin_CoreFoundation.__CFString) -> ^darwin_CoreFoundation.__CFString ---

    ObjectGetClass ¶

    @(link_name="IOObjectGetClass")
    ObjectGetClass :: proc "c" (
    	object:    darwin.mach_port_t, 
    	className: ^[128]u8, 
    ) -> darwin.kern_return_t ---

    ObjectGetKernelRetainCount ¶

    @(link_name="IOObjectGetKernelRetainCount")
    ObjectGetKernelRetainCount :: proc "c" (object: darwin.mach_port_t) -> u32 ---

    ObjectGetRetainCount ¶

    @(link_name="IOObjectGetRetainCount")
    ObjectGetRetainCount :: proc "c" (object: darwin.mach_port_t) -> u32 ---

    ObjectGetUserRetainCount ¶

    @(link_name="IOObjectGetUserRetainCount")
    ObjectGetUserRetainCount :: proc "c" (object: darwin.mach_port_t) -> u32 ---

    ObjectIsEqualTo ¶

    @(link_name="IOObjectIsEqualTo")
    ObjectIsEqualTo :: proc "c" (object: darwin.mach_port_t, anObject: darwin.mach_port_t) -> b32 ---

    ObjectRelease ¶

    @(link_name="IOObjectRelease")
    ObjectRelease :: proc "c" (object: darwin.mach_port_t) -> darwin.kern_return_t ---

    ObjectRetain ¶

    @(link_name="IOObjectRetain")
    ObjectRetain :: proc "c" (object: darwin.mach_port_t) -> darwin.kern_return_t ---

    OpenFirmwarePathMatching ¶

    @(link_name="IOOpenFirmwarePathMatching")
    OpenFirmwarePathMatching :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	options:  u32, 
    	path:     cstring, 
    ) -> ^darwin_CoreFoundation.__CFDictionary ---

    RegistryCreateIterator ¶

    @(link_name="IORegistryCreateIterator")
    RegistryCreateIterator :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	plane:    ^[128]u8, 
    	options:  u32, 
    	iterator: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    RegistryEntryCopyFromPath ¶

    @(link_name="IORegistryEntryCopyFromPath")
    RegistryEntryCopyFromPath :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	path:     ^darwin_CoreFoundation.__CFString, 
    ) -> darwin.mach_port_t ---

    RegistryEntryCopyPath ¶

    @(link_name="IORegistryEntryCopyPath")
    RegistryEntryCopyPath :: proc "c" (
    	entry: darwin.mach_port_t, 
    	plane: ^[128]u8, 
    ) -> ^darwin_CoreFoundation.__CFString ---

    RegistryEntryCreateCFProperties ¶

    @(link_name="IORegistryEntryCreateCFProperties")
    RegistryEntryCreateCFProperties :: proc "c" (
    	entry:      darwin.mach_port_t, 
    	properties: ^^darwin_CoreFoundation.__CFDictionary, 
    	allocator:  ^darwin_CoreFoundation.__CFAllocator, 
    	options:    u32, 
    ) -> darwin.kern_return_t ---

    RegistryEntryCreateCFProperty ¶

    @(link_name="IORegistryEntryCreateCFProperty")
    RegistryEntryCreateCFProperty :: proc "c" (
    	entry:     darwin.mach_port_t, 
    	key:       ^darwin_CoreFoundation.__CFString, 
    	allocator: ^darwin_CoreFoundation.__CFAllocator, 
    	options:   u32, 
    ) -> rawptr ---

    RegistryEntryCreateIterator ¶

    @(link_name="IORegistryEntryCreateIterator")
    RegistryEntryCreateIterator :: proc "c" (
    	entry:    darwin.mach_port_t, 
    	plane:    ^[128]u8, 
    	options:  u32, 
    	iterator: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    RegistryEntryFromPath ¶

    @(link_name="IORegistryEntryFromPath")
    RegistryEntryFromPath :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	path:     ^[512]u8, 
    ) -> darwin.mach_port_t ---

    RegistryEntryGetChildEntry ¶

    @(link_name="IORegistryEntryGetChildEntry")
    RegistryEntryGetChildEntry :: proc "c" (
    	entry: darwin.mach_port_t, 
    	plane: ^[128]u8, 
    	child: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetChildIterator ¶

    @(link_name="IORegistryEntryGetChildIterator")
    RegistryEntryGetChildIterator :: proc "c" (
    	entry:    darwin.mach_port_t, 
    	plane:    ^[128]u8, 
    	iterator: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetLocationInPlane ¶

    @(link_name="IORegistryEntryGetLocationInPlane")
    RegistryEntryGetLocationInPlane :: proc "c" (
    	entry:    darwin.mach_port_t, 
    	plane:    ^[128]u8, 
    	location: ^[128]u8, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetName ¶

    @(link_name="IORegistryEntryGetName")
    RegistryEntryGetName :: proc "c" (
    	entry: darwin.mach_port_t, 
    	name:  ^[128]u8, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetNameInPlane ¶

    @(link_name="IORegistryEntryGetNameInPlane")
    RegistryEntryGetNameInPlane :: proc "c" (
    	entry: darwin.mach_port_t, 
    	plane: ^[128]u8, 
    	name:  ^[128]u8, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetParentEntry ¶

    @(link_name="IORegistryEntryGetParentEntry")
    RegistryEntryGetParentEntry :: proc "c" (
    	entry:  darwin.mach_port_t, 
    	plane:  ^[128]u8, 
    	parent: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetParentIterator ¶

    @(link_name="IORegistryEntryGetParentIterator")
    RegistryEntryGetParentIterator :: proc "c" (
    	entry:    darwin.mach_port_t, 
    	plane:    ^[128]u8, 
    	iterator: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetPath ¶

    @(link_name="IORegistryEntryGetPath")
    RegistryEntryGetPath :: proc "c" (
    	entry: darwin.mach_port_t, 
    	plane: ^[128]u8, 
    	path:  ^[512]u8, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetProperty ¶

    @(link_name="IORegistryEntryGetProperty")
    RegistryEntryGetProperty :: proc "c" (
    	entry:        darwin.mach_port_t, 
    	propertyName: ^[128]u8, 
    	buffer:       ^[4096]u8, 
    	size:         ^u32, 
    ) -> darwin.kern_return_t ---

    RegistryEntryGetRegistryEntryID ¶

    @(link_name="IORegistryEntryGetRegistryEntryID")
    RegistryEntryGetRegistryEntryID :: proc "c" (
    	entry:   darwin.mach_port_t, 
    	entryID: ^u64, 
    ) -> darwin.kern_return_t ---

    RegistryEntryIDMatching ¶

    @(link_name="IORegistryEntryIDMatching")
    RegistryEntryIDMatching :: proc "c" (entryID: u64) -> ^darwin_CoreFoundation.__CFDictionary ---

    RegistryEntryInPlane ¶

    @(link_name="IORegistryEntryInPlane")
    RegistryEntryInPlane :: proc "c" (entry: darwin.mach_port_t, plane: ^[128]u8) -> b32 ---

    RegistryEntrySearchCFProperty ¶

    @(link_name="IORegistryEntrySearchCFProperty")
    RegistryEntrySearchCFProperty :: proc "c" (
    	entry:     darwin.mach_port_t, 
    	plane:     ^[128]u8, 
    	key:       ^darwin_CoreFoundation.__CFString, 
    	allocator: ^darwin_CoreFoundation.__CFAllocator, 
    	options:   u32, 
    ) -> rawptr ---

    RegistryEntrySetCFProperties ¶

    @(link_name="IORegistryEntrySetCFProperties")
    RegistryEntrySetCFProperties :: proc "c" (
    	entry:      darwin.mach_port_t, 
    	properties: rawptr, 
    ) -> darwin.kern_return_t ---

    RegistryEntrySetCFProperty ¶

    @(link_name="IORegistryEntrySetCFProperty")
    RegistryEntrySetCFProperty :: proc "c" (
    	entry:        darwin.mach_port_t, 
    	propertyName: ^darwin_CoreFoundation.__CFString, 
    	property:     rawptr, 
    ) -> darwin.kern_return_t ---

    RegistryGetRootEntry ¶

    @(link_name="IORegistryGetRootEntry")
    RegistryGetRootEntry :: proc "c" (mainPort: darwin.mach_port_t) -> darwin.mach_port_t ---

    RegistryIteratorEnterEntry ¶

    @(link_name="IORegistryIteratorEnterEntry")
    RegistryIteratorEnterEntry :: proc "c" (iterator: darwin.mach_port_t) -> darwin.kern_return_t ---

    RegistryIteratorExitEntry ¶

    @(link_name="IORegistryIteratorExitEntry")
    RegistryIteratorExitEntry :: proc "c" (iterator: darwin.mach_port_t) -> darwin.kern_return_t ---

    ServiceAddInterestNotification ¶

    @(link_name="IOServiceAddInterestNotification")
    ServiceAddInterestNotification :: proc "c" (
    	notifyPort:   ^NotificationPort, 
    	service:      darwin.mach_port_t, 
    	interestType: ^[128]u8, 
    	callback:     ServiceInterestCallback, 
    	refCon:       rawptr, 
    	notification: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    ServiceAddMatchingNotification ¶

    @(link_name="IOServiceAddMatchingNotification")
    ServiceAddMatchingNotification :: proc "c" (
    	notifyPort:       ^NotificationPort, 
    	notificationType: ^[128]u8, 
    	matching:         ^darwin_CoreFoundation.__CFDictionary, 
    	callback:         ServiceMatchingCallback, 
    	refCon:           rawptr, 
    	notification:     ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    ServiceAddNotification ¶

    @(link_name="IOServiceAddNotification")
    ServiceAddNotification :: proc "c" (
    	mainPort:         darwin.mach_port_t, 
    	notificationType: ^[128]u8, 
    	matching:         ^darwin_CoreFoundation.__CFDictionary, 
    	wakePort:         darwin.mach_port_t, 
    	reference:        uintptr, 
    	notification:     ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    ServiceAuthorize ¶

    @(link_name="IOServiceAuthorize")
    ServiceAuthorize :: proc "c" (
    	service: darwin.mach_port_t, 
    	options: u32, 
    ) -> darwin.kern_return_t ---

    ServiceClose ¶

    @(link_name="IOServiceClose")
    ServiceClose :: proc "c" (connect: darwin.mach_port_t) -> darwin.kern_return_t ---

    ServiceGetBusyState ¶

    @(link_name="IOServiceGetBusyState")
    ServiceGetBusyState :: proc "c" (
    	service:   darwin.mach_port_t, 
    	busyState: ^u32, 
    ) -> darwin.kern_return_t ---

    ServiceGetMatchingService ¶

    @(link_name="IOServiceGetMatchingService")
    ServiceGetMatchingService :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	matching: ^darwin_CoreFoundation.__CFDictionary, 
    ) -> darwin.mach_port_t ---

    ServiceGetMatchingServices ¶

    @(link_name="IOServiceGetMatchingServices")
    ServiceGetMatchingServices :: proc "c" (
    	mainPort: darwin.mach_port_t, 
    	matching: ^darwin_CoreFoundation.__CFDictionary, 
    	existing: ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    ServiceMatchPropertyTable ¶

    @(link_name="IOServiceMatchPropertyTable")
    ServiceMatchPropertyTable :: proc "c" (
    	service:  darwin.mach_port_t, 
    	matching: ^darwin_CoreFoundation.__CFDictionary, 
    	matches:  ^b32, 
    ) -> darwin.kern_return_t ---

    ServiceMatching ¶

    @(link_name="IOServiceMatching")
    ServiceMatching :: proc "c" (name: cstring) -> ^darwin_CoreFoundation.__CFDictionary ---

    ServiceNameMatching ¶

    @(link_name="IOServiceNameMatching")
    ServiceNameMatching :: proc "c" (name: cstring) -> ^darwin_CoreFoundation.__CFDictionary ---

    ServiceOFPathToBSDName ¶

    @(link_name="IOServiceOFPathToBSDName")
    ServiceOFPathToBSDName :: proc "c" (
    	mainPort:         darwin.mach_port_t, 
    	openFirmwarePath: ^[128]u8, 
    	bsdName:          ^[128]u8, 
    ) -> darwin.kern_return_t ---

    ServiceOpen ¶

    @(link_name="IOServiceOpen")
    ServiceOpen :: proc "c" (
    	service:    darwin.mach_port_t, 
    	owningTask: darwin.mach_port_t, 
    	type:       u32, 
    	connect:    ^darwin.mach_port_t, 
    ) -> darwin.kern_return_t ---

    ServiceOpenAsFileDescriptor ¶

    @(link_name="IOServiceOpenAsFileDescriptor")
    ServiceOpenAsFileDescriptor :: proc "c" (service: darwin.mach_port_t, oflag: i32) -> i32 ---

    ServiceRequestProbe ¶

    @(link_name="IOServiceRequestProbe")
    ServiceRequestProbe :: proc "c" (
    	service: darwin.mach_port_t, 
    	options: u32, 
    ) -> darwin.kern_return_t ---

    ServiceWaitQuiet ¶

    @(link_name="IOServiceWaitQuiet")
    ServiceWaitQuiet :: proc "c" (
    	service:  darwin.mach_port_t, 
    	waitTime: ^darwin.mach_timespec_t, 
    ) -> darwin.kern_return_t ---

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-2026-11 (vendor "odin") Windows_amd64 @ 2026-11-28 21:05:09.772358800 +0000 UTC