initializes sequence header for array. The sequence header as well as the sequence block are allocated by the user (for example, on stack). No data is copied by the function. The resultant sequence will consists of a single block and have NULL storage pointer, thus, it is possible to read its elements, but the attempts to add elements to the sequence will raise an error in most cases

C# | Visual Basic | Visual C++ |
public static IntPtr cvMakeSeqHeaderForArray( int seqType, int headerSize, int elemSize, IntPtr elements, int total, IntPtr seq, IntPtr block )

- seqType (Int32)
- Type of the created sequence
- headerSize (Int32)
- Size of the header of the sequence. Parameter sequence must point to the structure of that size or greater size.
- elemSize (Int32)
- Size of the sequence element
- elements (IntPtr)
- Elements that will form a sequence
- total (Int32)
- Total number of elements in the sequence. The number of array elements must be equal to the value of this parameter
- seq (IntPtr)
- Pointer to the local variable that is used as the sequence header.
- block (IntPtr)
- Pointer to the local variable that is the header of the single sequence block.

Pointer to the local variable that is used as the sequence header