IOServiceInterestHandler
Declaration
typedef IOReturn (*IOServiceInterestHandler)(void *target, void *refCon, UInt32 messageType, IOService *provider, void *messageArgument, vm_size_t argSize);Parameters
- target:
Reference supplied when the notification was registered.
- refCon:
Reference constant supplied when the notification was registered.
- messageType:
Type of the message - IOKit defined in IOKit/IOMessage.h or family specific.
- provider:
The IOService object who is delivering the notification. It is retained for the duration of the handler's invocation and doesn't need to be released by the handler.
- messageArgument:
An argument for message, dependent on its type.
- argSize:
Non zero if the argument represents a struct of that size, used when delivering messages outside the kernel.
See Also
Common Types
IOAccelBoundsIOAccelDeviceRegionIOAccelIDIOAccelSizeIOAccelSurfaceInformationIOAccelSurfaceReadDataIOAccelSurfaceScalingIOAddressRangeIOAddressSegmentIOAlignmentIOAppleTimingIDIOAsyncMethodIOBlockStorageDeviceExtentIOBlockStorageProvisionDeviceExtentIOByteCountIOByteCount32IOByteCount64IOCSRKeyTypeIOCacheModeIOColorComponentIOColorEntryIOCommandCodeIOCommandIDIOCommandKindIOConfigKeyTypeIODMAMapPageListIODMAMapSpecificationIODTCompareAddressCellFuncIODTNVLocationFuncIODataQueueClientDequeueEntryBlockIODataQueueClientEnqueueEntryBlockIODebuggerLinkStatusHandlerIODebuggerRxHandlerIODebuggerSetModeHandlerIODebuggerTxHandlerIODetailedTimingInformationIODetailedTimingInformationV1IODetailedTimingInformationV2IODispatchBlockIODispatchFunctionIODispatchLogFunctionIODispatchQueueCancelHandlerIODispatchQueueNameIODispatchSourceCancelHandlerIODisplayModeIDIODisplayModeInformationIODisplayProductIDIODisplayScalerInformationIODisplayTimingRangeIODisplayTimingRangeV1IODisplayTimingRangeV2IODisplayVendorIDIOEnetMulticastModeIOEnetPromiscuousModeIOEthernetAddressIOExternalAsyncMethodIOExternalMethodIOExternalMethodActionIOExternalMethodArgumentsIOExternalMethodDispatchIOExternalTrapIOFBCursorRefIOFBDPLinkConfigIOFBDisplayModeDescriptionIOFBHDRMetaDataIOFBHDRMetaDataV1IOFBInterruptProcIOFixedIOFixed1616IOFixedPoint32IOFourCharCodeIOFramebufferNotificationHandlerIOFramebufferNotificationNotifyIOGBoundsIOGPointIOGSizeIOHardwareCursorDescriptorIOHardwareCursorInfoIOIndexIOInterruptActionIOInterruptActionBlockIOInterruptDispatchSourcePayloadIOInterruptHandlerIOInterruptStateIOInterruptVectorNumberIOItemCountIOLockIOLogicalAddressIOMediaAttributeMaskIOMediaStateIOMessageIOMethodIONDRVControlParametersIONVRAMDescriptorIONamedValueIONotificationRefIOOptionBitsIOOutputActionIOPCIDeviceConfigHandlerIOPCIEventIOPCIPhysicalAddressIOPMCalendarStructIOPMDriverAssertionIDIOPMDriverAssertionLevelIOPMDriverAssertionTypeIOPMSettingControllerCallbackIOPhysicalAddressIOPhysicalAddress32IOPhysicalAddress64IOPhysicalLengthIOPhysicalLength32IOPhysicalLength64IOPhysicalRangeIOPixelApertureIOPixelEncodingIOPixelInformationIOPowerStateChangeNotificationIOPropertyNameIORPCIORPCMessageIORPCMessageErrorReturnIORPCMessageErrorReturnContentIORPCMessageMachIORWLockIORangeScalarIORecursiveLockIORegistryEntryApplierFunctionIORegistryPlaneNameIOReportCategoriesIOReportConfigureActionIOReportFormatIOReportQuantityIOReportScaleFactorIOReportUnitIOReportUnitsIOReportUpdateActionIOReturnIOSelectIOServiceIOServiceApplierFunctionIOServiceInterestContent64IOServiceInterestHandlerBlockIOServiceMatchingNotificationHandlerIOServiceMatchingNotificationHandlerBlockIOServiceNameIOServiceNotificationBlockIOServiceNotificationHandlerIOSimpleLockIOStorageAccessIOStorageAttributesIOStorageCompletionIOStorageCompletionActionIOStorageExtentIOStorageGetProvisionStatusOptionsIOStorageOptionsIOStoragePriorityIOStorageProvisionExtentIOStorageSynchronizeOptionsIOStorageUnmapOptionsIOStreamModeIOThreadIOThreadFuncIOTimeStampIntervalConstantFilteredIOTimingInformationIOTrackingCallSiteInfoIOTrapIOUserClientAsyncArgumentsArrayIOUserClientAsyncReferenceArrayIOUserClientMethodArgumentsIOUserClientMethodDispatchIOUserClientMethodFunctionIOUserClientScalarArrayIOVersionIOVideoDeviceNotificationIOVideoDeviceNotificationMessageIOVideoStreamDescriptionIOVirtualAddressIOVirtualRange