IOStorageCompletionAction
Declaration
typedef void (*IOStorageCompletionAction)(void *target, void *parameter, IOReturn status, UInt64 actualByteCount);Parameters
- target:
Opaque client-supplied pointer (or an instance pointer for a C++ callback).
- parameter:
Opaque client-supplied pointer.
- status:
Status of the data transfer.
- actualByteCount:
Actual number of bytes transferred in the data transfer.
Discussion
The IOStorageCompletionAction declaration describes the C (or C++) completion routine that is called once an asynchronous storage operation completes.
See Also
Common Types
IOAccelBoundsIOAccelDeviceRegionIOAccelIDIOAccelSizeIOAccelSurfaceInformationIOAccelSurfaceReadDataIOAccelSurfaceScalingIOAddressRangeIOAddressSegmentIOAlignmentIOAppleTimingIDIOAsyncMethodIOBlockStorageDeviceExtentIOBlockStorageProvisionDeviceExtentIOByteCountIOByteCount32IOByteCount64IOCSRKeyTypeIOCacheModeIOColorComponentIOColorEntryIOCommandCodeIOCommandIDIOCommandKindIOConfigKeyTypeIODMAMapPageListIODMAMapSpecificationIODTCompareAddressCellFuncIODTNVLocationFuncIODataQueueClientDequeueEntryBlockIODataQueueClientEnqueueEntryBlockIODebuggerLinkStatusHandlerIODebuggerRxHandlerIODebuggerSetModeHandlerIODebuggerTxHandlerIODetailedTimingInformationIODetailedTimingInformationV1IODetailedTimingInformationV2IODispatchBlockIODispatchFunctionIODispatchLogFunctionIODispatchQueueCancelHandlerIODispatchQueueNameIODispatchSourceCancelHandlerIODisplayModeIDIODisplayModeInformationIODisplayProductIDIODisplayScalerInformationIODisplayTimingRangeIODisplayTimingRangeV1IODisplayTimingRangeV2IODisplayVendorIDIOEnetMulticastModeIOEnetPromiscuousModeIOEthernetAddressIOExternalAsyncMethodIOExternalMethodIOExternalMethodActionIOExternalMethodArgumentsIOExternalMethodDispatchIOExternalTrapIOFBCursorRefIOFBDPLinkConfigIOFBDisplayModeDescriptionIOFBHDRMetaDataIOFBHDRMetaDataV1IOFBInterruptProcIOFixedIOFixed1616IOFixedPoint32IOFourCharCodeIOFramebufferNotificationHandlerIOFramebufferNotificationNotifyIOGBoundsIOGPointIOGSizeIOHardwareCursorDescriptorIOHardwareCursorInfoIOIndexIOInterruptActionIOInterruptActionBlockIOInterruptDispatchSourcePayloadIOInterruptHandlerIOInterruptStateIOInterruptVectorNumberIOItemCountIOLockIOLogicalAddressIOMediaAttributeMaskIOMediaStateIOMessageIOMethodIONDRVControlParametersIONVRAMDescriptorIONamedValueIONotificationRefIOOptionBitsIOOutputActionIOPCIDeviceConfigHandlerIOPCIEventIOPCIPhysicalAddressIOPMCalendarStructIOPMDriverAssertionIDIOPMDriverAssertionLevelIOPMDriverAssertionTypeIOPMSettingControllerCallbackIOPhysicalAddressIOPhysicalAddress32IOPhysicalAddress64IOPhysicalLengthIOPhysicalLength32IOPhysicalLength64IOPhysicalRangeIOPixelApertureIOPixelEncodingIOPixelInformationIOPowerStateChangeNotificationIOPropertyNameIORPCIORPCMessageIORPCMessageErrorReturnIORPCMessageErrorReturnContentIORPCMessageMachIORWLockIORangeScalarIORecursiveLockIORegistryEntryApplierFunctionIORegistryPlaneNameIOReportCategoriesIOReportConfigureActionIOReportFormatIOReportQuantityIOReportScaleFactorIOReportUnitIOReportUnitsIOReportUpdateActionIOReturnIOSelectIOServiceIOServiceApplierFunctionIOServiceInterestContent64IOServiceInterestHandlerIOServiceInterestHandlerBlockIOServiceMatchingNotificationHandlerIOServiceMatchingNotificationHandlerBlockIOServiceNameIOServiceNotificationBlockIOServiceNotificationHandlerIOSimpleLockIOStorageAccessIOStorageAttributesIOStorageCompletionIOStorageExtentIOStorageGetProvisionStatusOptionsIOStorageOptionsIOStoragePriorityIOStorageProvisionExtentIOStorageSynchronizeOptionsIOStorageUnmapOptionsIOStreamModeIOThreadIOThreadFuncIOTimeStampIntervalConstantFilteredIOTimingInformationIOTrackingCallSiteInfoIOTrapIOUserClientAsyncArgumentsArrayIOUserClientAsyncReferenceArrayIOUserClientMethodArgumentsIOUserClientMethodDispatchIOUserClientMethodFunctionIOUserClientScalarArrayIOVersionIOVideoDeviceNotificationIOVideoDeviceNotificationMessageIOVideoStreamDescriptionIOVirtualAddressIOVirtualRange