Ignore:
Timestamp:
Aug 29, 2000, 9:47:04 PM (25 years ago)
Author:
bird
Message:

k32/W32k (lib) IOCtl APIs refshed up and extended.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Grace/src/win32k/include/win32k.h

    r2918 r4112  
    1 /* $Id: win32k.h,v 1.4 2000-02-26 20:21:42 bird Exp $
     1/* $Id: win32k.h,v 1.4.4.1 2000-08-29 19:47:01 bird Exp $
    22 *
    33 * Top level make file for the Win32k library.
     
    2525 */
    2626#define K32_ALLOCMEMEX          0x01
    27 
     27#define K32_QUERYOTES           0x02
    2828
    2929/*
     
    3636*   Structures and Typedefs                                                    *
    3737*******************************************************************************/
     38#pragma pack(1)
     39
     40/*
     41 * Object Table Entry buffer.
     42 */
     43typedef struct _QueryOTE
     44{
     45    ULONG   ote_size;                   /* Object virtual size */
     46    ULONG   ote_base;                   /* Object base virtual address */
     47    ULONG   ote_flags;                  /* Attribute flags */
     48    ULONG   ote_pagemap;                /* Object page map index */
     49    ULONG   ote_mapsize;                /* Num of entries in obj page map */
     50  /*ULONG   ote_reserved;*/
     51    USHORT  ote_sel;                    /* Object Selector */
     52    USHORT  ote_hob;                    /* Object Handle */
     53} QOTE, *PQOTE;
     54
     55typedef struct _QueryOTEBuffer
     56{
     57    ULONG   cOTEs;                      /* Number of entries in aOTE. */
     58    QOTE    aOTE[1];                    /* Array of OTEs. */
     59} QOTEBUFFER, *PQOTEBUFFER;
     60
     61
    3862/*
    3963 * K32 category parameter structs
     
    5175} K32ALLOCMEMEX, *PK32ALLOCMEMEX;
    5276
     77typedef struct _k32QueryOTEs
     78{
     79    HMODULE     hMTE;                   /* Module handle. */
     80    PQOTEBUFFER pQOte;                  /* Pointer to output buffer. */
     81    ULONG       cbQOte;                 /* Size of the buffer pointed to by pQOte  */
     82    ULONG       rc;                     /* Return code. */
     83} K32QUERYOTES, *PK32QUERYOTES;
    5384
    5485
     86#pragma pack()
    5587
    56 #ifdef INCL_WIN32K_LIB
     88#ifndef NO_WIN32K_LIB_FUNCTIONS
    5789/*******************************************************************************
    5890*   External Functions                                                         *
     
    6193APIRET APIENTRY  libWin32kTerm(void);
    6294USHORT APIENTRY  libHelperGetCS(void);
     95BOOL   APIENTRY  libWin32kInstalled(void);
    6396APIRET APIENTRY  DosAllocMemEx(PPVOID ppv, ULONG cb, ULONG flag);
     97APIRET APIENTRY  W32kQueryOTEs(HMODULE hMTE, PQOTEBUFFER pQOte, ULONG cbQOte);
    6498
    6599
Note: See TracChangeset for help on using the changeset viewer.