The GetDataFlow method indicates whether the audio endpoint device is a rendering device or a capture device.
- pDataFlow [out]
Pointer to a variable into which the method writes the data-flow direction of the endpoint device. The direction is indicated by one of the following EDataFlow enumeration constants:
The data-flow direction for a rendering device is eRender. The data-flow direction for a capture device is eCapture.
If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.
Parameter ppDataFlow is NULL.
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|