## Virtual Device Driver Reference for OS/2

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

### VDHAllocBlock Return Value - rc

rc (PVOID) - returns

Success If the function is successful, it returns the address of the allocated memory block.

Failure If the function fails, it returns 0. VDHGetError should be called to determine the nature of the problem. Note that passing an invalid memory block handle causes a system halt to occur.