开发者

handle in win32 sdk .how to declare handle in c#

开发者 https://www.devze.com 2023-01-04 13:39 出处:网络
handle in win32 sdk .how to declare ha开发者_如何转开发ndle in c#A Windows handle is an IntPtr in C#.

handle in win32 sdk .how to declare ha开发者_如何转开发ndle in c#


A Windows handle is an IntPtr in C#.

If your code created the handle then you should use one of the SafeHandle derived classes to wrap it so it is guaranteed to be released. Avoids having to write a finalizer.

0

精彩评论

暂无评论...
验证码 换一张
取 消