Changeset 8771 for trunk/include/win/winprocess.h
- Timestamp:
- Jun 26, 2002, 8:59:53 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winprocess.h
r8751 r8771 25 25 * figuring out how this really is. But this at least make some sense. 26 26 */ 27 /* The linked list node for one handler */27 /* The doubly linked list node for one handler */ 28 28 typedef struct _ConCtrl 29 29 { 30 30 void * pfnHandler; /* Pointer to the handler. (PHANDLER_ROUTINE) */ 31 DWORD cReference; /* Number of installs of this handler. */32 31 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 */ 33 36 } 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 */ 48 typedef 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; 34 55 #endif 35 36 56 37 57 /* Win32 process environment database */
Note:
See TracChangeset
for help on using the changeset viewer.