Ignore:
Timestamp:
Oct 1, 2000, 4:58:21 AM (25 years ago)
Author:
bird
Message:

Implemented tool for generating calltab for kernel imports. (mkcalltab)
Implemented API for accessing memory in another process. (*ProcessReadWrite)
Added kernel imports needed to implemented ProcessReadWrite.
Removed unused kernel imports.

File:
1 edited

Legend:

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

    r4164 r4347  
    1 /* $Id: OS2KTK.h,v 1.2 2000-09-02 21:08:00 bird Exp $
     1/* $Id: OS2KTK.h,v 1.3 2000-10-01 02:58:16 bird Exp $
    22 *
    33 * OS2KTK - OS/2 Kernel Task.
     
    1717#define TK_FUSU_FATAL       0x3         /* Traps the task on failure. */
    1818#define TK_FUSU_NONFATAL    0x0         /* Returns error code to caller on failure. */
     19#define TK_FUSU_USER_SRC    0x10        /* Source buffer is in user memory. (TKSuFuBuff) */
     20#define TK_FUSU_USER_DST    0x20        /* Target buffer is in user memory. (TKSuFuBuff) */
    1921
    2022
     
    102104
    103105
     106/**
     107 * Copy user memory to user memory.
     108 * @returns   OS/2 return code. (NO_ERROR is success)
     109 * @param     pvTarget  Pointer to target (user) data area.
     110 * @param     pvSource  Pointer to source (user) data area.
     111 * @param     cb        Count of bytes to copy.
     112 * @param     fl        Flags.
     113 */
     114extern ULONG KRNLCALL   TKSuFuBuff(PVOID pvTarget, PVOID pvSource, ULONG cb, ULONG fl);
     115
     116
     117#ifdef INCL_OS2KRNL_PTDA
     118/**
     119 * PID to PTDA pointer.
     120 * @returns     OS/2 return code.
     121 * @param       pid     Process Identifier.
     122 * @param       ppPTDA  Pointer to the PTDA-pointer variabel which is to receive
     123 *                      the PTDA pointer on successful return.
     124 */
     125extern ULONG KRNLCALL  TKPidToPTDA(PID pid, PPPTDA ppPTDA);
    104126#endif
     127
     128#endif
Note: See TracChangeset for help on using the changeset viewer.