Exemplo n.º 1
0
 public int GetMarshalingContextAttribute(CO_MARSHALING_CONTEXT_ATTRIBUTES attribute, ref ulong pAttributeValue)
 {
     if (m_GetMarshalingContextAttributeFunc == null)
     {
         var fp = GetFunctionPointer(14);
         m_GetMarshalingContextAttributeFunc = (GetMarshalingContextAttributeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetMarshalingContextAttributeFunc));
     }
     return(m_GetMarshalingContextAttributeFunc(m_ptr, attribute, ref pAttributeValue));
 }
 public int GetMarshalingContextAttribute(CO_MARSHALING_CONTEXT_ATTRIBUTES attribute, [NativeTypeName("ULONG_PTR *")] nuint *pAttributeValue)
 {
     return(((delegate * unmanaged <IMarshalingStream *, CO_MARSHALING_CONTEXT_ATTRIBUTES, nuint *, int>)(lpVtbl[14]))((IMarshalingStream *)Unsafe.AsPointer(ref this), attribute, pAttributeValue));
 }