Windows


DLL - 3


;

; "fStopping", .

;

 

FIXED_TEXT SEGMENT PARA PUBLIC 'CODE'

selData1 dw FIXED_DATA

assume CS:FIXED_TEXT,DS:NOTHING

PUBLIC _IntSvcRtn

_IntSvcRtn label far

IntSvcRtn proc far

push ax

push dx

push ds

mov ds,selDatal

assume ds:FIXED_DATA

inc wCount

mov al,NOT FAKE_CTL_EOI

mov dx,FAKE_PORT

out dx,al ; EOI

mov al,EOI

out PIC00,al ; EOI PIC

ife (PIC00 EQ INTA00)

out INTA00,al ; EOI PIC

endif

cmp hWndEvent,0 ; ?

jz isr9 ; ,

;

cmp wCount,1 ; ?

jne isr8 ; ,

 

push bx ;

push cx

push es

 

push hWndEvent

push WM_COMMAND

push wParamEvent

push 0 ; lParam 0

push 0

call POSTMESSAGE ;

 

pop es

pop cx

pop bx

 

isr8:

mov al,NOT FAKE_CTL_START

mov dx,FAKE_PORT

out dx,al ; -

isr9:

pop ds

assume ds:NOTHING

pop dx

pop ax

iret

IntSvcRtn endp

 

; AllocIntReflector

PUBLIC _BogusCallback

_BogusCallback label far

BogusCallback proc far

pushf

call IntSvcRtn

ret

BogusCallback endp

 

FIXED_TEXT ENDS

end

;

_____________________________________________________________________

 

2. bogusa.asm




- -  - -  - -