## Virtual Device Driver Reference for OS/2

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

### VDHHandleFromSGID - Parameters

ScreenGroupID (SGID) Screen Group ID.

rc (HVDM) - returns

Success If the function is successful, it returns a handle to the DOS session that was given the Screen Group ID.

Failure If the function fails, it returns 0 (zero). VDHGetError should be called to determine the nature of the problem.