## MMPM/2 Device Driver Reference

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

### DDCMD_READ - Syntax

This message performs a read from the device into a buffer.

pParmIn (PDDCMDREADWRITE) A pointer to a DDCMDREADWRITE 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_BLOCK Invalid address passed in parameter block.

FAILURE Device-driver-specific error return code.