Ignore:
Timestamp:
Feb 2, 2001, 9:42:56 AM (25 years ago)
Author:
bird
Message:

Added new option for the All-in-one-object fix. (+ some unfinished stuff too)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win32k.h

    r4774 r5052  
    1 /* $Id: win32k.h,v 1.3 2000-12-11 06:17:20 bird Exp $
     1/* $Id: win32k.h,v 1.4 2001-02-02 08:42:56 bird Exp $
    22 *
    33 * Top level make file for the Win32k library.
     
    2929#define K32_SETOPTIONS          0x04
    3030#define K32_PROCESSREADWRITE    0x05
     31#define K32_HANDLESYSTEMEVENT   0x06
    3132
    3233/*
     
    3536#define ELF_DUMMY               0x01
    3637
     38
     39/*
     40 * System event Identifiers.
     41 */
     42#define K32_SYSEVENT_SM_MOUSE               0x00    /* dh SendEvent - Session Manager (mouse)    */
     43#define K32_SYSEVENT_CTRL_BREAK             0x01    /* dh SendEvent - Ctrl-Break                 */
     44#define K32_SYSEVENT_CTRL_C                 0x02    /* dh SendEvent - Ctrl-C                     */
     45#define K32_SYSEVENT_CTRL_SCREEN_LOCK       0x03    /* dh SendEvent - Ctrl-ScrollLock            */
     46#define K32_SYSEVENT_CTRL_PRINT_SCREEN      0x04    /* dh SendEvent - Ctrl-PrtSc                 */
     47#define K32_SYSEVENT_SHIFT_PRINT_SCREEN     0x05    /* dh SendEvent - Shift-PrtSc                */
     48#define K32_SYSEVENT_SM_KEYBOARD            0x06    /* dh SendEvent - Session Manager (keyboard) */
     49#define K32_SYSEVENT_SM_CTRL_ALT_DELETE     0x07    /* dh SendEvent - Ctrl-Alt-Del               */
     50#define K32_SYSEVENT_HOT_PLUG               0x08    /* dh SendEvent - Keyboard Hot Plug/Reset    */
     51#define K32_SYSEVENT_POWER                  0x09    /* dh SendEvent - Power suspend event        */
     52#define K32_SYSEVENT_POWEROFF               0x0a    /* dh SendEvent - Power off event            */
     53#define K32_SYSEVENT_CTRL_ALT_2xNUMLOCK     0x0b    /* VectorSDF    - System Dump                */
     54#define K32_SYSEVENT_LAST                   K32_SYSEVENT_CTRL_ALT_2xNUMLOCK
     55
     56
     57#ifndef INCL_16                         /* We don't need this in 16-bit code. */
    3758
    3859/*******************************************************************************
     
    80101    /** @cat Options affecting the generated LX executables */
    81102    ULONG       fPE;                    /* Flags set the type of conversion. */
     103    ULONG       fPEOneObject;           /* All in one object. */
    82104    ULONG       ulInfoLevel;            /* Pe2Lx InfoLevel. */
    83105
     
    199221} K32PROCESSREADWRITE, *PK32PROCESSREADWRITE;
    200222
     223typedef struct _k32HandleSystemEvent
     224{
     225    ULONG       ulEvent;                /* Event identifier. One of the K32_SYSEVENT_ defines. */
     226    HEV         hev;                    /* Handle of shared event semaphore which should be */
     227                                        /* posted when the the requested event occurs.      */
     228    BOOL        fHandle;                /* Action flag. */
     229                                        /* TRUE:  Take control of the event. */
     230                                        /* FALSE: Give control back to the OS of this event. (hev must match the current handle!) */
     231    ULONG       rc;                     /* Return code. */
     232} K32HANDLESYSTEMEVENT, *PK32HANDLESYSTEMEVENT;
    201233
    202234
     
    219251APIRET APIENTRY  W32kQueryOTEs(HMODULE hMTE, PQOTEBUFFER pQOte, ULONG cbQOte);
    220252APIRET APIENTRY  W32kProcessReadWrite(PID pid, ULONG cb, PVOID pvSource, PVOID pvTarget, BOOL fRead);
     253APIRET APIENTRY  W32kHandleSystemEvent(ULONG ulEvent, HEV hev, BOOL fHandle);
    221254
    222255/* Helper function */
     
    226259#endif
    227260
     261#endif /* !defined(INCL_16) */
     262
    228263#endif
Note: See TracChangeset for help on using the changeset viewer.