CMBlockBuffer.FromMemoryBlock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromMemoryBlock(Byte[], UIntPtr, CMBlockBufferFlags, CMBlockBufferError)
public static CoreMedia.CMBlockBuffer? FromMemoryBlock(byte[] data, UIntPtr offsetToData, CoreMedia.CMBlockBufferFlags flags, out CoreMedia.CMBlockBufferError error);
static member FromMemoryBlock : byte[] * unativeint * CoreMedia.CMBlockBufferFlags * CMBlockBufferError -> CoreMedia.CMBlockBuffer
Parameters
- data
- Byte[]
- offsetToData
-
UIntPtr
unativeint
- flags
- CMBlockBufferFlags
- error
- CMBlockBufferError
Returns
Applies to
FromMemoryBlock(IntPtr, UIntPtr, CMCustomBlockAllocator, UIntPtr, UIntPtr, CMBlockBufferFlags, CMBlockBufferError)
public static CoreMedia.CMBlockBuffer? FromMemoryBlock(IntPtr memoryBlock, UIntPtr blockLength, CoreMedia.CMCustomBlockAllocator? customBlockSource, UIntPtr offsetToData, UIntPtr dataLength, CoreMedia.CMBlockBufferFlags flags, out CoreMedia.CMBlockBufferError error);
static member FromMemoryBlock : nativeint * unativeint * CoreMedia.CMCustomBlockAllocator * unativeint * unativeint * CoreMedia.CMBlockBufferFlags * CMBlockBufferError -> CoreMedia.CMBlockBuffer
Parameters
- memoryBlock
-
IntPtr
nativeint
- blockLength
-
UIntPtr
unativeint
- customBlockSource
- CMCustomBlockAllocator
- offsetToData
-
UIntPtr
unativeint
- dataLength
-
UIntPtr
unativeint
- flags
- CMBlockBufferFlags
- error
- CMBlockBufferError