Ejemplo n.º 1
0
        public virtual int CheckFeatureSupport(
            D2D1_FEATURE feature,
            IntPtr featureSupportData,
            uint featureSupportDataSize
            )
        {
            var fp = GetFunctionPointer(22);

            if (m_CheckFeatureSupportFunc == null)
            {
                m_CheckFeatureSupportFunc = (CheckFeatureSupportFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CheckFeatureSupportFunc));
            }

            return(m_CheckFeatureSupportFunc(m_ptr, feature, featureSupportData, featureSupportDataSize));
        }
Ejemplo n.º 2
0
 public HRESULT CheckFeatureSupport(D2D1_FEATURE feature, void *featureSupportData, [NativeTypeName("UINT32")] uint featureSupportDataSize)
 {
     return(((delegate * unmanaged[Stdcall] < ID2D1EffectContext *, D2D1_FEATURE, void *, uint, int >)(lpVtbl[22]))((ID2D1EffectContext *)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize));
 }
Ejemplo n.º 3
0
 public int CheckFeatureSupport(D2D1_FEATURE feature, [NativeTypeName("void *")] void *featureSupportData, [NativeTypeName("UINT32")] uint featureSupportDataSize)
 {
     return(((delegate * stdcall <ID2D1EffectContext1 *, D2D1_FEATURE, void *, uint, int>)(lpVtbl[22]))((ID2D1EffectContext1 *)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize));
 }