ConversionsStructuresToPtrT Method |
Marshals data from a list of managed object of a specified type to array of bytes.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax 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