code: def send(self, uMsg, wParam = None, lParam = None, dwTimeout = None):
          
          if dwTimeout is None:
              return win32.SendMessage(self.get_handle(), uMsg, wParam, lParam)
          return win32.SendMessageTimeout(
              self.get_handle(), uMsg, wParam, lParam,
              win32.SMTO_ABORTIFHUNG | win32.SMTO_ERRORONEXIT, dwTimeout)
docs: Send a low-level window message syncronically.
  
          @type  uMsg: int
          @param uMsg: Message code.
  
          @param wParam:
              The type and meaning of this parameter depends on the message.
  
          @param lParam:
              The type and meaning of this parameter depends on the message.
  
          @param dwTimeout: Optional timeout for the operation.
              Use C{None} to wait indefinitely.
  
          @rtype:  int
          @return: The meaning of the return value depends on the window message.
              Typically a value of C{0} means an error occured. You can get the
              error code by calling L{win32.GetLastError}.