mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Converted to lock blocks
This commit is contained in:
@@ -41,6 +41,14 @@ internal unsafe class CComPtrNtv<TPtr> : IDisposable where TPtr : unmanaged
|
||||
}
|
||||
}
|
||||
|
||||
public ref TPtr* GetPinnableReference()
|
||||
{
|
||||
fixed (TPtr** ptr = &p)
|
||||
{
|
||||
return ref *ptr;
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposedValue)
|
||||
|
||||
Reference in New Issue
Block a user