## Virtual Device Driver Reference for OS/2

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

### VDHInstallIOHook Return Value - rc

rc (BOOL) - returns

Success If the function is successful, it returns a nonzero value.

Failure If the function fails, it returns 0 (zero). VDHGetError should be called to determine the nature of the problem. If IOPortHookEntry is invalid, or if StartingPort or NumPorts are out of range, a system halt occurs.