The
following flags (subcommands) are defined for this command:
DDCMD_CONTROL
This subcommand of VSD_DDCMD performs
a device-specific command. pRequest is a pointer to the DDCMDCONTROL
structure.
DDCMD_DEREG_STREAM
This
subcommand of VSD_DDCMD deregisters a stream instance with the device driver.
pRequest is a pointer to DDCMDDEREGISTER
structure.
DDCMD_READ
This
subcommand of VSD_DDCMD is used by a stream handler to give an empty
buffer to the VSD (for example, during a record operation). When the
buffer has been filled, the VSD is responsible for communicating to the
caller that the buffer has been filled. The VSD should pass a MSG_REPORTINT
structure to the pSHDEntryPoint in DDCMDREGISTER
to inform the caller.
This
subcommand of VSD_DDCMD registers a stream instance with the device driver.
pRequest is a pointer to DDCMDREGISTER
structure.
DDCMD_SETUP
This
subcommand of VSD_DDCMD performs device-specific stream instance setup.
pRequest is a pointer to DDCMDSETUP
structure.
DDCMD_STATUS
This
VSD subcommand requests streaming status from a device. Typically, it is
called to request the current stream time. pRequest is a pointer
to DDCMDSTATUS structure.
DDCMD_WRITE
This VSD subcommand is used by a stream handler
to give a full buffer to the VSD (for example, during a playback
operation). When the buffer has been consumed, the VSD is responsible for
communicating to the caller that the buffer has been used. The VSD should
pass a MSG_REPORTINT structure
to the pSHDEntryPoint in DDCMDREGISTER
to inform the caller.