Creates a pixel buffer for a given size and pixel format containing data specified by a memory location.
Original signature is 'CVReturn CVPixelBufferCreateWithBytes ( CFAllocatorRef allocator, size_t width, size_t height, OSType pixelFormatType, void *baseAddress, size_t bytesPerRow, CVPixelBufferReleaseBytesCallback releaseCallback, void *releaseRefCon, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef *pixelBufferOut );'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public static int CreateWithBytes( IntPtr allocator, NSUInteger width, NSUInteger height, uint pixelFormatType, IntPtr baseAddress, NSUInteger bytesPerRow, IntPtr releaseCallback, IntPtr releaseRefCon, NSDictionary pixelBufferAttributes, IntPtr pixelBufferOut )
Public Shared Function CreateWithBytes ( _ allocator As IntPtr, _ width As NSUInteger, _ height As NSUInteger, _ pixelFormatType As UInteger, _ baseAddress As IntPtr, _ bytesPerRow As NSUInteger, _ releaseCallback As IntPtr, _ releaseRefCon As IntPtr, _ pixelBufferAttributes As NSDictionary, _ pixelBufferOut As IntPtr _ ) As Integer
public: static int CreateWithBytes( IntPtr allocator, NSUInteger width, NSUInteger height, unsigned int pixelFormatType, IntPtr baseAddress, NSUInteger bytesPerRow, IntPtr releaseCallback, IntPtr releaseRefCon, NSDictionary^ pixelBufferAttributes, IntPtr pixelBufferOut )

- allocator (IntPtr)
- MISSING
- width (NSUInteger)
- MISSING
- height (NSUInteger)
- MISSING
- pixelFormatType (UInt32)
- MISSING
- baseAddress (IntPtr)
- MISSING
- bytesPerRow (NSUInteger)
- MISSING
- releaseCallback (IntPtr)
- MISSING
- releaseRefCon (IntPtr)
- MISSING
- pixelBufferAttributes (NSDictionary)
- MISSING
- pixelBufferOut (IntPtr)
- MISSING

A Core Video result code. See Core Video Constants Reference for possible values.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)