Ignore:
Timestamp:
Feb 16, 2000, 12:39:20 AM (26 years ago)
Author:
bird
Message:

IOCtl exported services.
k32AllocMemEx.

Location:
trunk/src/win32k/include
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/include/OS2KVM.h

    r2796 r2799  
    1 /* $Id: OS2KVM.h,v 1.1 2000-02-15 16:26:06 bird Exp $
     1/* $Id: OS2KVM.h,v 1.2 2000-02-15 23:39:19 bird Exp $
    22 *
    33 * OS/2 kernel VM functions.
     
    6363    ULONG   cbSize,
    6464    ULONG   SomeArg1,
    65     ULONG   flFlags1
    66     USHORT  hPTDA
    67     USHORT  usVMOwnerId
    68     USHORT  hMTE
    69     ULONG   flFlags2
     65    ULONG   flFlags1,
     66    USHORT  hPTDA,
     67    USHORT  usVMOwnerId,
     68    USHORT  hMTE,
     69    ULONG   flFlags2,
    7070    ULONG   SomeArg2,
    7171    PVMAC   pvmac);
  • trunk/src/win32k/include/OS2Krnl.h

    r2617 r2799  
    1 /* $Id: OS2Krnl.h,v 1.6 2000-02-03 21:22:30 bird Exp $
     1/* $Id: OS2Krnl.h,v 1.7 2000-02-15 23:39:19 bird Exp $
    22 *
    33 * OS/2 kernel structures, typedefs and macros.
     4 *
     5 * Top-level include file.
    46 *
    57 * Project Odin Software License can be found in LICENSE.TXT
     
    149151   USHORT         mte_usecnt;    /* (.EXE only) - use count */
    150152   CHAR           mte_modname[8];
    151 }MTE,*PMTE,**PPMTE;
     153} MTE,*PMTE,**PPMTE;
    152154
    153155
     
    232234#ifdef INCL_OS2KRNL_ALL
    233235    #define INCL_OS2KRNL_IO
     236    #define INCL_OS2KRNL_VM
    234237#endif
    235238
     
    238241#endif
    239242
    240 #endif
     243#ifdef INCL_OS2KRNL_VM
     244    #include <OS2KVM.h>
     245#endif
     246
     247#endif
  • trunk/src/win32k/include/dev16.h

    r1678 r2799  
    1 /* $Id: dev16.h,v 1.3 1999-11-10 01:45:32 bird Exp $
     1/* $Id: dev16.h,v 1.4 2000-02-15 23:39:19 bird Exp $
    22 * dev16 - 16-bit specific. Should not be used in 32-bit C/C++.
    33 *
     
    113113USHORT NEAR CallGetOTEs32(ULONG addressOTEBuf);
    114114USHORT NEAR CallVerifyProcTab32(void);
     115USHORT NEAR CallElfIOCtl(LIN pRpIOCtl);
     116USHORT NEAR CallWin32kIOCtl(LIN pRpIOCtl);
     117
    115118
    116119/*
  • trunk/src/win32k/include/dev1632.h

    r847 r2799  
    1 /* $Id: dev1632.h,v 1.1 1999-09-06 02:19:57 bird Exp $
     1/* $Id: dev1632.h,v 1.2 2000-02-15 23:39:19 bird Exp $
    22 * dev1632.h - Common header file for 16-bit and 32-bit C
    33 *
     
    3131} RP32INIT;
    3232
     33typedef struct _RP32GENIOCTL
     34{
     35    RPH32       rph;
     36    UCHAR       Category;
     37    UCHAR       Function;
     38    PVOID       ParmPacket;
     39    PVOID       DataPacket;
     40    USHORT      sfn;
     41    USHORT      ParmLen;
     42    USHORT      DataLen;
     43} RP32GENIOCTL, *PRP32GENIOCTL;
     44
     45
    3346#ifdef _OS2Krnl_h_
    3447
     
    3952    OTE             aObjects[MAXKRNLOBJECTS];
    4053} KRNLOBJTABLE, FAR * PKRNLOBJTABLE;
     54
     55#else
     56
     57#define PKRNLOBJTABLE void *
     58
    4159#endif
    4260
  • trunk/src/win32k/include/dev32.h

    r1678 r2799  
    1 /* $Id: dev32.h,v 1.4 1999-11-10 01:45:32 bird Exp $
     1/* $Id: dev32.h,v 1.5 2000-02-15 23:39:19 bird Exp $
    22 *
    33 * dev32 - header file for 32-bit part of the driver.
     
    1919 */
    2020#ifndef _dev1632_h_
    21     #define RP32INIT void
    22     #define PKRNLOBJTABLE void *
     21    #define RP32INIT        void
     22    #define PRP32INIT       void *
     23    #define RP32GENIOCTL    void
     24    #define PRP32GENIOCTL   void *
     25    #define PKRNLOBJTABLE   void *
    2326#endif
     27
    2428
    2529/*
     
    5458USHORT _loadds _Far32 _Pascal GetOTEs32(PKRNLOBJTABLE pOTEBuf);
    5559USHORT _loadds _Far32 _Pascal VerifyProcTab32(void);
     60USHORT _loadds _Far32 _Pascal ElfIOCtl(PRP32GENIOCTL pRpIOCtl);
     61USHORT _loadds _Far32 _Pascal Win32kIOCtl(PRP32GENIOCTL pRpIOCtl);
    5662#endif
    5763#ifdef _OS2Krnl_h_
  • trunk/src/win32k/include/k32.h

    r2796 r2799  
    1 /* $Id: k32.h,v 1.1 2000-02-15 16:26:05 bird Exp $
     1/* $Id: k32.h,v 1.2 2000-02-15 23:39:19 bird Exp $
    22 *
    33 * k32 - definitions.
     
    1212#define _k32_h_
    1313
     14#ifdef __cplusplus
     15extern "C" {
     16#endif
    1417
    1518/*******************************************************************************
    1619*   Exported Functions                                                         *
    1720*******************************************************************************/
    18 APIRET k32AllocMemEx(PPVOID ppb, ULONG cb, ULONG flag);
     21APIRET k32AllocMemEx(PPVOID ppb, ULONG cb, ULONG flag, ULONG ulCS, ULONG ulEIP);
    1922
    2023
     24#ifdef __cplusplus
     25}
    2126#endif
     27#endif
  • trunk/src/win32k/include/win32k.h

    r2796 r2799  
    1 /* $Id: win32k.h,v 1.1 2000-02-15 16:26:06 bird Exp $
     1/* $Id: win32k.h,v 1.2 2000-02-15 23:39:19 bird Exp $
    22 *
    33 * Top level make file for the Win32k library.
     
    2424 * K32 category - these are the functions found in the k32 directory.
    2525 */
    26 #define K32_DOSALLOCMEMEX       0x01
     26#define K32_ALLOCMEMEX          0x01
    2727
    2828
     
    3333
    3434
     35/*******************************************************************************
     36*   Structures and Typedefs                                                    *
     37*******************************************************************************/
     38/*
     39 * K32 category parameter structs
     40 */
     41typedef struct _k32AllocMemEx
     42{
     43    PVOID   pv;                         /* Pointer to allocated memory block */
     44                                        /* On input this holds the suggested */
     45                                        /* location of the block. */
     46    ULONG   cb;                         /* Blocksize (bytes) */
     47    ULONG   flFlags;                    /* Flags (equal to DosAllocMem flags) */
     48    ULONG   ulCS;                       /* Call CS */
     49    ULONG   ulEIP;                      /* Call EIP */
     50    ULONG   rc;                         /* Return code. */
     51} K32ALLOCMEMEX, *PK32ALLOCMEMEX;
     52
     53
     54
    3555
    3656#ifdef INCL_WIN32K_LIB
     
    3858*   External Functions                                                         *
    3959*******************************************************************************/
    40 APIRET APIENTRY  DosAllocMemEx(PPVOID ppb, ULONG cb, ULONG flag);
     60APIRET APIENTRY  DosAllocMemEx(PPVOID ppv, ULONG cb, ULONG flag);
    4161
    4262#endif
Note: See TracChangeset for help on using the changeset viewer.