DDCMD_CONTROL - Description
This message performs a device-specific command.
pParmIn (PDDCMDCONTROL)
 A
pointer to a DDCMDCONTROL data structure.
 The pParm and ulParmSize fields refer to the CONTROL_PARM
data structure. Values for ulCmd include:
DDCMD_START
 DDCMD_STOP
Stop a device and return current position.
DDCMD_PAUSEPause a device and return current position.
DDCMD_RESUME
 DDCMD_ENABLE_EVENT
 DDCMD_DISABLE_EVENTDisable event detection in the device driver.
DDCMD_PAUSE_TIMEPause time but do not pause stream.
DDCMD_RESUME_TIME
rc (ULONG)
 Error
code indicating success or the type of failure:
NO_ERROR
 ERROR_INVALID_FUNCTION
Illegal function requested.
ERROR_INVALID_REQUESTDevice driver does not support events. (Returned
when ulCmd of DDCMDCONTROL is
set to DDCMD_ENABLE_EVENT.)
ERROR_INVALID_STREAM
 ERROR_INVALID_SEQUENCEInvalid device control command.
ERROR_INSUFF_BUFFERThe device driver does not have buffers to perform
the requested action.
ERROR_STREAM_NOT_STARTED The
stream cannot perform the requested action unless the stream has been started.
ERROR_TOO_MANY_EVENTS The
stream handler attempted to enable too many events.
FAILUREDevice-driver-specific error return code.
[Back: DDCMD_CONTROL Return Value - rc] 
[Next: DDCMD_CONTROL - Remarks]