Changeset 9935 for trunk/include


Ignore:
Timestamp:
Mar 25, 2003, 1:17:09 PM (23 years ago)
Author:
sandervl
Message:

PF: Generate console even when receiving special keyboard hook message for Ctrl-Break

Location:
trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/pmkbdhk.h

    r9812 r9935  
    1 /* $Id: pmkbdhk.h,v 1.2 2003-02-16 18:28:48 sandervl Exp $ */
     1/* $Id: pmkbdhk.h,v 1.3 2003-03-25 12:16:56 sandervl Exp $ */
    22/*
    33 * OS/2 Presentation Manager Keyboard Hook
     
    1515 * WM_PENFIRST is 0x04c0
    1616 */
    17 #define WM_CHAR_SPECIAL              0x04be
    18 #define WM_CHAR_SPECIAL_ALTGRCONTROL 0x04bf
     17#define WM_CHAR_SPECIAL               0x04ba
     18#define WM_CHAR_SPECIAL_ALTGRCONTROL  0x04bb
     19#define WM_CHAR_SPECIAL_CONSOLE_BREAK 0x04bc
    1920
    2021
  • trunk/include/win32api.h

    r9921 r9935  
    230230BOOL      WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
    231231
     232BOOL      WINAPI GenerateConsoleCtrlEvent( DWORD dwCtrlEvent, DWORD dwProcessGroupID);
     233
    232234#endif
  • trunk/include/winconst.h

    r9652 r9935  
    20182018#define PBT_APMRESUMEAUTOMATIC_W          0x0012
    20192019
     2020#define CTRL_C_EVENT_W        0
     2021#define CTRL_BREAK_EVENT_W    1
     2022#define CTRL_CLOSE_EVENT_W    2
     2023#define CTRL_LOGOFF_EVENT_W   5
     2024#define CTRL_SHUTDOWN_EVENT_W 6
     2025
    20202026#endif //__WINCONST_H__
Note: See TracChangeset for help on using the changeset viewer.