Пример #1
0
 public int GetAllCustData(ref CUSTDATA pCustData)
 {
     if (m_GetAllCustDataFunc == null)
     {
         var fp = GetFunctionPointer(16);
         m_GetAllCustDataFunc = (GetAllCustDataFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetAllCustDataFunc));
     }
     return(m_GetAllCustDataFunc(m_ptr, ref pCustData));
 }
Пример #2
0
 public int GetAllParamCustData(uint indexFunc, uint indexParam, ref CUSTDATA pCustData)
 {
     if (m_GetAllParamCustDataFunc == null)
     {
         var fp = GetFunctionPointer(34);
         m_GetAllParamCustDataFunc = (GetAllParamCustDataFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetAllParamCustDataFunc));
     }
     return(m_GetAllParamCustDataFunc(m_ptr, indexFunc, indexParam, ref pCustData));
 }