## MMPM/2 Device Driver Reference

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

### DDCMD_DEREG_STREAM

Select an item:

    Syntax
    Returns
    Remarks
    Example Code
    Glossary

This message removes a stream instance from a device driver. The stream handler directs the device driver to deregister the stream-destroy the stream and all associated data.

pParmIn (PDDCMDDEREGISTER) A pointer to a DDCMDDEREGISTER 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.

FAILURE Device-driver-specific error.