Exemple #1
0
 public int QueryMultipleInterfaces(uint cMQIs, ref MULTI_QI pMQIs)
 {
     if (m_QueryMultipleInterfacesFunc == null)
     {
         var fp = GetFunctionPointer(3);
         m_QueryMultipleInterfacesFunc = (QueryMultipleInterfacesFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(QueryMultipleInterfacesFunc));
     }
     return(m_QueryMultipleInterfacesFunc(m_ptr, cMQIs, ref pMQIs));
 }
Exemple #2
0
 public int Finish_QueryMultipleInterfaces(ref MULTI_QI pMQIs)
 {
     if (m_Finish_QueryMultipleInterfacesFunc == null)
     {
         var fp = GetFunctionPointer(4);
         m_Finish_QueryMultipleInterfacesFunc = (Finish_QueryMultipleInterfacesFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(Finish_QueryMultipleInterfacesFunc));
     }
     return(m_Finish_QueryMultipleInterfacesFunc(m_ptr, ref pMQIs));
 }