Function

IOSurfaceSetValue

Sets a value in the dictionary associated with the buffer.

Declaration

void IOSurfaceSetValue(IOSurfaceRef buffer, CFStringRef key, CFTypeRef value);

Discussion

This call lets you attach CF property list types to an IOSurface buffer. This call is expensive (it must essentially serialize the data into the kernel) and thus should be avoided whenever possible.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software