Contents

initWithOptions

Primary initializer for all variants of memory descriptors.

Declaration

virtual bool initWithOptions(void *buffers, UInt32 count, UInt32 offset, task_t task, IOOptionBits options, IOMapper *mapper);

Return Value

true on success, false on failure.

Discussion

For a more complete description see IOMemoryDescriptor::withOptions. Note this function can be used to re-init a previously created memory descriptor.

See Also

Creating the Memory Buffer