如何使用[DLLImport(" Kernel32.dll")]? [英] How to use [DLLImport("Kernel32.dll")]?
本文介绍了如何使用[DLLImport(" Kernel32.dll")]?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都知道如何使用
[DLLImport( Kernel32.dll)]
我们可以使用DLLImport使用hal.dll吗?
解决方案
此 Link- [DllImport:load dll library] [ ^ ]
和 MSDN- [DllImportAttribute Class] [ ^ ]可以帮助你。
这也是一个有用的链接
http://www.pinvoke.net/default.aspx/advapi32.GetNamedSecurityInfo [ ^ ]
DLLImport可用于调用本机Windows DLL中的任何导出函数。查看此 [ ^ ]链接以获取更多信息。
Any one knows how to use
[DLLImport("Kernel32.dll")]
Can we use hal.dll using DLLImport?
解决方案
This Link-[DllImport: load dll library][^]
and MSDN-[DllImportAttribute Class][^] might help you.
This is also a useful link
http://www.pinvoke.net/default.aspx/advapi32.GetNamedSecurityInfo[^]
DLLImport can be used to call any exported function in a native Windows DLL. Check this[^] link for more information.
这篇关于如何使用[DLLImport(" Kernel32.dll")]?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文