## Virtual Device Driver Reference for OS/2

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

### VDHCreateSem Return Value - rc

rc (BOOL) - returns

Success If the function is successful, it returns a nonzero value and places a handle to the semaphore in SemHandlePointer.

Failure If the function fails, it returns 0. VDHGetError should be called to determine the nature of the problem. An invalid semaphore type causes a system halt to occur.