当前位置:编程学习 > C#/ASP.NET >>

Pack in StructLayout Attribute

1. MSDN says Pack in StructLayout can be  0, 1, 2, 4, 8, 16, 32, 64, or 128 , which is the default value when I donot set Pack explicitly?
2. And when I use WIN32 api , sometime I need use struct as parameter, which value should I use? 0 or other?
3. In vc++, the max alignment value is 16, when the above value use for?

Thank you! --------------------编程问答-------------------- up --------------------编程问答-------------------- upupup
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,