Ejemplo n.º 1
0
    static GCHandle^ _handle()
    {
        if (_lock != nullptr)
        {
            return GCHandle::FromIntPtr(IntPtr(_lock));
        }

        return nullptr;
    }
Ejemplo n.º 2
0
        GCHandle^ _handle()
        {
                if (_data != nullptr)
                {
                        return GCHandle::FromIntPtr(IntPtr(_data));
                }

                return nullptr;
        }