## Virtual Device Driver Reference for OS/2

[prev][next][parent][TOC]

### VDHMapPages Parameter - pvdhmsSourceRegion

pvdhmsSourceRegion (PVDHMAPSOURCE) Pointer to VDHMAPSOURCE structure.

VDHMAPSOURCE is the source region definition for VDHMapPages with a data structure as follows:

    typedef struct VDHMapSource_s {

        ULONG   vdhms_laddr;     /* Source linear address of source */

                                 /* memory object.  Source address  */

                                 /* to be mapped.  Defines the start*/

                                 /* of the source region for the    */

                                 /* mapping.  The region is the same*/

                                 /* length as the target region.    */

        ULONG   vdhms_hobj;      /* Memory object handle set by the */

                                 /* service to hold a source handle */

                                 /* for VDHMT_LINEAR mappings.      */

                                 /* See the VDHMT_LINEAR            */

                                 /* description under MappingFlag.  */

    } VDHMAPSOURCE;

    typedef VDHMAPSOURCE *PVDHMAPSOURCE;