#include <IOKit/OSMessageNotification.h>

IOKit/OSMessageNotification.h Kernel.framework

includes: mach/mach_types.h, Kernel/device/device_types.h, IOKit/IOReturn.h
5 enums · 5 structs · 2 typedefs

enum(anonymous)

underlying type unsigned int
kFirstIOKitNotificationType100
kIOServicePublishNotificationType100
kIOServiceMatchedNotificationType101
kIOServiceTerminatedNotificationType102
kIOAsyncCompletionNotificationType150
kIOServiceMessageNotificationType160
kLastIOKitNotificationType199
kIOKitNoticationTypeMask4095reserved bits
kIOKitNoticationTypeSizeAdjShift30
kIOKitNoticationMsgSizeMask3

enum(anonymous)

underlying type unsigned int
kOSNotificationMessageID53
kOSAsyncCompleteMessageID57
kMaxAsyncArgs16

enum(anonymous)

underlying type unsigned int
kIOAsyncReservedIndex0
kIOAsyncReservedCount1
kIOAsyncCalloutFuncIndex1
kIOAsyncCalloutRefconIndex2
kIOAsyncCalloutCount3
kIOMatchingCalloutFuncIndex1
kIOMatchingCalloutRefconIndex2
kIOMatchingCalloutCount3
kIOInterestCalloutFuncIndex1
kIOInterestCalloutRefconIndex2
kIOInterestCalloutServiceIndex3
kIOInterestCalloutCount4

enum(anonymous)

--------------
underlying type unsigned int
kOSAsyncRef64Count8
kOSAsyncRef64Size64

typedefOSAsyncReference64

typedef io_user_reference_t OSAsyncReference64[kOSAsyncRef64Count]

structOSNotificationHeader64

size 72, align 8
mach_msg_size_tsizecontent size
natural_ttype
OSAsyncReference64reference
unsigned char[0]content

structIOServiceInterestContent64

size 12, align 4
natural_tmessageType
io_user_reference_t[1]messageArgument

enum(anonymous)

underlying type unsigned int
kOSAsyncRefCount8
kOSAsyncRefSize32

typedefOSAsyncReference

typedef natural_t OSAsyncReference[kOSAsyncRefCount]

structOSNotificationHeader

size 40, align 4
mach_msg_size_tsizecontent size
natural_ttype
OSAsyncReferencereference
unsigned char[0]content

structIOServiceInterestContent

size 12, align 4
natural_tmessageType
void *[1]messageArgument

structIOAsyncCompletionContent

size 4, align 4
IOReturnresult
void *[0]args