## Virtual Device Driver Reference for OS/2

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

### VDHGetDirtyPageInfo - Format

This function returns a bit vector for the dirty pages of a specified DOS session for a specified range of pages. The dirty bits for the range are reset.

    #include mvdm.h

    HVDM     VDMHandle;        /*  Handle to the DOS session that owns the object */

    PVOID    StartingAddress;  /*  Address to start the scan */

    ULONG    PageRange;        /*  Range of pages to scan */

    ULONG    rc;

    rc = VDHGetDirtyPageInfo(VDMHandle, StartingAddress,

           PageRange);