## Virtual Device Driver Reference for OS/2

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

### VDHDestroySem

Select an item:

    Format
    Parameters
    Return Codes
    Purpose
    Glossary

This function destroys a semaphore previously created with VDHCreateSem. The semaphore must be posted or unowned before calling this service.

    #include mvdm.h

    HVDHSEM    SemHandle;  /*  Semaphore handle to destroy */

    VDHDestroySem(SemHandle);