home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d126
/
suplib.lha
/
Suplib
/
mntreq.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-01-02
|
388b
|
19 lines
extern struct Process *FindTask();
mountrequest(bool)
{
static APTR original_pr_WindowPtr;
register struct Process *proc;
proc = FindTask(0);
if (!bool && proc->pr_WindowPtr != (APTR)-1) {
original_pr_WindowPtr = proc->pr_WindowPtr;
proc->pr_WindowPtr = (APTR)-1;
}
if (bool && proc->pr_WindowPtr == (APTR)-1)
proc->pr_WindowPtr = original_pr_WindowPtr;
}