Changeset 5200 for trunk/include


Ignore:
Timestamp:
Feb 20, 2001, 5:56:28 AM (25 years ago)
Author:
bird
Message:

Major IOCtl parameter change!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win32k.h

    r5178 r5200  
    1 /* $Id: win32k.h,v 1.7 2001-02-19 05:45:12 bird Exp $
     1/* $Id: win32k.h,v 1.8 2001-02-20 04:56:28 bird Exp $
    22 *
    33 * Top level make file for the Win32k library.
     
    3131#define K32_HANDLESYSTEMEVENT   0x06
    3232#define K32_QUERYSYSTEMMEMINFO  0x07
     33#define K32_LASTIOCTLFUNCTION   K32_QUERYSYSTEMMEMINFO
     34
    3335
    3436/*
     
    258260/*
    259261 * K32 category parameter structs
     262 *
     263 * Note. The ULONG rc should allways be the first datamember!
    260264 */
    261265typedef struct _k32AllocMemEx
    262266{
    263     PVOID   pv;                         /* Pointer to allocated memory block */
    264                                         /* On input this holds the suggested */
    265                                         /* location of the block. */
    266     ULONG   cb;                         /* Blocksize (bytes) */
    267     ULONG   flFlags;                    /* Flags (equal to DosAllocMem flags) */
    268     ULONG   ulCS;                       /* Call CS */
    269     ULONG   ulEIP;                      /* Call EIP */
    270     ULONG   rc;                         /* Return code. */
     267    ULONG       rc;                     /* Return code. */
     268    PPVOID      ppv;                    /* Pointer to pointer to the allocated memory block */
     269                                        /* On input it (*ppv) may hold the suggested  location of the block. */
     270    ULONG       cb;                     /* Blocksize (bytes) */
     271    ULONG       flFlags;                /* Flags (equal to DosAllocMem flags) */
     272    ULONG       ulCS;                   /* Call CS */
     273    ULONG       ulEIP;                  /* Call EIP */
    271274} K32ALLOCMEMEX, *PK32ALLOCMEMEX;
    272275
    273276typedef struct _k32QueryOTEs
    274277{
     278    ULONG       rc;                     /* Return code. */
    275279    HMODULE     hMTE;                   /* Module handle. */
    276280    PQOTEBUFFER pQOte;                  /* Pointer to output buffer. */
    277281    ULONG       cbQOte;                 /* Size of the buffer pointed to by pQOte  */
    278     ULONG       rc;                     /* Return code. */
    279282} K32QUERYOTES, *PK32QUERYOTES;
    280283
    281284typedef struct _k32QueryOptionsStatus
    282285{
    283     PK32OPTIONS     pOptions;           /* Pointer to option struct. (NULL allowed) */
    284     PK32STATUS      pStatus;            /* Pointer to status struct. (NULL allowed) */
    285     ULONG           rc;                 /* Return code. */
     286    ULONG       rc;                     /* Return code. */
     287    PK32OPTIONS pOptions;               /* Pointer to option struct. (NULL allowed) */
     288    PK32STATUS  pStatus;                /* Pointer to status struct. (NULL allowed) */
    286289} K32QUERYOPTIONSSTATUS, *PK32QUERYOPTIONSSTATUS;
    287290
    288291typedef struct _k32SetOptions
    289292{
    290     PK32OPTIONS     pOptions;           /* Pointer to option struct. (NULL allowed) */
    291     ULONG           rc;                 /* Return code. */
     293    ULONG        rc;                    /* Return code. */
     294    PK32OPTIONS  pOptions;              /* Pointer to option struct. (NULL allowed) */
    292295} K32SETOPTIONS, *PK32SETOPTIONS;
    293296
    294297typedef struct _k32ProcessReadWrite
    295298{
     299    ULONG       rc;                     /* Return code. */
    296300    PID         pid;                    /* Process ID of the process to access memory in. */
    297301    ULONG       cb;                     /* Number of bytes to read or write. */
     
    300304    BOOL        fRead;                  /* TRUE:   pvSource is within pid while pvTarget is ours. */
    301305                                        /* FALSE:  pvTarget is within pid while pvSource is ours. */
    302     ULONG       rc;                     /* Return code. */
    303306} K32PROCESSREADWRITE, *PK32PROCESSREADWRITE;
    304307
    305308typedef struct _k32HandleSystemEvent
    306309{
     310    ULONG       rc;                     /* Return code. */
    307311    ULONG       ulEvent;                /* Event identifier. One of the K32_SYSEVENT_ defines. */
    308312    HEV         hev;                    /* Handle of shared event semaphore which should be */
     
    311315                                        /* TRUE:  Take control of the event. */
    312316                                        /* FALSE: Give control back to the OS of this event. (hev must match the current handle!) */
    313     ULONG       rc;                     /* Return code. */
    314317} K32HANDLESYSTEMEVENT, *PK32HANDLESYSTEMEVENT;
    315318
    316319typedef struct _k32QuerySystemMemInfo
    317320{
     321    APIRET      rc;                     /* Return code. */
    318322    PK32SYSTEMMEMINFO   pMemInfo;       /* Pointer to system memory info structure with cb set. */
    319323                                        /* The other members will be filled on successful return. */
    320     APIRET      rc;                     /* Return code. */
    321324} K32QUERYSYSTEMMEMINFO, *PK32QUERYSYSTEMMEMINFO;
    322325
Note: See TracChangeset for help on using the changeset viewer.