## Virtual Device Driver Reference for OS/2

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

### VDHQuerySem

Select an item:

    Format
    Parameters
    Return Codes
    Purpose
    Glossary

This function queries the state of an event or mutex semaphore.

    #include mvdm.h

    HVDHSEM         SemHandle;    /*  Handle to an event or mutex semaphore */

    PVDHSEMSTATE    SemStatePtr;  /*  Pointer to a VDHSEMSTATE data area */

    VDHQuerySem(SemHandle, SemStatePtr);