## Virtual Device Driver Reference for OS/2

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

### VDHFreeBlock - Format

This function releases a memory block previously allocated by VDHAllocBlock . The memory block is returned to the user's memory block pool for reuse.

    #include mvdm.h

    HBLOCK    PoolHandle;   /*  Handle to a memory block pool */

    PVOID     BlockToFree;  /*  Address of the memory block to free */

    VDHFreeBlock(PoolHandle, BlockToFree);