withNoBuffer
Factory method that constructs and initializes an IONetworkData object without a data buffer.
Declaration
static IONetworkData * withNoBuffer(
const char *name,
UInt32 bufferSize,
UInt32 accessTypes,
void *target,
Action action,
void *param = 0);Parameters
- name:
A name to assign to this object.
- bufferSize:
The size of the phantom data buffer.
- accessTypes:
The initial supported access types.
- target:
The notification target.
- action:
The notification action.
- param:
A parameter to pass to the notification action.
Return Value
Returns an IONetworkData object on success, or 0 otherwise.
Overview
The notification handler must intervene when the IONetworkData is accessed.