delorie.com/djgpp/doc/libc/libc_270.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

__dpmi_set_real_mode_interrupt_vector

Syntax

 
#include <dpmi.h>

int __dpmi_set_real_mode_interrupt_vector(int _vector,
                                          __dpmi_raddr *_address);

Description

Please refer to the DPMI Specification (see section DPMI Specification) for details on DPMI function call operation. Also see the DPMI Overview (see section DPMI Overview) for general information.

DPMI function AX = 0x0201

This function sets a real-mode interrupt vector. You must pass a segment:offset pair, not a selector.

Bits [31:8] in the vector number are silently ignored.

Return Value

Zero. This function always works.

Portability

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004