Changeset 6287 for trunk/src


Ignore:
Timestamp:
Jul 10, 2001, 7:26:00 AM (24 years ago)
Author:
bird
Message:

New Kernel APIs.

File:
1 edited

Legend:

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

    r5183 r6287  
    1 /* $Id: OS2KVM.h,v 1.11 2001-02-19 05:53:53 bird Exp $
     1/* $Id: OS2KVM.h,v 1.12 2001-07-10 05:26:00 bird Exp $
    22 *
    33 * OS/2 kernel VM functions.
     
    165165 */
    166166typedef USHORT  VMHOB;
     167typedef VMHOB * PVMHOB;
     168
    167169
    168170/*
    169171 * Handle to Arena Record.
    170172 */
    171 typedef VMHOB  VMHAR;
     173typedef VMHOB   VMHAR;
     174typedef VMHOB * PVMHAR;
    172175
    173176
     
    188191typedef PVOID   PVMAR;
    189192typedef PVOID   PVMBM;
    190 typedef PVOID   PVMHAR;
    191193typedef PVOID   PVMAT;
    192194
     
    301303
    302304
     305/**
     306 * Creates a pseudo handle for a given memory address.
     307 * @returns OS/2 return code. NO_ERROR on success.
     308 * @param   pvData      Pointer to the data which the handle should represent.
     309 * @param   hobOwner    Owner of the pseudo handle.
     310 * @param   phob        Pointer to object handle variable. Upon successful return
     311 *                      this will hold the handle value of the crated pseudo handle.
     312 * @remark  Used for many types of handles within the kernel.
     313 *          Among them are the loader HMTEs. The loader uses usOwner = 0xffa6 (ldrmte).
     314 */
     315APIRET KRNLCALL VMCreatePseudoHandle(
     316    PVOID   pvData,
     317    VMHOB   usOwner,
     318    PVMHOB  phob);
     319
     320
     321/**
     322 * This call frees a pseudo handle pointer previously allocated by
     323 * VMCreatePseudoHandle.
     324 * @returns OS/2 return code.
     325 * @param   hob     Handle to be freed.
     326 */
     327APIRET KRNLCALL VMFreePseudoHandle(
     328    VMHOB   hob);
     329
     330
    303331#endif
Note: See TracChangeset for help on using the changeset viewer.