Ignore:
Timestamp:
Jun 26, 2002, 8:59:53 AM (23 years ago)
Author:
sandervl
Message:

KSO: header update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/winprocess.h

    r8751 r8771  
    2525 * figuring out how this really is. But this at least make some sense.
    2626 */
    27 /* The linked list node for one handler */
     27/* The doubly linked list node for one handler */
    2828typedef struct _ConCtrl
    2929{
    3030    void *              pfnHandler;     /* Pointer to the handler. (PHANDLER_ROUTINE) */
    31     DWORD               cReference;     /* Number of installs of this handler. */
    3231    struct _ConCtrl *   pNext;          /* Pointer to the next in the chain. */
     32    struct _ConCtrl *   pPrev;          /* Pointer to the prev in the chain. */
     33    ULONG               flFlags;        /* Internal flags for prevent crash during
     34                                         * GenerateConsoleCtrlEvent(). Initially 0.
     35                                         */
    3336} CONCTRL, *PCONCTRL;
     37
     38/* flFlags in CONCTRL */
     39#define ODIN32_CONCTRL_FLAGS_INIT       0x00000000
     40#define ODIN32_CONCTRL_FLAGS_USED       0x00000001
     41#define ODIN32_CONCTRL_FLAGS_REMOVED    0x00000002
     42
     43/*
     44 * Console Handler Data struct.
     45 * GUESS WORK!
     46 * Insert at head. Remove from tail.
     47 */
     48typedef struct _ConCtrlData
     49{
     50    PCONCTRL    pHead;                  /* Head of handler list. */
     51    PCONCTRL    pTail;                  /* Tail of handler list. */
     52    BOOL        fIgnoreCtrlC;           /* If set we should ignore Ctrl-C. */
     53                                        /* Initially false / inherited. */
     54} CONCTRLDATA, *PCONCTRLDATA;
    3455#endif
    35 
    3656
    3757/* Win32 process environment database */
Note: See TracChangeset for help on using the changeset viewer.