## MMPM/2 Device Driver Reference

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

### VSDEntry - Syntax

This entry point enables communication between vendor-specific drivers ( VSDs) and an application such as the user-level audio stream handler or amplifier mixer. For audio VSDs, be sure to define INCL_AUDIO_VSD before including the VSDCMDS.H header file.

    #define INCL_AUDIO_VSD

    #include <vsdcmds.h>

    #include <os2mixer.h>

    HVSD     hvsd;      /*  Handle to VSD instance. */

    ULONG    ulFunc;    /*  Function code. */

    ULONG    ulFlags;   /*  Flags for driver. */

    PVOID    pRequest;  /*  Request parameter block value. */

    ULONG    rc;        /*  Return codes. */

    rc = VSDEntry(hvsd, ulFunc, ulFlags, pRequest);