Click or drag to resize

ConversionsStructuresToPtrT Method

Marshals data from a list of managed object of a specified type to array of bytes.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IntPtr StructuresToPtr<T>(
	IEnumerable<T> structures,
	out int size
)

Parameters

structures
Type: System.Collections.GenericIEnumerableT
The structures.
size
Type: SystemInt32
The size.

Type Parameters

T
The structure type.

Return Value

Type: IntPtr
An pointer that must be freed when not used.
See Also