## Virtual Device Driver Reference for OS/2

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

### VDHCheckPagePerm - Format

This function checks Ring 3 page permissions for a range of pages. This service fails if a Ring 3 client faults on any of the pages that have been checked.

    #include mvdm.h

    ULONG    BasePage;  /*  Base virtual page number */

    PVOID    Reserved;  /*  Reserved; must be set to zero */

    ULONG    NumPages;  /*  Number of pages to verify */

    ULONG    Flag;      /*  Flag */

    BOOL     rc;

    rc = VDHCheckPagePerm(BasePage, Reserved,

           NumPages, Flag);