Click here to Skip to main content
15,887,683 members
Articles / Programming Languages / C#

P/Invoke Jujitsu: Passing Variable Length Structs

Rate me:
Please Sign up or sign in to vote.
4.77/5 (9 votes)
4 Jul 2020MIT16 min read 11.4K   93   6  
How to marshal structs that the .NET marshaller just can't handle without a lot of help
How to marshal structs that contain variable length, and/or fixed length arrays

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions