From: Kevin Hise Newsgroups: comp.os.msdos.djgpp Subject: Re: Windows trashes my 800x600 graphics mode program. Date: Wed, 28 Apr 1999 14:36:43 -0700 Organization: Cyplex, Inc. Lines: 21 Message-ID: <37277F6B.8A5DED85@ridgecrest.ca.us> References: NNTP-Posting-Host: p-622.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en]C-DIAL (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Your confusing my brain...is this a interrupt that I hook/monitor in my code to detect when Windows has switched me into the background? Or is it a function that I call? Then how am I "notified"? Kev. Eli Zaretskii wrote: > > On 25 Apr 1999, Samir Barjoud wrote: > > > > That's the catch: there isn't any (at least AFAIK). If anybody knows > > > how to achieve this, I'd certainly like to add that to the FAQ. > > > > ................................................................. > > Interrupt 2Fh Function 4001h > > > > mov ax, 4001h ; Notify Background Switch > > int 2fh > > Did you try to hook these functions? I think you won't see them called > in a DPMI DOS session.