## Virtual Device Driver Reference for OS/2

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

### VDHQueryFreePages

Select an item:

    Format
    Parameters
    Return Codes
    Purpose
    Glossary

This function returns the total amount of free virtual memory in bytes. This is the amount of memory that could be allocated successfully.

    #include mvdm.h

    VOID     ;

    ULONG    rc;

    rc = VDHQueryFreePages();