コード例 #1
0
 public uint RetryRejectedCall(HTASK htaskCallee, uint dwTickCount, uint dwRejectType)
 {
     if (m_RetryRejectedCallFunc == null)
     {
         var fp = GetFunctionPointer(4);
         m_RetryRejectedCallFunc = (RetryRejectedCallFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(RetryRejectedCallFunc));
     }
     return(m_RetryRejectedCallFunc(m_ptr, htaskCallee, dwTickCount, dwRejectType));
 }
コード例 #2
0
 public uint MessagePending(HTASK htaskCallee, uint dwTickCount, uint dwPendingType)
 {
     if (m_MessagePendingFunc == null)
     {
         var fp = GetFunctionPointer(5);
         m_MessagePendingFunc = (MessagePendingFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MessagePendingFunc));
     }
     return(m_MessagePendingFunc(m_ptr, htaskCallee, dwTickCount, dwPendingType));
 }
コード例 #3
0
 public uint HandleInComingCall(uint dwCallType, HTASK htaskCaller, uint dwTickCount, ref LPINTERFACEINFO lpInterfaceInfo)
 {
     if (m_HandleInComingCallFunc == null)
     {
         var fp = GetFunctionPointer(3);
         m_HandleInComingCallFunc = (HandleInComingCallFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(HandleInComingCallFunc));
     }
     return(m_HandleInComingCallFunc(m_ptr, dwCallType, htaskCaller, dwTickCount, ref lpInterfaceInfo));
 }