home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
215.lha
/
AmyLoad
/
findwindownode.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-14
|
455b
|
26 lines
#include <intuition/intuition.h>
#include "execdef.h"
#include "intuidef.h"
#include "windownode.h"
#include "FindWindowNode.proto"
extern MinList windowList;
WindowNode *
FindWindowNode(window)
Window *window;
{
WindowNode *node;
for (node = (WindowNode *)windowList.mlh_Head;
node->node.mln_Succ;
node = (WindowNode *)node->node.mln_Succ)
{
if (node->window == window)
return node;
}
return NULL;
}