Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetDataFlow
Collapse the table of content
Expand the table of content

IMMEndpoint::GetDataFlow method

The GetDataFlow method indicates whether the audio endpoint device is a rendering device or a capture device.

Syntax


HRESULT GetDataFlow(
  [out] EDataFlow *pDataFlow
);

Parameters

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:

eRender

eCapture

The data-flow direction for a rendering device is eRender. The data-flow direction for a capture device is eCapture.

Return value

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.

Return codeDescription
E_POINTER

Parameter ppDataFlow is NULL.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mmdeviceapi.h

See also

IMMEndpoint Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft