VPICD_Remove_Handler

include bimodint.inc

les di, bis ; points to Bimodal_Int_Struc

mov ax, VPICD_Remove_Handler

call [lpfnVPICD]

jc error ; carry flag set on error


The VPICD_Remove_Handler function removes a bimodal interrupt handler for the IRQ specified by the BIS_IRQ_Number field in the Bimodal_Int_Struc structure.

Parameters

bis

Points to a Bimodal_Int_Struc structure containing information about the interrupt handler to remove.

lpfnVPICD

Specifies the entry-point address of the API handler for the virtual PIC device.

Return Value

The carry flag is clear if the function is successful, and set if an error occurs. The function returns an error if the IRQ has not been virtualized, or the IRQ number is not valid.

Comments

This function unvirtualizes the specified IRQ, and frees the supervisor-mode selectors for the interrupt handler's code, data, and additional segments (if any).

See Also

VPICD_Install_Handler