## Virtual Device Driver Reference for OS/2

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

### VDHMapPages

Select an item:

    Format
    Parameters
    Return Codes
    Purpose
    Glossary

This function maps a linear address region in the V86 address space.

    #include mvdm.h

    PVDHMAPSOURCE    pvdhmsSourceRegion;  /*  Pointer to source region definition */

    PVDHMAPTARGET    pvdhmtTargetRegion;  /*  Target region definition */

    ULONG            flMappingFlag;       /*  Mapping options flag */

    BOOL             rc;

    rc = VDHMapPages(pvdhmsSourceRegion, pvdhmtTargetRegion,

           flMappingFlag);