## MMPM/2 Device Driver Reference

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

### DDCMD_SETUP

Select an item:

    Syntax
    Returns
    Remarks
    Example Code
    Glossary

This message performs device-specific stream instance setup.

pParmIn (PDDCMDSETUP) A pointer to a DDCMDSETUP data structure. The pSetupParm and ulSetupParmSize fields refer to the SETUP_PARM data structure.

rc (ULONG) Error code indicating success or the type of failure:

NO_ERROR Success.

ERROR_INVALID_FUNCTION Illegal function requested.

ERROR_INVALID_STREAM Invalid stream handle.

ERROR_INVALID_REQUEST Invalid setup request.

ERROR_STREAM_NOT_STOP The stream cannot perform the requested function unless the stream has been stopped.

FAILURE Device-driver-specific error return code.