Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
VPICD_Force_Default_Owner
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vpicd.inc
 
mov     eax, IRQNum     ; IRQ number
mov     ebx, VM         ; owner VM handle or 0 for global ownership
VxDcall VPICD_Force_Default_Owner
 
jc      error           ; carry set if can't set owner
 
The VPICD_Force_Default_Owner service forces VPICD's default interrupt
handler to direct a specified IRQ to a particular virtual machine, or to
make the IRQ global so that any virtual machine can receive the interrupt.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
IRQNum     Specifies the number of the IRQ for which ownership is set.
 
VM         Specifies the handle identifying the virtual machine to receive
           ownership. If this parameter is 0, the IRQ is given global
           ownership and any virtual machine can receive the interrupt.
 
Return Value
 
The carry flag is clear if the service set the owner to the specified
virtual machine. If the service could not set the owner, such as if the IRQ
has been virtualized or the IRQ number is not valid, the carry flag is set.
 
Uses
 
Flags
 
See Also
 
VPICD_Force_Default_Behavior