## Virtual Device Driver Reference for OS/2

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

### VDHLockMem Return Value - rc

rc (HLOCK) - returns

Success If the function is successful, it returns a lock handle. This is a global handle that can be used in any task context.

Failure If the function fails, it returns 0. If the function fails, call VDHGetError to determine the nature of the problem. If NumBytes equals 0, a system halt occurs.