home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / go32 / gorvec.txh < prev    next >
Encoding:
Text File  |  1995-07-23  |  1.2 KB  |  51 lines

  1. @node _go32_dpmi_get_real_mode_interrupt_vector, dpmi
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <dpmi.h>
  6.  
  7. int _go32_dpmi_get_real_mode_interrupt_vector(int vector, _go32_dpmi_seginfo *info);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. @xref{DPMI Overview}
  13.  
  14. This function gets the real-mode interrupt vector specified into the
  15. address in the @code{rm_segment} and @code{rm_offset} fields in
  16. @var{info}.
  17.  
  18. @subheading Return Value
  19.  
  20. Zero on success, nonzero on failure.
  21.  
  22. @subheading Example
  23.  
  24. @xref{_go32_dpmi_allocate_real_mode_callback_iret}
  25.  
  26. @c ----------------------------------------------------------------------
  27. @node _go32_dpmi_set_real_mode_interrupt_vector, dpmi
  28. @subheading Syntax
  29.  
  30. @example
  31. #include <dpmi.h>
  32.  
  33. int _go32_dpmi_set_real_mode_interrupt_vector(int vector, _go32_dpmi_seginfo *info);
  34. @end example
  35.  
  36. @subheading Description
  37.  
  38. @xref{DPMI Overview}
  39.  
  40. This function sets the real-mode interrupt vector specified to point to
  41. the address in the @code{rm_segment} and @code{rm_offset} fields in
  42. @var{info}.
  43.  
  44. @subheading Return Value
  45.  
  46. Zero on success, nonzero on failure.
  47. @subheading Example
  48.  
  49. @xref{_go32_dpmi_allocate_real_mode_callback_iret}
  50.  
  51.