wfindrec.c

来自「详细介绍了一篇关于pci开发的接口芯片」· C语言 代码 · 共 20 行

C
20
字号
/*  CXL - Copyright (c) 1987-1989 by Mike Smedley - All Rights Reserved  */
/*  WFINDREC.C  - returns address of record of given window handle  */

#include "cxlwin.h"

struct _wrec_t *wfindrec(int whandle)
{
    struct _wrec_t *wrec;

    /* scan through linked list for record belonging to requested handle */
    wrec=_winfo.active;
    while(wrec!=NULL) {
        if(whandle==wrec->whandle) break;
        wrec=wrec->prev;
    }

    /* return address of found record */
    return(wrec);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?